Showing posts with label inetd. Show all posts
Showing posts with label inetd. Show all posts

Wednesday, April 9, 2008

Xvnc with inetd

Here's how to use Xvnc with inetd to allow users to use a VNC client to get to an xdm:

http://www.realvnc.com/products/free/4.1/man/Xvnc.html#lbAG


As RHEL 5 uses xinetd I created '/etc/xinetd.d/Xvnc' with the following contents:

# default: off
# description: Xvnc server which talks XDMCP to a local xdm in order
# to give the user a local GUI login prompt.
service Xvnc
{
disable = no
port = 5900
socket_type = stream
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -once securitytypes=none
log_on_failure += HOST
}

GNOME's vino might also be of interest but it's designed for connecting to running GNOME sessions.