Re: display export??
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 14 Jul 2000, Ragga Muffin wrote:
> > do I need to export DISPLAY localhost? Im not sure of the syntax...am I on the right track?
> Yes and no. What yuo need to do is temporarily permit x-connections from
> your localhost if you want to start an x program with a different
> user than the current session (in this case root)
> Simply execute 'xhost +localhost' before doing a su.
I think that doing xhost local:root is better. There are 2 reasons for
1. You're specifying a user name, which gives added security if you've
got a multi-user system.
2. You're specifying a local connection, not a connection that uses a
network interface. The X server connections with use Unix sockets, not
TCP sockets. This gives you less overhead since you don't have to send
all your data through a TCP stack.
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
-----END PGP SIGNATURE-----