XGONE

Section: User Commands (1)
Updated: 25 February 1987
Index Return to Main Contents
 

NAME

xgone - lock the screen under the X window system  

SYNOPSIS

xgone args  

DESCRIPTION

Xgone locks the screen until the current user's password is entered. While waiting, it displays a message telling where the person went and when they started the program and moves this text around the screen to avoid burning them in at a particular location.

If no args are provided, the program displays the text X Gone along with the time. If args are provided, then the concatenation of the arguments, separated by spaces, is displayed instead of the default string.

To leave xgone, press any mouse key. It will prompt you for your password, which will not be echoed on the display. End the password with ``Return.'' As an accelerator, you may simply type your password.

Xgone can be run from any system that has access to the user's workstation. It was designed this way so that it could be used by X terminal users. Because of this there is a possibility of malicious users locking other people's displays (or simple mistakes via setting the "DISPLAY" environment variable to the wrong display name). In order to avoid this problem, xgone tries to verify that the display in question actually belongs to the user running the program. Since there is no easy way of doing this verification under X11, xgone uses the following algorithm:

if (we were invoked as root) then
        go ahead and lock the display;
else if (the display is "unix:0" or "unix:0.0"
    and the invoking user is actually logged into
    the console of this machine) then
        go ahead and lock the display;
else {
    Find the oldest xterm or rlogin from
        the display we're trying to lock;
    if (the user found above is the user invoking
    this program) then
        go ahead and lock the display;
}

By using the above algorithm, a user would have to do a little work in order to lock someone else's display. It mostly likely wouldn't happen by accident. There are lots of way to getting around the above restrictions, however until something better comes along this is the best that can be done.

 

OPTIONS


-font Specify the font to use for text on the screen.
-sleep Specify the interval between moves of the block of text on the screen.
-delay Make the program drop in the background and delay starting for a few seconds. This is helpful when invoking xgone from a menu inside window managers like twm which don't allow a "grab" of mouse for a short time right at startup.  

DEFAULTS


xgone.Font: fontname (same as -font)
xgone.Text: default text to use instead of "X Gone"
xgone.Sleep: sleeptime in seconds (same as -sleep)
xgone.Update: interval between updates (same as -update)
xgone.Delay: boolean (same as -delay)  

FILES

/etc/passwd    usually accessed through the Yellow Pages system on Suns
 

SEE ALSO

lockscreen(1), xlock(l)  

AUTHOR

Originally written for X10 by Tim Morgan at UCI.
Modified and extended for X11 by Richard Johnson also at UCI.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DEFAULTS
FILES
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 06:10:58 GMT, December 12, 2024