vnc4server too slow with xinetd/gdm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vnc4 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vnc4server
Ubuntu version: Hardy
Package: vnc4server
Version: 4.1.1+xorg1.
Workaround: Manually copy binaries and libraries from Fedora 8's vnc-server package (4.1.2 release 24.fc8)
/etc/services contains:-
vnc 5952/tcp # vnc
/etc/xinetd.d/vnc contains:-
service vnc
{
socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query 127.0.0.1 -once -securitytypes=none -geometry 1008x700 -depth 16 -extension XFIXES
disable = no
}
Ensure xdmcp is enabled in your gdm.conf or gdm.conf-custom
under [xdmcp] put Enable=true
then restart gdm and xinetd
client can connect with:-
vnc4viewer hostname:52
This will bring up a GDM login screen. The connection is very sluggish even when typing the username from a client machine on the same LAN or even the same host!
By copying the binaries, and dependent libraries from Fedora 8's vnc-server 4.1.2 acceptable performance is restored.
Files copied from fedora to same path in Ubuntu are:-
/usr/bin/Xvnc
/usr/bin/vncconfig
/usr/bin/vncpasswd
/usr/bin/vncserver
/usr/bin/
/usr/lib/
/usr/lib/
/usr/lib/
I also reported this in the Ubuntu forums yesterday more as a query, but now I've proved it.
http:// ubuntuforums. org/showthread. php?p=4885596