Difference between revisions of "XDMCP & VNC"
From Briki
| Line 36: | Line 36: | ||
} | } | ||
</pre> | </pre> | ||
| + | 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 | * Restart xinetd | ||
Revision as of 12:01, 25 September 2006
- 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