[NTLUG:Discuss] FYI: neat way to call VNC
Jack Snodgrass
jack+ntlug at mylinuxguy.net
Thu Mar 13 22:00:16 CST 2003
For redhat and xinetd at least....
Put this in your /etc/xinet.d/ directory. Call it vnc-login
# default: on
# description: The vnc server allows nvc logins.
service vnc-login
{
# flags = REUSE
socket_type = stream
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = :1 -inetd -query localhost -geometry 1152x864 -depth 16 -once
log_on_failure += USERID
disable = no
}
and add
vnc-login 5901/tcp # vnc via xdcmp
to your /etc/services file.
( I am using vnc-1024 in both the xinet.d directory and /etc/services
file but I think that vnc-login will work too... not sure why I'm
using vnc-1024 )
Anyway... when you set this up and reload/restart xinetd, when you
make a connection to your vnc server, you'll have a standard login
and be able to login as any user and get your xwindows desktop.
Kind of like a Windows Terminal Server... but for linux.
jack
More information about the Discuss
mailing list