@Alberto, I took a look at gdm, it has an "Init" script that runs right after X comes up (and before starting the greeter) however this is run as the gdm user, not root. will that work?
There is no script to run on shutting down the display manager, so I guess would need to patch gdm for this one.
@Alberto, I took a look at gdm, it has an "Init" script that runs right after X comes up (and before starting the greeter) however this is run as the gdm user, not root. will that work?
There is no script to run on shutting down the display manager, so I guess would need to patch gdm for this one.