Re: I need a screen saver

[prev] [thread] [next] [lurker] [Date index for 2007/01/15]

From: Ole-Morten Duesund
Subject: Re: I need a screen saver
Date: 10:24 on 15 Jan 2007
Yossi Kreinin wrote:
> Peter da Silva wrote:
>> How is it supposed to find it? You just deleted the socket it's
>> listening on.
>>
> 
> Apparently so. Silly of me to beleive screen which told me I had "dead"
> screen sessions and suggested to run `screen -wipe`, which put a living
> session into a coma.
> 
> I would appreciate any advice regarding the management of screen
> sessions since that's my primary defense mechanism against the crashes
> of my desktop. In particular, I wonder how to tell a dead screen from a
> living one.

This all depends on where screen puts its sockets. Apparently your
screen puts them in your homedirectory which appears to be on an nfs
mount or some thing like that. This means that any screen session that
runs on a different machine from the one you're using will appear to be
dead and a candidate for '-wipe'. A more sensibly configured screen
would store its sockets in a machine-local location. /var/run/screen for
instance which wouldn't expose non-local screen sessions to an
unintended '-wipe'

Software sucks, shared storage sucks, non-shared storage sucks.

- OM
There's stuff above here

Generated at 13:01 on 17 Jan 2007 by mariachi 0.52