Novell Home

How to manage X Windows on SLES10 Tunneled with SSH from Windows XP Client

Novell Cool Solutions: Tip
By Charles Short

Digg This - Slashdot This

Posted: 23 Mar 2007
 

Problem:

I wanted to install a VMware workstation running NetWare 6.5 SP6 on a SLES 10 host server to build a virtual test rig. I needed to manage the X Window VMware servers through tunneled SSH VNC from my Windows XP desktop.

Solution:

1. VMware Installation on SLES10 Host

  1. download VMware workstation 5.5.3 for Linux from http://www.vmware.com/download/ws/

  2. rpm -ivh VMware-workstation-5.5.3-34685.i386.rpm

  3. run /usr/bin/vmware-config.pl and accept the defaults. You will need to Shift:q out of the licence agreements and other similar files.

VMware workstation should now be installed and configured. It can be run from 'more applications' in X Windows.

2. Install VNC on SLES10

  1. download source rpm's for x11vnc - wget
    http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/packages/Network/x11vnc/src/x11vnc-0.8.4-1.guru.suse102.src.rpm

  2. rpmbuild --rebuild x11vnc-0.8.4-1.guru.suse102.src.rpm

  3. resolve dependencies with Yast

  4. rpmbuild --rebuild x11vnc-0.8.4-1.guru.suse102.src.rpm

  5. rpm -ivh /usr/src/packages/RPMS/i586/x11vnc-0.8.4-1.guru.suse101.i586.rpm

  6. Add TCP port 5900and ssh to SuSE firewall (run from yast or edit etc/sysconfig/SuSEfirewall2), then restart the firewall

3. Windows XP Client

  1. on a Windows XP client download and install latest versions of putty and vnc viewer.
    - http://www.realvnc.com/cgi-bin/download.cgi

  2. - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  3. open putty

  4. goto Session and add host name, port 22 SSH selected

  5. goto Connections/SSH/Tunnels and add X display location as 'localhost:0' add Source port as 5900 and destination as host server ipaddress:5900. Make sure local is selected at bottom.

  6. save putty settings

  7. open putty session and log into server and then type x11vnc -display :0 to start x11vnc

  8. minimise the putty session

  9. run vnc viewer on XP with login 'localhost:0'

You should now be able to manage X Windows on your SLES10 server tunneled with SSH from your Windows XP client.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell