|
root / base / hammerhead-xdm / Xstartup
Xstartup Plain Text 9 lines 372 B
1
2
3
4
5
6
7
8
#!/bin/sh
# Xstartup - runs as root at session start on display :0.
# Give console ownership to the logging-in user (GiveConsole). Absolute paths.
/bin/chown "$USER" /dev/console
# Remove the greeter's Shutdown/Reboot button bar so it doesn't leak into the
# user's session (the foreign server is not reset on login).
/usr/bin/pkill -x hh-greeter-power 2>/dev/null
exit 0