LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2005, 01:17 PM   #1
SirSlappy
Member
 
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 153

Rep: Reputation: 30
X11 forwarding over SSH


I am wondering if there is a way that I can send myself an X prompt over SSH from my house to my work computer.

i.e. I use linux at work. I want to be able to ssh to my home computer, make it send me an Xshell over the current SSH connection to my computer at work with "startx -display xx.xx.xx.xx:0:0 .

I have looked into SSH tunneling and Xforwarding, but I'm not sure this will let me bypass my work's firewall. I can't just send it to the IP of my work because obviously the router won't forward it.

Please advise.
 
Old 10-18-2005, 02:37 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
You can use X forwarding by specifying a flag in the ssh command: "ssh -Y ..." or "ssh -X ...". All traffic is forwarded through the SSH connection, so if you can use SSH now then you can use X forwarding. X forwarding will allow you to start individual X apps from the prompt, but not the whole desktop environment. Also X forwarding is somewhat slow over the Internet.

If you want to get a remote desktop type of thing, you can use VNC. Most Linux distributions come with RealVNC and/or TightVNC, etc. Set up the VNC server on your home computer, and use a VNC client to connect to it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH and X11 driving me up a wall, not forwarding... cynical Linux - Software 3 11-22-2005 10:56 PM
ssh with putty and x11 forwarding provkitir Debian 4 06-10-2005 10:58 PM
X11 Forwarding over SSH all sorts of problems lucastic Linux - Networking 10 08-31-2004 09:34 PM
Problems with ssh and X11 forwarding Dabria Linux - General 5 02-13-2004 11:28 AM
ssh: x11 forwarding problems Halz Linux - Software 1 06-25-2002 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration