LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-14-2003, 07:43 PM   #1
fgeter
LQ Newbie
 
Registered: Jan 2003
Posts: 6

Rep: Reputation: 0
X display through SSH


I have have been succesfull in getting an X display (not just and X app) to display remotely. I can get an X app to tunnel through SSH but I can't get the X display/desktop to tunnel through SSH. Anyone know how to do this?
 
Old 01-14-2003, 08:52 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I use vnc for doing that
 
Old 01-15-2003, 01:53 AM   #3
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
Are you attempting to display to another UNIX machine, or to a
windows machine? (it doesn't matter too much, if you have a
way to start an X server on the machine you are sitting at, you
can do it).

On a linux box, you want to start an X server (just the server, not
a window manager) on the client machine (the machine FROM
which you will be sshing). To do this, you can normally just run:
Code:
xinit
This should start up an xserver with just an xterm running, and an
ugly grey background. Now, with the xterm you ssh into your
server and then run the window manager program (not an X
server, just the window manager). This will start up the WM on
your client machine via an SSH tunneled X.
The theory is the same for an X server running on another OS:
start a raw X server, connect via ssh to the server, start your
window manager.
As far as I know, you can't do this from the linux console
because ssh sees that there is no X running and so doesn't
open a tunnel.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display welcome message in ssh minil Programming 1 07-08-2005 01:22 AM
ssh display issues dsheppa4 Linux - Networking 1 11-24-2004 12:55 PM
DISPLAY variables on X with SSH darklogik_org Slackware 15 03-29-2004 01:06 PM
ssh display problem moodles Slackware 4 07-19-2003 10:53 AM
Getting SSH to display mail on Login nrmx Linux - Software 0 03-26-2003 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:45 PM.

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