Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

KDM:

/usr/share/config/kdm

Xstartup (run a logon)
Xreset (run at logoff)

GDM:

/etc/gdm/...

.../PostLogin/Default  (Logon)
.../PostSession/Default (Logoff)

This is the script that runs on login:

MYHOSTNAME=`/bin/hostname`
COMMAND="/usr/local/pfx/qube/bin/qblock --lock --purge $MYHOSTNAME"
logger Running "$COMMAND"
$COMMAND
logger Finished running "$COMMAND"

and logoff:

MYHOSTNAME=`/bin/hostname`
COMMAND="/usr/local/pfx/qube/bin/qbunlock --unlock $MYHOSTNAME"
logger Running "$COMMAND"
$COMMAND
logger Finished running "$COMMAND"

  • No labels