Re: openmosixview+ssh and /tmp/nodes.tmp

[email protected] (Matthias Rechenburg) Mon, 23 Jun 2003 13:35:06 +0200
Newsgroups gmane.linux.cluster.openmosix.mosixview
Message-ID <[email protected]>
Hey Javier,

On Montag 23 Juni 2003 12:14, Jose Javier Forment Millet wrote:
> > > Also, I cannot run openmosixview as root, since I get the following
> > > error:
> > >
> > > -------------------------------------------
> > > Xlib: connection to ":0:0" refused by server
> > > Xlib: No protocol specified
> >
> > here howto fix it.
> > on your workstation :
> >   xhost +
> > on the remote workstation:
> >   export DISPLAY=yourworkstationname:0.0
> > then i will work.
>
> I've found that this problem only arises when I log into the graphical
> environment (KDM) as a normal user and then do "su" to run openmosixview as
> root (since in this way the file /root/.Xauthority is not set up). I have
> no problem when I log into KDM as root (what does set up the
> /root/.Xauthority file) or when I log into KDM as normal user, execute
> "xhost +" (so getting access control disabled and allowing clients to
> connect from any host), and then do "su" to run openmosixview as superuser.
> (I can also copy the ~/.Xauthority file of the normal user to
> /root/.Xauthority, but it doesn't seem very elegant to me) So my intention
> is to execute "xhost +" from the ~/.bashrc of my normal user. Can you see
> any problem (maybe of security) on it?

will work ok
i would just be carefull if "someone" is sending too many e.g. "xeyes" to
your X-window which allows every incoming conncetion then
(e.g. while (true); do export DISPLAY=yourworkstation:0.0; xeyes&; done )

..... i do the same here (using xhost +), and
 as long as your a in a trusted network 
(in which you should be when using openMosix or any other HPC stuff)
it is no problem.

>
> Thanks a lot again,

thank you for your feedback. Nice to hear that you 
found out and got it running now :)

>
> Javier.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Mosixview-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mosixview-user

have a nice day,

Matt
-- 
E-mail	:  [email protected]
www	: http://www.openmosixview.com
an openMosix-cluster management GUI

A physicist is an atom's way of knowing about atoms.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php