Re: login as root to GUI
On Fri, May 20, 2011 at 11:49:12AM +0200, Erwan David wrote:
> NOT xhots + !!!
> If you have to widen, just do xhost +local:
> First command opens to the whole internet, second one only to connnections from localhost.
There are better methods than even xhost +local -- if you have a local ssh server and allow root logins,
ssh -X root@localhost
Or, you can give your root user access to your X authority
# xauth merge ~user/.Xauthority
(with gdm3 you may need to inspect your XAUTHORITY variable to see
where it lives, e.g. /var/run/gdm3/auth-for-user-XXXXXX/database)
Of course the aformentioned gksu and gksudo try to be as safe as possible.