X problems as root after su
Smith, Albert
Albert.Smith at genexservices.com
Tue Oct 4 18:24:39 UTC 2005
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Sherrett
> O. Walker
> Sent: Tuesday, October 04, 2005 1:49 PM
> To: General Red Hat Linux discussion list
> Subject: X problems as root after su
>
> Hello,
>
> I use ssh from cygwin on my laptop to login to one of many
> ES3 boxes and sometimes use su - (maybe this is the big
> problem). When I try to use an application that uses X (is
> that the right phrase? I'm not so familiar with X), I get
> this error message:
>
> X11 connection rejected because of wrong authentication.
> Connection lost to X server `localhost:11.0'
>
> Anyone have any ideas how I can evade this setting?
>
>
> SOW
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
You need to set your display since you changed your user and you need to
have an X display application running on your laptop (Reflection X or
Exceed to name a couple).
As the new user:
export DISPLAY=ip or hostname of your laptop:0.0
Then launch your X application
Albert Smith
Sr. Unix Systems Administrator
HPCSA, RHCT
Genex Services
440 E. Swedesford Rd.
Wayne, PA 19087
albert.smith at genexservices.com
(610) 964-5154
More information about the redhat-list
mailing list