Linux Remote Desktop

By dani_17
Jun 16, 2003
Topic Status:
Not open for further replies.
  1. Hi all!!!

    I'm very used to control another machine here throught the windows remote desktop. Now I installed another computer and installed redhat linux in it. I managed to get it up and running and I was able to configure the samba server with some shares so I can copy stuff to the linux box from my M$ computers. Now I want to leave the linux box withou monitor and only control it throu a remote desktop.

    I managed to connect to the linux box through VNC, but I found 2 problems I can't get arround:

    - I don't know how to run the gui (gnome) inside the vnc client

    - I don't know how to run the vnc server automatically. So i first have to login manually, and then run the vncserver. What I want is to remotely connect the the linux box without login in manually in it.

    I hope I can get some help, i didn't sleep because of this, al night trying :)
  2. Phantasm66

    Phantasm66 Newcomer, in training Posts: 6,504

    if you want to connect to a windows machine through linux, use the remote desktop client, rdesktop, which is available for linux to connect to XP machines and windows 2000 servers running terminal services.

    to do it the other way round (i.e connect to linux from windows) use an ssh client to connect to the linux box, then export the display using this command:

    export DISPLAY=192.168.0.1:0

    where 192.168.0.1 is your own window's machine's IP. You will need to be running an X-Windows emulator on the windows box such as X-Vision. That way, you will be able to mix programs running on the windows box and programs running on the linux box on your windows desktop, and copy and paste between the two, etc...
  3. Nodsu

    Nodsu Newcomer, in training Posts: 9,431

    If you want domething to start in your VNC server, you must specify it in the vncserver configuration (~/.vnc/xstartup). I imagine just a 'gdm' command will get you a GNOME login screen.

    You will need to put the vncserver command in a startup file of your choice.
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.