Re: root user and any GUI

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: Main PLUG discussion list
Subject: Re: root user and any GUI
> > "sudo xterm" worked for my on Ubuntu.
>
>
> Works but all it does is open a new xterm as root.


It was just an example. And it appears it works.

If that works and is not what you want, I guess I misunderstand from all
these emails.

If "xterm" will start as root, other X clients should too. If they don't
provide the exact error message and other details -- and maybe we can
help.

> Usually it doesn't on other systems I use.
> >
> > Also try as root:
> >
> > export XAUTHORITY=/home/yourloginuser/.Xauthority
>
>
> Didn't help but I don't know what you meant by "set HOME again".


I am not sure why that doesn't work for you. I guess you and I are doing
something different. Or maybe your .Xauthority does not exist? Or maybe
you are on a different system (running clients on different system than
the server itself) -- and you could use ssh -Y or xauth to work around
that.

Anyways, "set HOME again" means if you want your HOME to be /root then you
may need to export that.

> And then you can open X clients as root. (I already have that as my normal
> > user account on Ubuntu and sudo doesn't lose this environment variable.)
> > You may also need to set HOME again.

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss