Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-22-2007, 12:08 PM   #1
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
VNC over SSH - too slow!

I have configured my /etc/sysconfig/vncservers file on as:
VNCSERVERARGS[1]="-geometry 1280x1024 -nohttpd -localhost -depth 8 -nolisten tcp"
The server is running as:
bash$ ps aux | grep Xvnc
jameson  23992  0.0  0.1  46148  5572 ?        S    07:57   0:00 Xvnc :1 -desktop (jameson) -auth /home/jameson/.Xauthority -geometry 1280x1024 -depth 8 -rfbwait 30000 -rfbauth /home/jameson/.vnc/passwd -rfbport 5901 -pn -localhost -nolisten tcp

When I try to access my display on by:

client-bash$ env ssh -X
server-ssh$ vncviewer localhost:1
at which point I get this on the stdout:
 TXImage:     Using default colormap and visual, TrueColor, depth 24.
the display that comes up is intolerably slow (refreshes a few small sections per second.) I know I have the bandwidth to do this without SSH, as I have been using it previously at 16 depth and it was quite quick.

What is going on here! Why is it so slow, and what is the TXImage message which suggests I am not receving 8-bit depth on the viewer?

Last edited by jhwilliams; 08-22-2007 at 12:12 PM.
Old 08-22-2007, 01:32 PM   #2
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 210Reputation: 210Reputation: 210
Using the -via option of vncviewer solved this problem. Still not sure why the -X ssh forwarding option was so slow --- the vncviewer -via probably invokes some compression the ssh -X option does not.
Old 09-21-2007, 09:39 AM   #3
LQ Newbie
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
I would suggest NX or freenx, which is much faster than X or VNC but then you can only connect from a windows/linux machine to a linux machine. Also the fedora scripts to set these up are broken and you have to run the script, find which lines give you an error and correct those.

Old 09-25-2007, 09:05 AM   #4
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
Disable your wallpapers (maybe use just flat black)

Also in /etc/ssh/sshd_config
Compression yes
On your local machine
Compression yes

VNCSERVERARGS[1]="-geometry 1280x1024 maybe to much resolution over vnc

Maybe 1024x768


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vnc over ssh ieuuk Linux - Networking 18 01-18-2006 08:11 AM
VNC too slow Steve Riley Ubuntu 2 07-27-2005 12:29 PM
vnc with ssh Paxmaster Linux - Networking 1 03-07-2005 10:05 PM
slow vnc dukeinlondon Linux - Networking 1 12-15-2003 05:02 PM
VNC and SSH jrmann1999 Linux - Networking 0 12-26-2001 10:43 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration