SUSE Conversations


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



By: cemshort

March 23, 2007 9:06 pm

Reads:408

Comments:0

Rating:0

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/…
  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.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS