Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I make my VNC server on a Linux machine fast as possible (without trading off security) (and connecting to an already running X session)?

I'm running a VNC server (x11vnc) on my Ubuntu and I occasionally connect to it from another Ubuntu machine over LAN.

x11vnc -localhost -usepw -ncache 10 -forever -display :0

I use above command and SSH port forwarding. I connect with this (xtightvncviewer):

vncviewer -encodings 'copyrect tight hextile' localhost:0

Connecting to an already running X session is important. If that were not case, I'd use NX or SSH X11 forwarding.

share|improve this question
add comment

4 Answers 4

up vote 2 down vote accepted

TightVNC over SSH has a decent reputation for speed. I don't know if you're going to notice a lot of difference among different implementations though.

share|improve this answer
add comment

try nomachine or its free / gpl implementation free nx. you'll not think about vnc twice after you switch.

share|improve this answer
    
With NX, you can either attach to a new X session which is really fast, or attach to an already running X session which is slow. –  RamyenHead Sep 9 '09 at 19:03
add comment

If you can trade quality of picture for reactivity, try to lower the picture quality.

I use these parameters, but have not checked them with most recent x11vnc releases.

vncviewer $IP -bgr233 -compresslevel 9 -encodings "tight"

or

vncviewer $IP -bgr233 -quality 0 -encodings "tight"
share|improve this answer
add comment

tightvnc is best for speed u can check on u r network thought put may be its just jam!!

share|improve this answer
6  
Please try to keep the quality of serverfault.com high and review your answer. –  Jan Jungnickel Sep 9 '09 at 18:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.