VNC connection lost when initiating telnet session quits- solution!

Sean Kamath kamath "at" geekoids.com
Mon May 2 23:13:01 2005


The Borne shell doesn't do job control.  No "nohup" command will
insulate against SIGTERM, it only protects against SIGHUP (hence the
name).  I'm completely confused why the sh would send a TERM to the
processess.

It could be that the processes are sending a request to go in the
background (SIGSTOP) and the sh is terminating them instead.  I'll see
if I can duplicate the behaviour and see what's causing this problem,
but it sounds like you have a workaround.

Sean


[In a message on Fri, 29 Apr 2005 18:29:03 EDT,
  Dr Robert Young wrote:]
>Launching the vncserver from the csh seems to work, and the apps appear 
>to remain alive after the telnet session is exited.
>
># csh
>ultra10# /usr/local/bin/vncserver
>
>New 'ultra10:1 (root)' desktop is ultra10:1
>
>Starting applications specified in //.vnc/xstartup
>Log file is //.vnc/ultra10:1.log
>
>ultra10#
>
>When the telnet connection is now broken, the vncserver and its apps 
>continue to operate normally.  Apparently the 'C' shell is insulating 
>the programs, while the /sbin/sh does not.
>
>We live...we learn....
>
>
>
>
>
>On Apr 29, 2005, at 4:59 PM, B. Scott Smith wrote:
>
>> Try preceding the command with "nohup". For example, "nohup vncserver 
>> :1"
>> Then it should be unaffected when you log out.
>>
>> Audsin dev wrote:
>>
>>> Hi
>>>
>>> Same thing happens when i start the vncserver from the
>>> ssh terminal and then log off. I find that Xvnc is
>>> running and able to log in but the windows manager
>>> some how is unable to start
>>>
>>> Any suggestion
>>>
>>> Regards
>>> Dev
>>>
>>>
>>> --- Dr Robert Young <rcyoung "at" aliconsultants.com>
>>> wrote:
>>>
>>>
>>>
>>>> Same thing happens when I start vncserver from the
>>>> system console, and
>>>> then "exit" the terminal session in which I started
>>>> it.
>>>> _______________________________________________
>>>> VNC-List mailing list
>>>> VNC-List "at" realvnc.com
>>>> To remove yourself from the list visit:
>>>> http://www.realvnc.com/mailman/listinfo/vnc-list
>>>>
>>>>
>>>>
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam protection around
>>> http://mail.yahoo.com
>>> _______________________________________________
>>> VNC-List mailing list
>>> VNC-List "at" realvnc.com
>>> To remove yourself from the list visit:
>>> http://www.realvnc.com/mailman/listinfo/vnc-list
>> _______________________________________________
>> VNC-List mailing list
>> VNC-List "at" realvnc.com
>> To remove yourself from the list visit:
>> http://www.realvnc.com/mailman/listinfo/vnc-list
>>
>>
>
>
>________________________________________________________
>
>Dr. Robert Young
>ALI Database Consultants
>1151 Williams Dr
>Aiken SC 29803
>USA
>
>WWW: http://www.aliconsultants.com
>Tele: 1-803-648-5931
>Toll free in US: 1-866-257-8970 Fax:1-803-641-0345
>Email: rcyoung "at" aliconsultants.com
>"Source of Rdb Controller, software for database analysis &  
>performance tuning"
>_______________________________________________
>VNC-List mailing list
>VNC-List "at" realvnc.com
>To remove yourself from the list visit:
>http://www.realvnc.com/mailman/listinfo/vnc-list