XDMCP & VNC

From Briki
Revision as of 13:01, 25 September 2006 by 205.228.74.11 (talk)
Jump to: navigation, search
  • Install vnc4server
  • Edit /etc/kde3/kdm/kdmrc and change Xdmcp section to:
Enable=true
  • Add the following lines to /etc/services:
vnc             5901/tcp            # VNC
vnc_large       5902/tcp            # VNC (large screen)
  • Add the following to /etc/xinetd.d/vnc:
service vnc
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = :1 -inetd -query localhost -geometry 950x700 -depth 24 -once securitytypes=none
}

service vnc_large
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = :2 -inetd -query localhost -geometry 1260x960 -depth 24 -once securitytypes=none
}

Note: If this config results in only 1 user being able to connect to each service at any given time, then it may be possible to correct this by removing the ":1" and ":2" from the args above. This needs testing to confirm.

  • Restart xinetd