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

"Jose Javier Forment Millet" <[email protected]> Mon, 23 Jun 2003 12:14:02 +0200
Newsgroups gmane.linux.cluster.openmosix.mosixview
Organization Universidad Politecnica de Valencia
Message-ID <[email protected]>
> > 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
>=20
> here howto fix it.
> on your workstation :
>   xhost +
> on the remote workstation:
>   export DISPLAY=3Dyourworkstationname: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?

Thanks a lot again,

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