Thanks, Beerse buddie!
I have changed /etc/xinetd.d/vnc-800x600x8 to the
following contents, (I removed -inetd)
--------
service vnc-800x600x8
{
protocol = tcp
socket_type = stream
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -query localhost -once -geometry 800x600 -depth 8
}
--------
After rebooting the machine, I use telnet to test whether the setup
is correct, then an error message occurs,
--------
[EMAIL PROTECTED] root]# telnet 192.3.6.6 5951
Trying 192.3.6.6...
Connected to 192.3.6.6.
Escape character is '^]'.
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Connection closed by foreign host.
--------
Can you help?
regards,
George
[EMAIL PROTECTED]>-La5=:
>From:"Beerse, Corn? <[EMAIL PROTECTED]>
>Reply-To:
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
"Beerse, Corn?quot; <[EMAIL PROTECTED]>
>Subject: RE: RE: RE: Meeting trouble when connecting VNC server running on
Linux.
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> I find the parameter I am using is
>>
>> --------
>> -inetd -query localhost -once -geometry 800x600 -depth 8
>> --------
>>
>> I have used info Xvnc and man Xvnc but failed to find the
>> meaning of paramter once. Then I use Xvnc -h to find that it
>> means "terminate server after one session". What means
>> "means terminate server after one session"? Can you give me
>> some simple explanation? I have tried my best but failed to find
>> the answer.
>
>It just indicates that Xvnc will run and accept a vncviewer connection. At
>the moment this first vncviewer disconnects from Xvnc, this Xvnc-process
>will terminate.
>
>CBee
>
>
>
>>
>>
>> regards,
>> George
>>
>>
>> [EMAIL PROTECTED]>-La5=:
>> >From:"Beerse, Corn? <[EMAIL PROTECTED]>
>> >Reply-To:
>> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>> >Subject: RE: RE: Meeting trouble when connecting VNC server
>> running on Lin
>> ux.
>> >
>> >The inetd setup
>> (http://www.sourcecodecorner.com/articles/vnc/linux.asp)
>> >cannot reconnect due to the nature of inetd: you connect ot
>> a port but inetd
>> >moves the entire communication to an other port so the port
>> is free for new
>> >connections.
>> >
>> >If you need more viewers to the same vnc session, you can
>> try something like
>> >this: Start `Xvnc` or `vncserver` with the "-query
>> localhost" but not using
>> >inetd.
>> >
>> >The redhat distribution has an other setup that also starts
>> at boot and give
>> >multiple access to the same viewer. There is a website for
>> this setup but
>> >I've lost it.
>> >
>> >CBee
>> >
>> >
>> >--
>> >C. Beerse
>> >mailto:[EMAIL PROTECTED]
>> >talkto:+31(71)5256660
>> >
>> >
>> >> -----Original Message-----
>> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> >> Sent: dinsdag 11 maart 2003 03:01
>> >> To: [EMAIL PROTECTED]
>> >> Cc: [EMAIL PROTECTED]
>> >> Subject: Re:RE: Meeting trouble when connecting VNC server
>> running on
>> >> Linux.
>> >>
>> >>
>> >> Thanks, Beerse buddie!
>> >>
>> >> Your method is really nice! When I see the beautiful
>> >> girls on my Linux box desktop from another windows
>> >> box, it really makes me exciting!!
>> >>
>> >> But I meet another trouble. When using Win32 server, more
>> >> than one person can share the same desktop. But each person
>> >> login on my Linux box has a seperate desktop. They can not
>> >> share the same desktop. I think if two gays can edit the
>> >> same article is an exciting thing!
>> >>
>> >> How to let more than two persons share the same desktop?
>> >>
>> >>
>> >> Thanks in advance,
>> >> George
>> >>
>> >> [EMAIL PROTECTED]>-La5=:
>> >> >From:"Beerse, Corn? <[EMAIL PROTECTED]>
>> >> >Reply-To:
>> >> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>> >> >Subject: RE: Meeting trouble when connecting VNC server
>> >> running on Linux.
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> >> >>
>> >> >> I have installed vnc server on Red Hat Linux 8.0. When running
>> >> >> a vnc client from Windows 2000 Professional, all I can see is a
>> >> >> "xterm" and a grep screen. I have read from the FAQ that it is
>> >> >> because the twm is used.
>> >> >
>> >> >Congratulations, all works perfect.
>> >> >
>> >> >Welcome to the default unix configuration of vnc. There are
>> >> various ways to
>> >> >setup vnc to your wishes. Most involve editing a
>> >> ~/.vnc/startup file. Check
>> >> >the mail archive or other documentation about editing this
>> >> to get your
>> >> >prefered window manager.
>> >> >
>> >> >My favorite setup is at
>> >> >http://www.sourcecodecorner.com/articles/vnc/linux.asp
>> >> >
>> >> >>
>> >> >> But I want to see exactly the same on my Windows VNC
>> viewer as on
>> >> >> the Linux box itself. I want to see beautiful girls on desktop,
>> >> >> the clocks, the startup menu on my Linux box, not a
>> grep screen.
>> >> >
>> >> >That's an other peace ;-) of cake. To get the linux
>> >> X11-console in a vnc
>> >> >session, try one of:
>> >> >http://xf4vnc.sourceforge.net/
>> >> >http://www.hexonet.de/software/x0rfbserver/
>> >> >http://www.tjansen.de/krfb/
>> >> >
>> >> >
>> >> >
>> >> >CBee
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list