RE: X problems as root after su

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx 
> [mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx?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@xxxxxxxxxxxxxxxxx
(610) 964-5154



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux