X11 over SSH with Sudo (was: Re: The history of the name 'Root')
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > X11 over SSH with Sudo (was: Re: The history of the name 'Root')




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    X11 over SSH with Sudo (was: Re: The history of the name 'Root')  
Dave Hinz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 10:56 PM

On 21 Dec 2004 21:53:53 GMT, jpd <read_the_sig@do.not.spam.it.invalid> wrote:
> Begin  <32rf3vF3mphn9U3@individual.net>
> On 2004-12-21, Dave Hinz <DaveHinz@spamcop.net> wrote: 
>
> What did you do? Add another X forwarding tunnel? ;-)  Hmm, come to
> think of it, something with vnc and xvfb or so would do the trick.

Connect via SSH to the remote server, as yourself.  Have it
run a script which takes a command-line argument of who you
are (or, I suppose, could just ask your tty who you are).  Set up
the xauth stuff accordingly, so you can own the DISPLAY session.
Start the app set to the display, with sudo.  Root will run it,
but it's displayed back to your user's X session.

Takes about 3 seconds for all of this to start up.

> Next step: launch icbms at manufacturer for requiring X to install stuff
> on a server.

That would be IBM/Tivoli.  I have a list and they're not near the top of
it.

Dave Hinz








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register