Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

X Windows/GUI Apps through SSH


  • Please log in to reply
3 replies to this topic

#1 Prog

Prog

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 95 posts

Posted 02 January 2009 - 05:53 PM

I learned this and thought I would share. First check the /etc/ssh/ssh_config on the server you want to use X Applications/GUI - Look for this line:

# ForwardX11 no 

Uncomment and set to yes

ForwardX11 yes

Disconnected from SSH. Now when you want to connect via SSH and be able to run X application connect using this line:

ssh -X username@xxx.xxx.xxx.xxx

Once you are connected you should be able to run any X application and it will present the GUI locally.
  • 0

#2 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 06 January 2009 - 07:57 AM

I've used this before. There is also some software that we purchased here at work (I believe it was around $1000). I can't think of the name of it but it was horrible and did this same thing.
  • 0

#3 Tor

Tor

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 448 posts

Posted 09 January 2009 - 06:49 AM

Neat! I've heard of a Windows Software that does this as well which sets up an X server on your windows machine and allows you to connect Linux + Windows GUIs. HummingBird, but I think it is costly.
  • 0

#4 Grub

Grub

    CC Resident

  • Just Joined
  • PipPipPipPip
  • 55 posts

Posted 15 January 2009 - 04:05 PM

What does the -X mean in the SSH line?
  • 0




Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download