Autor: Rick Moen Data: Dla: dng Temat: Re: [DNG] New behaviour under Devuan.
Quoting Renaud (Ron) OLGIATI (renaud@???):
> 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 user@???', 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.