Oliver, thank you for your comments. I would like to correct your instructions slightly.
To get gnome-screensaver to work as described above you need to create a shell script executable such as /usr/bin/launch-custom-session and have it look something like: #!/bin/sh gnome-screensaver $1 Then you can modify your Xsession.d script to look something like this: STARTUP="/usr/bin/launch-custom-session $STARTUP" When these steps are followed I can confirm that gnome-screensaver behaves as expected. Feel free to close this bug. -- gnome-screensaver-command doesn't work for gnome-screesaver instances started from /etx/X11/Xsession.d https://launchpad.net/bugs/82527 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs