LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-24-2006, 11:43 PM   #1
tkt
Member
 
Registered: Apr 2005
Posts: 37

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


Hi,

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.

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

Rep: Reputation: 271Reputation: 271Reputation: 271
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, 07:39 AM   #3
easwar14
LQ Newbie
 
Registered: Jul 2005
Location: India
Distribution: Fedora Core 4
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
Try this also

http://www.linuxdevcenter.com/pub/a/...09/freenx.html
 
Old 05-25-2006, 08:34 AM   #4
lotusjps46
Member
 
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:

192.168.123.002:1

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.

C
 
  


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


All times are GMT -5. The time now is 12:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration