I noticed only one connection at a time is supported.Is it possible to make it accept multiple viewer sessions simultaneously ? Thanks. -- This message posted from opensolaris.org
Juergen Keil
2009-Jun-27 08:12 UTC
Re: Bult-in XVM VNC Server - How to enable multiple sessions ?
2009/6/27 Alex Gor <no-reply@opensolaris.org>:> I noticed only one connection at a time is supported. >Is it possible to make it accept multiple viewer sessions simultaneously ?IIRC, with gdm, the default compiled in limit is two vnc connections per host (xdmcp/DisplaysPerHost=2) and a total limit of 16 sessions (xdmcp/MaxSessions=16). With the Xvnc / gdm setup, the connection request arriving at gdm is always originating from localhost. The DisplaysPerHost limit should be configurable in /etc/X11/gdm/custom.conf, with something like this [xdmcp] Enable=true DisplaysPerHost=10 In addition to the gdm limit, gnome also includes a warning when the same user tries to login twice.
Mark Johnson
2009-Jun-27 12:27 UTC
Re: Bult-in XVM VNC Server - How to enable multiple sessions ?
Alex Gor wrote:> I noticed only one connection at a time is supported.> Is it possible to make it accept multiple viewer sessions > simultaneously ? Yeah, the vncserver build into qemu is poor. You can use a VNC reflector to get multiple connections to a single qemu vnv session. Citrix has replaced the VNC server in its qemu in XenServer, but never pushed the changes into the open source version of Xen. Since the code is gpl, we could look at porting that over if there is strong interest.. MRJ
Alex Gor
2009-Jun-27 15:32 UTC
Re: Bult-in XVM VNC Server - How to enable multiple sessions ?
Well I already asked a question about any possible GUI solution but got zero reply. http://opensolaris.org/jive/thread.jspa?threadID=105162&tstart=15 May be I''m missing something but using VNC as a console is hellishly inconvenient. For example after typing xm start <my machine> I need to start vncviewer then type a password and then wait wait while vnc renders the gui part...As a result I miss few precious seconds to catch any possible boot option on a guest.(it doesn''t make a big difference even if I setup vncviewer to start automatically). So I thought that one possible solution will be to make vncviewer to stay on even if the server is not accessible,i.e. trying to reconnect let''s say every two seconds.That way I will get a guest VM picture at minimum possible time after the guest is up.One of software solutions could be VNC Manager from SmartCode(http://www.s-code.com) which creates some sort of persistent thumbnail with ability to get full screen session clicking on the thumbnail,but since qemu support only one session,clicking on the thumbnail doesn''t really work. So cutting the story short I need some kind of workable XVM client console which would work from Windows OS,since current vncviewer doesn''t really fit into enterprise environment(IMHO). Thanks a lot. -- This message posted from opensolaris.org
Mark Johnson
2009-Jun-29 14:04 UTC
Re: Bult-in XVM VNC Server - How to enable multiple sessions ?
Alex Gor wrote:> Well I already asked a question about any possible GUI solution but got zero reply. > http://opensolaris.org/jive/thread.jspa?threadID=105162&tstart=15A newer version of virt-manager should be available shortly after the 3.3 bit are putback.. However, it''s still virt-manager....> May be I''m missing something but using VNC as a console is hellishly inconvenient. > For example after typing > > xm start <my machine> > > I need to start vncviewer then type a password and then wait wait while vnc> renders the gui part...As a result I miss few precious seconds to catch any possible > boot option on a guest.(it doesn''t make a big difference even if I setup vncviewer > to start automatically). if your trying to debug something early like this for Windows, local dom0 access and sdl would be better.> So I thought that one possible solution will be to make vncviewer to stay on even> if the server is not accessible,i.e. trying to reconnect let''s say every two seconds. > > That way I will get a guest VM picture at minimum possible time after the guest is > up.One of software solutions could be VNC Manager from SmartCode(http://www.s-code.com) > which creates some sort of persistent thumbnail with ability to get full screen session > clicking on the thumbnail,but since qemu support only one session,clicking on the > thumbnail doesn''t really work. right, as of today, you would need to use a vnc-reflector for that to work.. e.g. http://sourceforge.net/projects/vnc-reflector/ Ideally, you would have qemu connect to the vnc reflector on guest start (vs listen for a connection) and your vncclient(s) could have a static connection to the reflector.. But I don''t know if qemu can do that today.> So cutting the story short I need some kind of workable XVM client console which would> work from Windows OS,since current vncviewer doesn''t really fit into enterprise environment(IMHO). I have all of my Solaris and Linux consoles use a serial port. But for windows, you are right, this isn''t ideal... MRJ