Jonathan Arbib

Tag: putty

X Session from Linux to Windows

by on Jan.19, 2010, under Tutorials

On the Linux Machine
Install X on your system (example for Debian)

apt-get install xserver-xorg-core xorg
apt-get install gdm (or xdm/kdm)
apt-get install fluxbox (or gnome/kde)
apt-get install firefox (or iceweasel if you get an error)
reboot

Just in case run

dpkg-reconfigure xserver-xorg

On the Windows Machine
Download Xming and install it.
Download Putty and save it to disk.

Configure Xming
Launch XLaunch (Start, Programs, XMing) and at the Display settings dialog box, select Multiple windows and set the Display number as 0. Click on Next until Finish.

Configure PuTTY
Start PuTTY.
In the PuTTY Configuration section, on the left panel, select Connection → SSH → X11
On the right panel, click on the Enable X11 forwarding checkbox
Set the X display location as :0.0
Click on Session option on the left panel.
Enter the hostname or IP address in the Host Name textbox
Save the session.

Troubleshooting
xf86PciVideoInfo is not set
Could not get primary PCI info

waiting for X server to begin accepting connections
giving up.
xinit: Connection reset by peer (errno 104): unable to connect to X server
xinit: No such process (errno 3): Server error.

Solution:
a workaround to start only INDIVIDUAL APPS

http://www.breitenlee.net/index.php?option=com_content&view=article&id=33:xlib-putty-x11-proxy-wrong-authentication-protocol-attempted&catid=16:linux-howto&Itemid=54

Leave a Comment :, , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!