VNC over SSH tunnel optimization

Discussion in 'Server Operation' started by blocker, Oct 16, 2008.

  1. blocker

    blocker Member

    Hello,

    I have setup ssh tunnel from a linux workstation to a linux server to use secure VNC. It works so far good, the only problem is that it is a bit slow. I would like to ask you for suggestion on optimizing the the tunnel and/or the vnc server. Both computers have enough cpu power and very fast internet connections, so it would not be a problem if the optimization includes high cpu usage or high broadband usage...

    here are my configs:

    VNC server is started with the following options:
    Code:
    tightvncserver -geometry 800x600 -depth 15 :1
    xstartup:
    Code:
    #!/bin/sh
    xrdb $HOME/.Xresources
    xsetroot -solid grey
    x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    gnome-session &
    the ssh tunnel gets started from the workstation with the following options:
    Code:
    ssh -f -N -L 5901:localhost:5901 username@server
    Thanks!
     

Share This Page