[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vlock from x11?



[ sorry to continue this thread -- can anyone suggest a better place for it? ]

From: Heather <star@betelgeuse.starshine.org>
Subject: Re: vlock from x11?
Date: Wed, 27 Sep 2000 09:44:55 -0700 (PDT)
Message-ID: <[🔎] 200009271644.JAA03467@betelgeuse.starshine.org>

> I have used chvt under a script within X (for a different reason, to
> do happy suspends) and it works fairly nicely.

would you be willing to post the script or a location from where it
might be fetched?  when i try to use chvt from x i get:

  chvt: VT_ACTIVATE: Operation not permitted

i suppose i could get the source and dig to find out why ;-)

> As for timed launch, I think xscreensaver supports doing the timeout
> for just about any "normal" app, so once you have it tuned to do it
> the way you like, you could set it going under xscreensaver.

ah, nice.  thanks for the tip.

> Seems to me I'd only use it by deliberate launch though.

i used to think this strategy would work for me, but i've found that
i'm not perfect at remembering to enable a screensaver before leaving
my desk.  so, as insurance, i thought the timeout thing might be a
good thing (tm).


on a related note, i tried hacking the following lines in /etc/inittab:

# Action on special keypress (ALT-UpArrow).
kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."

and doing a kill -HUP 1.

but i was unable to create a script which would invoke vlock correctly
after a chvt (to replace the /bin/echo portion).  the error i got was:

  vlock: could not open /dev/tty: Device not configured

i can sort of see why i get this error (i.e. i am not surprised), but
i am having trouble articulating why that is.



Reply to: