Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-24-2006, 10:43 PM   #1
Registered: Apr 2005
Posts: 37

Rep: Reputation: 15
How to bring up gnome GUI for remote pc


I managed to ssh to a remote pc in my network, but am wondering if it is possible to bring up the gnome GUI for that remote pc from the ssh.

Old 05-24-2006, 10:50 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
I believe you can, but you need an x server on the local machine (on Windows that's something like Cygwin or xwin32). Look for "tunnel x over ssh". Alternatively you can look into "tunnel vnc over ssh", which will give you a gui using tightvnc client on Windows.
Old 05-25-2006, 06:39 AM   #3
LQ Newbie
Registered: Jul 2005
Location: India
Distribution: Fedora Core 4
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
Try this also
Old 05-25-2006, 07:34 AM   #4
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
Yes, this is relatively easy to do; I do it daily. I am assuming that you are connecting a MS Windows machine to view a Linux box. You do not need Cygwin or xwin32 this way.

ssh into the Linux box from the MS Windows box, and issue the command "vncserver". If vnc is installed it will give you some information about screens. If not, go get vnc and install it on the Linux box.

On the MS Windows machine, go get TightVNC for MS Windows (google it, easy to find). All you need is the vncviewer.exe file. Download it, and click on it. In the window that opens, put the IP address of the Linux box followed by ":1" like this:

It might ask for a password. It might ask you to make a new password. Do whatever it asks.

It should open a window that contains some kind of window manager from the Linux box. If there is just a single window in there it is probably TWM, the default window manager for Linux. Type the name of a program in there (like konqueror) and see what happens. Play with it for a while.

When you are done, log out of the window, and go back to your ssh session and do:

vncserver -kill :1

That kills the server. There are procedures to make Gnome, KDE, or any other window manager open this way. Look around or come back here

Good luck.



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
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 03:17 PM
KDE gui vs. Gnome GUI Curt6000 Linux - Newbie 11 11-10-2004 01:37 PM
GUI remote control rwalkerphl Linux - Newbie 6 08-24-2004 09:40 PM
My Redhat 8.0 server will not bring up the gui arlene Linux - Newbie 2 04-06-2004 05:11 PM
startx does not bring up KDE gui slackerboy Slackware 5 07-15-2002 03:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:03 PM.

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