Code: Select all
#!/bin/sh
xrdb $HOME/.Xresources
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
dbus-launch --exit-with-session startxfce4
On the one hand, I guess this makes sense as a default behavior... But is there some way to get it working without having the machine logged in? (I should note that my audio output is through a USB audio dongle, as my server doesn't have have audio output on the motherboard.) Aside from the security issue, it's a bit of a pain for other reasons (starting gui programs at login results in an extra copy, can't switch to a different tty at the physical machine without disabling audio, etc.)