[SunHELP] GUI interface between unix servers

Juan Urista jurista at pacbell.net
Sat Aug 27 11:13:47 CDT 2005


velociraptor wrote:

>On 8/26/05, Phil Stracchino <phil.stracchino at speakeasy.net> wrote:
>  
>
>>Sandwich Maker wrote:
>>    
>>
>>>" From: "Grindell, Joan M." <GrindellJ at SEC.GOV>
>>>"     I am logging onto one of our unix servers from a blade. I get an
>>>" 'xterm'.  From the xterm I'd like to bring up gui sessions (like
>>>      
>>>
>admintool).
>  
>
>>>" Does anyone know how I need setup my blade to do this.  Are there any
>>>" howto's on this?
>>>
>>>i assume you're using some sort of xserver in the blade.  is $DISPLAY
>>>set properly in the xterm?  if it is, anything you launch will come up
>>>properly.
>>>      
>>>
>>And in fact, if you're connecting to the remote machine via ssh, ssh
>>will even take care of DISPLAY for you (provided, of course, that X
>>forwarding is enabled).  You shouldn't have to do anything in that case;
>>it should Just Work.
>>    
>>
>
>But if you 'su' to root on the remote host your DISPLAY variable will
>go bye-bye.  Use 'sudo admintool' if you have sudo set up, or note
>your DISPLAY before su'ing to root.
>
>(Assuming admintool requires that -- I don't use it myself.)
>
>=Nadine=
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
>
>  
>
You can still su to root - all you need to do is "xauth list" to reveal 
the localhost display and then when you su to root "xauth add" that 
cookie to the root user.  Then you can tunnel the xdisplay from root

Juan



More information about the SunHELP mailing list