We have an application server that will be accessed by a bunch of VNC clients from a LAN. We do not want persistent logins so we're using GDM.
In a nutshell, performance has gone backwards when we migrated from dapper to hardy.
I have installed several fresh hardy desktops and added xinetd, vnc4viewer and xvnc4server packages and added the following in /etc/xinetd.d/vnc
Code:
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
}
I have added an appropriate line in /etc/services for vnc for port 5952 such that I can now do
Code:
vncviewer hostname:52
and it up comes the GDM login screen. All good so far.
However in comparison with the same thing we had running on dapper screen throughput is much slower even before we've started the user's desktop. It does appear to be related to xinetd and Xvnc because I have changed gdm to wdm and xdm with no difference. Also the desktop by comparison performs better with straight vncserver rather than through xinetd and gdm. For instance if I do this:-
Code:
vncserver :1 -name parngr -geometry 1008x700 -depth 16
The performance of a gnome-terminal for instance is quite acceptable using the latter method.
For comparison here's the xinetd config from dapper..
Code:
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 -fp /usr/share/X11/fonts/misc,/usr/share/X11/fonts/75dpi,/usr/share/X11/fonts/100dpi
disable = no
}
Firstly, does anybody else have this problem. Secondly where can I find ALL the command line options to Xvnc (vnc4 server). Thirdly has anyone solved it?
Also acceptable solutions are OTHER ways to have non-persistent VNC sessions and what I need to add to /etc/apt/sources to get freenx working. This will be for sites with a couple of hundred seats so no home/hobbled versions acceptable - except for proof of concept.
I'm going to try experimenting with Centos 5 and Fedora 8 at home to see if there's similar issues.
Bookmarks