On Fri, Mar 11, 2011 at 08:41:02AM -0600, DRC wrote:
> Just so I fully understand the issue, what would you normally do if the WM 
> crashes? Is there a reasonable way to recover in that case?

When WM crashes then applications which are started for example from
xstartup script are not terminated (so your work isn't lost).

> I am not opposed to reverting, as long as the -fg switch is kept. A user 
> could get the same behavior by doing vncserver -fg &.

The "-fg" switch (and it's current implementation) is absolutely OK.

I would change the "not -fg" branch in vncserver script from

system("($vncUserDir/xstartup; $0 -kill :$displayNumber) >> " . 
&quotedString($desktopLog) . " 2>&1 &");

to

system("$vncUserDir/xstartup >> " . &quotedString($desktopLog) . " 2>&1 &");

Note I didn't test this change, just copied the line from old
vncserver script.

Regards, Adam

> On Mar 11, 2011, at 8:25 AM, Robert Goley <rago...@rdasys.com> wrote:
> 
> > Just to throw my 2 cents in as well...  I would prefer this behavior be 
> > reverted as well.  I know it will end up causing us problems if for no 
> > other reason than window managers crash and we don't want everything else 
> > in our session to be taken down with them....
> > 
> > Robert
> > 
> > 
> > On 03/11/2011 06:57 AM, Adam Tkac wrote:
> >> 
> >> On Thu, Mar 10, 2011 at 07:07:17AM -0600, DRC wrote:
> >>> http://www.virtualgl.org/DeveloperInfo/TigerVNCPreReleases
> >>> 
> >>> -- Windows TLS refresh issue fixed (I hope)
> >>> -- New vncserver -fg switch for running TigerVNC in grid environments
> >>> -- vncserver now automatically kills Xvnc whenever the window manager
> >>> running in the VNC session is exited
> >> I'm quite reserved about this behavior, I would rather not kill the
> >> Xvnc when WM exits.
> >> 
> >> Default .vnc/xstartup (generated by vncserver) file has following
> >> lines:
> >> ...
> >> xsetroot -solid grey
> >> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> >> twm &
> >> 
> >> So WM is actually successfully started but patched vncserver kills Xvnc
> >> immediately.
> >> 
> >> In my opinion vast majority of VNC users start WM on the background
> >> (with the "&" character in the end of the script) and this change will
> >> break all existing configurations.
> >> 
> >> In my opinion this change should be reverted.
> >> 
> >> Regards, Adam
> >> 
> >>> -- vncserver will no longer prompt user to create a VNC password if VNC
> >>> auth is not used
> >>> -- TLS support incorporated into Windows Visual C++ 32-bit build, so it
> >>> isn't necessary to use a separate installer for TLS support (note: Win64
> >>> support for TLS is still not there, because GnuTLS does not yet work
> >>> cleanly with the LLP64 data model.)
> >>> 
> >>> Enjoy!
> >>> 
> >>> ------------------------------------------------------------------------------
> >>> Colocation vs. Managed Hosting
> >>> A question and answer guide to determining the best fit
> >>> for your organization - today and in the future.
> >>> http://p.sf.net/sfu/internap-sfd2d
> >>> _______________________________________________
> >>> Tigervnc-devel mailing list
> >>> Tigervnc-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
> >> 
> > 
> > -- 
> > Robert Goley
> > <logoLink_sm.png>
> > FOSS Implementation Specialist
> > Toll Free: (800) 338-4984
> > Local: (770) 479-7933
> > Fax: (770) 479-4076
> > www.openrda.com
> > 
> > America's only Free & Open Source fund accounting software company.
> > ------------------------------------------------------------------------------
> > Colocation vs. Managed Hosting
> > A question and answer guide to determining the best fit
> > for your organization - today and in the future.
> > http://p.sf.net/sfu/internap-sfd2d
> > _______________________________________________
> > Tigervnc-devel mailing list
> > Tigervnc-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d

> _______________________________________________
> Tigervnc-devel mailing list
> Tigervnc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel


-- 
Adam Tkac, Red Hat, Inc.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to