LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to bring up gnome GUI for remote pc (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-bring-up-gnome-gui-for-remote-pc-448294/)

tkt 05-24-2006 10:43 PM

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.

pljvaldez 05-24-2006 10:50 PM

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.

easwar14 05-25-2006 06:39 AM

Try this also

http://www.linuxdevcenter.com/pub/a/...09/freenx.html

lotusjps46 05-25-2006 07:34 AM

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


All times are GMT -5. The time now is 06:58 AM.