XDMCP & VNC

From Briki
Revision as of 23:40, 12 August 2006 by 192.168.1.16 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
}
  • Restart xinetd