Thursday, August 18, 2011

Logging Into Linux Desktop with Xming, Xnest and Putty

I use Xming and Putty to remotely log into my Linux desktop over a secure connection. Since I use xdm for the X11 login screen, I had to set up xdm for remote login. I made sure /etc/X11/xdm/xdm-config had this setting:


DisplayManager.requestPort: 117

I changed /etc/X11/xdm/Xaccess to allow any connection:


echo "*" > /etc/X11/xdm/Xaccess

I installed xnest on the Linux machine.


On Windows, install xming and X11 fonts. Start the Xming server.


Xming.exe :16 -clipboard -multiwindow -nolisten inet6

Then, start putty, enable X11 port forwarding and connect to the Linux box. Once you are logged into the remote terminal, start Xnest:


Xnest :16 -ac -geometry 960x720 -once -query 127.0.0.1

A window will pop up showing your lovely Linux destkop. Now, enjoy your Linux applications on Windows.

About This Blog

KBlog logo This blog is about current events and issues concerning general population. Thanks for visiting the blog and posting your comments.

© Contents by KBlog

© Blogger template by Emporium Digital 2008

Followers

Total Pageviews

icon
Powered By Blogger