On 14Feb2007 00:58, Chad Martin <[EMAIL PROTECTED]> wrote:
| heliovas wrote:
| > Is this possible to do it?I have a remote server which i can connect
| > via ssh. with x tunnelling enabled how do i bring up the gnome desktop
| > on my computer?
| 
| I may be wrong, but my understanding is that you can't.  You can either
| tunnel specific X applications to your computer, or you can connect to
| an X server with X itself, which would allow you to bring up the GNOME
| desktop.  AFAIK, you can't get a desktop with SSH tunneling.

Sure you can, in a few different ways.

I have a script called "x@" that starts my X server with a .xsession
which "ssh -Y"s to a remote host and runs the session there, eg a
gnome-session. The display will be at my end, the apps and all at the
far end. Works just fine.

"x@" is here:
  http://www.cskk.ezoshosting.com/cs/css/bin/x@

It just sets $REMOTE_XSESSION_HOST to the desired host and starts xinit,
which runs my .xsession. That says:

  if [ -n "$REMOTE_XSESSION_HOST" ]
  then
    remote_xsession "$REMOTE_XSESSION_HOST" &
  else
    ... my normal local X session clients ...

And remote_xsession is here:
  http://www.cskk.ezoshosting.com/cs/css/bin/remote_xsession

which sshes to the far end, sets a bunch of variables, then runs my X11
session there.

Cheers,
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

What if there were no hypothetical situations?  - Jeff Sauder


To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to