Quoting Renaud (Ron) OLGIATI (ren...@olgiati-in-paraguay.org):

> Anything against having `xhost +` in ~/.bashrc ?

Local security, disabling of.

One different method:

$ ssh -Y root@localhost
# gparted &
#

The '-Y' option enables X11 forwarding.  (This of course requires sshd.)

You can probably justify 'xhost +' if this is one of those
I'm-the-only-user machines.  Thank Ghu, remote network access to the X
server is no longer enabled by default on Linux hosts.  (The right way
to do remote X11, IMO, is via 'ssh -Y u...@example.com', thereby
forwarding X11 across the authenticated ssh tunnel.)

One can argue that you should use 'ssh -Y' even locally so you get out
of the habit of using 'xhost +'.  I won't argue that, but will just put
it out there.

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to