Thanks, Beerse buddie! 

Do you mean I should modify my /etc/xinetd.d/vnc-800x600x8 
to this form? 

--------
service vnc-800x600x8
{
           disable = no
           protocol = tcp
           socket_type = stream
           wait = no
           user = root
           server = /usr/bin/Xvnc
           server_args = -inetd -query localhost -once -geometry 800x600 -depth 8
}
--------

I think if I use this mode, then two persons connecting to my Linux 
box can not share the same desktop (for example, editing the same 
article using gedit). I have already tried it. 

Do you know how to enable Xvnc to let more than one 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: RE: RE: RE: RE: Meeting trouble when connecting VNC server ru
nnin
>
>I missed it but an other reply noted it: add the '-inetd' flag to the Xvnc
>parameters.
>
>CBee
>
>
>--
>C. Beerse
>mailto:[EMAIL PROTECTED]
>talkto:+31(71)5256660
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: woensdag 12 maart 2003 11:59
>> To: [EMAIL PROTECTED]
>> Cc: [EMAIL PROTECTED]
>> Subject: Re:RE: RE: RE: RE: Meeting trouble when connecting VNC server
>> runnin
>> 
>> 
>> Content-Type: text/plain
>> 
>> Thanks, Beerse buddie! 
>> 
>> I have tried your method and now my 
>> /etc/xinetd.d/vnc-800x600x8 is looking 
>> like this, 
>> 
>> BTW: my OS is Red Hat 8.0.
>> 
>> --------
>> service vnc-800x600x8
>> {
>>           disable = no
>>           protocol = tcp
>>           socket_type = stream
>>           wait = no
>>           user = root
>>           server = /usr/bin/Xvnc
>>           server_args = Xvnc -query localhost -once -geometry 
>> 800x600 -depth 8
>> }
>> --------
>> 
>> When using "telnet localhost 5951", 
>> the following error occurs, 
>> --------
>> [EMAIL PROTECTED] root]# telnet localhost 5951
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> Unrecognized option: Xvnc
>> use: X [:<display>] [option]
>> -a #                   mouse acceleration (pixels)
>> -ac                    disable access control restrictions
>> -audit int             set audit trail level
>> -auth file             select authorization file
>> bc                     enable bug compatibility
>> -bs                    disable any backing store support
>> -c                     turns off key-click
>> c #                    key-click volume (0-100)
>> -cc int                default color visual class
>> -co file               color database file
>> -core                  generate core dump on fatal error
>> -dpi int               screen resolution in dots per inch
>> -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
>> -f #                   bell base (0-100)
>> -fc string             cursor font
>> -fn string             default font name
>> -fp string             default font path
>> -help                  prints message with these options
>> -I                     ignore all remaining arguments
>> -ld int                limit data space to N Kb
>> -lf int                limit number of open files to N
>> -ls int                limit stack space to N Kb
>> -nolock                disable the locking mechanism
>> -logo                  enable logo in screen saver
>> nologo                 disable logo in screen saver
>> -nolisten string       don't listen on protocol
>> -p #                   screen-saver pattern duration (minutes)
>> -pn                    accept failure to listen on all ports
>> -nopn                  reject failure to listen on all ports
>> -r                     turns off auto-repeat
>> r                      turns on auto-repeat
>> -s #                   screen-saver timeout (minutes)
>> -su                    disable any save under support
>> -t #                   mouse threshold (pixels)
>> -terminate             terminate at server reset
>> -to #                  connection time out
>> -tst                   disable testing extensions
>> ttyxx                  server started from init on /dev/ttyxx
>> v                      video blanking for screen-saver
>> -v                     screen-saver without video blanking
>> -wm                    WhenMapped default backing-store
>> -x string              loads named extension at init time
>> -query host-name       contact named host for XDMCP
>> -broadcast             broadcast for XDMCP
>> -indirect host-name    contact named host for indirect XDMCP
>> -port port-num         UDP port number to send messages to
>> -once                  Terminate server after one session
>> -class display-class   specify display class to send in manage
>> -displayID display-id  manufacturer display ID for request
>> 
>> Xvnc version 3.3.7 - built Feb 28 2003 19:00:35
>> 
>> -geometry WxH          set framebuffer width & height
>> -depth D               set framebuffer depth
>> -pixelformat format    set pixel format (BGRnnn or RGBnnn)
>> -rfbport port          TCP port for RFB protocol
>> -rfbwait time          max time in ms to wait for RFB client
>> -nocursor              don't put up a cursor
>> -rfbauth passwd-file   use authentication on RFB protocol
>> -httpd dir             serve files via HTTP from here
>> -httpport port         port for HTTP
>> -deferupdate time      time in ms to defer updates (default 40)
>> -economictranslate     less memory-hungry translation
>> -maxrects num          max number of rectangles in an update 
>> (default 50)
>> -desktop name          VNC desktop name (default x11)
>> -alwaysshared          always treat new clients as shared
>> -nevershared           never treat new clients as shared
>> -dontdisconnect        don't disconnect existing clients when 
>> a new non-shared
>>                        connection comes in (refuse new 
>> connection instead)
>> -localhost             only allow connections from localhost
>> -inetd                 Xvnc is launched by inetd
>> Connection closed by foreign host.
>> --------
>> 
>> Thanks in advance, 
>> George
>> 
>> [EMAIL PROTECTED]>-La5=:
>> >From:"Beerse, Corn?" <[EMAIL PROTECTED]>
>> >Reply-To: 
>> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
>> "Beerse, Corn?" <[EMAIL PROTECTED]>
>> >Subject: RE: RE: RE: RE: Meeting trouble when connecting VNC 
>> server runnin
>> g on Linux. 
>> >
>> >> -----Original Message-----
>> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> >> 
>> >> 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
>> >
>> >This user 'nobody' needs to have write access to 
>> /tmp/.X0-lock. Either make
>> >the directory world writable or change the user to 'bin', 
>> 'sys', or 'root',
>> >which ever account is used for deamons at your machine.
>> >
>> >>           server = /usr/bin/Xvnc
>> >>           server_args = -query localhost -once -geometry 
>> 800x600 -depth 8
>> >
>> >The first arg in this list should be arg 0!
>> >
>> >server_args = Xvnc -query localhost -once -......
>> >              ^^^^
>> >
>> >See manual on xinetd.conf for details.
>> >
>> >
>> >> }
>> >> --------
>> >> 
>> >> 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

Reply via email to