LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   XVNC terminal server question (http://www.linuxquestions.org/questions/suse-novell-60/xvnc-terminal-server-question-480355/)

sjacobs 09-04-2006 03:28 PM

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

zulfilee 09-05-2006 08:09 AM

Are you using a vncclient?

If so just typing

Host:display should take you to that vnc screen.

Ex:

abcd:5

Should take you to :5 display.
Note:
The above one works for me when I go for a vncserver command in the linux box and try to connect from some other machine.
[Means I dont have a pre-setup of desktops in /etc/xinetd.d/xvncserver file ]


All times are GMT -5. The time now is 03:14 PM.