Re: root user and any GUI

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Dazed_75
Date:  
To: Main PLUG discussion list
Subject: Re: root user and any GUI
On 11/28/06, JT Moree <> wrote:
>
>
> > "xhost +" removes all X auth problems, except MIT cookie items I
> >     believe.  Others may be able to elaborate on that.

> >
> >
> > That removes access control for all hosts but apparently does not
> > provide what root would need to use the tool. root user still gets the
> > cannot open display message.
>
> Then something is really weird because xhost + should allow root to run
> gui apps. Give me the things you are typing exactly. It should be
> something like this
>
> xhost +
> sudo su
> xeyes



Clarity at last. This does work. In fact it also works if I use "su"
instead of "sudo su". The only difference being whether I enter my user
password or root's password. What does NOT work is using "su -". Using the
- option is what I have been doing and reporting and that prevents passing
all or some of the current environment as it MEANS to use the environment of
the target user as if they has logged in directly. I don't fully understand
all the differences but some of them as affect this issue are now more
clear.

And what tool are you running that is not working?


For the nth time, it is not a particular tool, but rather a quest to
understand things and an objection to an apparent confinement of my freedom
to do as I will on my own systems. There may remain a couple of issues here
but they remain to be discovered/described.

Thank you everyone for all the help!

- --
> JT Morée
> PC Xperience, Inc.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their support.
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>




--
Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind. - Dr. Seuss
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss