How-to configure NLD9 to allow multiple VNC logins

The following How-to explains how to configure Novell Linux Desktop 9 (or Suse Linux in general) with Gnome in order to allow multiple session loging in from VNC.

Security warning: Beware that this is not a secure solution as is for multiple reasons and should not be setup on the internet without tuneling it through ssh as all information will transit unencrypted otherwise.

1 – Login as root, or execute the following as such

2 – Enable Remote Administration in Yast :
In the system menu, select Administrator settings -> this launches yast
In yast, select "Network Services", then click on "Remote administration"
In the window that appears select "Allow remote administration" then click on "Finish"
Close the yast window

3 – Edit file /etc/X11/xdm/Xaccess and add a line :

* #any host can get a login window

4 – Edit the file /etc/opt/gnome/gdm/gdm.conf and check the settings values below, all other settings to remain untouched :

	[daemon]
	RemoteGreeter=/opt/gnome/bin/gdmgreeteremon
	
	[xdmcp]
	Enable=true
	MaxSessions=16
	DisplaysPerHost=5
	PingIntervalSeconds=15

5 – Edit the file “/etc/xinetd.d/vnc”, find section "vnc1" and add arguments "-kb -noloadxkbd" to the server_args parameters. Resulsuting section should look like :

service vnc1
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/X11R6/bin/Xvnc
        server_args     = :42 -inetd -once -query localhost -geometry 1024x768 -depth 16 -kb -noloadxkb
        type            = UNLISTED
        port            = 5901
}

6 – Reboot the computer or do "rcxdm restart; rcxinetd restart" after login off and switching to console 0 (don't do it from the graphical environment as it will kill it ;-)

7 – You should be able to login using vnc to @server:5901 or from a browser at http://@server:5801/