Remote Login to Linux from Windows (Non-VNC) 6

We can actually login to a *nix based system running X server remotely from Windows XP/Vista based machines. Although there are other ways to achieve remote login using Putty for a SSH login and file transfer over SSH using WinSCP. This particular method allows you to access the entire desktop as a independent session unlike VNC where actually you are viewing a already running X session.

Two things are required for this.

First, the *nix machine should be enabled with XDMCP protocol. Most distributions disable this with their default installation. This can be enabled if you have root or sudo access with simple steps. For eg:- for Gnome with Ubuntu, this can be achieved with System -> Administration -> Login Window. Go to the Remote tab and select Same as Local also go to the Security tab and uncheck Deny TCP connections to Xserver.
Reboot X and Thats it!

Second, In the Windows system download and install Xming. Its a free Xserver software for Windows. The installation is pretty simple. After installation launch Xlaunch from the menu.
Select One Window or Full Screen and provide the *nix host address.

If all goes well you should get the display manager running.. enter the username/password and you are tuxified!!!

Xming Login to Ubuntu Gutsy 7.10 from Win XP Pro

A Ubuntu session on network from WinXP

Update: For a VNC like remote login, use the following for gnome.

Install vino , in ubuntu or debian like distros, use sudo apt-get install vino.

Now run vino-server from /usr/lib/vino/vino-server this will enable the vnc server. To set preferences for accepting vnc sessions run vino-preferences and configure the same.

To connect from a *nix client use vncviewer hostip. From windows install vnc client from here.

Add to FacebookAdd to DiggAdd to Del.icio.usAdd to StumbleuponAdd to RedditAdd to BlinklistAdd to TwitterAdd to TechnoratiAdd to Yahoo BuzzAdd to Newsvine

6 thoughts on “Remote Login to Linux from Windows (Non-VNC)

  1. Reply subhash kumar Mar 2,2012 5:46 pm

    I have quary..

    I am using broadband with linux system in Chandigarh and i am sitting in mohali using windows Xp with another broadband. How can i access or take remote control my Linux system without visiting to Chandigarh.pls help if you have any solution

  2. Reply kumar Oct 8,2010 3:52 pm

    disable remote option on how to enable without login..

    —disable remote option on { system –administrations–login window–security –config x server} how it enable without login..

  3. Reply kumar Oct 8,2010 3:46 pm

    login window is select chooser it network emote connctions i think how it will changes…

    disable remote option on <> how to enable without login..

  4. Reply kumar Oct 8,2010 3:43 pm

    how to enable, the login window is i selected chooser it how to enable without login.

    login window comming like chooser and connect that is how remove and solve how …

  5. Reply Deangelo Bamforth May 29,2010 9:54 pm

    Howdy there,just found your web-site when i google something and wonder what web hosting do you use for your web site,the speed is more faster than my blog, i really want to know it.will back to check it out,thanks!

  6. Reply Bingo Aug 15,2008 7:52 pm

    VNC can easily run an independent session. Your statement “unlike VNC where actually you are viewing a already running X session.” is totally false and it is confusing people. Steps:

    1. Install vncserver.
    2. Create file ~/.vnc/xstartup
    3. Enter the desktop environment settings here. Sample:
    xterm &
    4. Start vnc server
    5. Set password
    6. Connect from another machine

Leave a Reply