XVNC terminal server question
hey all,
I've a novell linux desktop 9.0 with kde 3.2
I have configured a xvnc server and it works but what i want doesn't seem to work.
i want to connect on a specific tcp port that connects me to a pre defined desktop
eg
host:5902 gives me to :2
currently it is as random as rain... :-(
and for operational reasons i need to know when i connect what desktop i'm going to get....
this is what i have configured
/etc/xinetd.d/xvncserver
service vnc-1
{
protocol = tcp
socket_type = stream
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = :2 -inetd -query localhost -geometry 1024x768 -depth 16
}
service vnc-2
{
protocol = tcp
socket_type = stream
wait = no
user = nobody
ferver = /usr/X11R6/bin/Xvnc
server_args = :5 -inetd -query localhost -geometry 1024x768 -depth 16
}
service vnc-3
{
protocol = tcp
socket_type = stream
wait = no
user = nobody
server = /usr/X11R6/bin/Xvnc
server_args = :9 -inetd -once -query localhost -geometry 1024x768 -depth 16
}
/etc/services
# VNC Server
# Graphical Cash Register sollution
vnc-1 5911/tcp
vnc-2 5912/tcp
vnc-3 5913/tcp
but when i connect port 5911 i should get desktop :2
I get it sometimes but only sometimes .... it's random as hell
|