Posts Tagged ‘xfce’

Debian Wheezy startx – it can work and here’s how:

March 26, 2013

I noted in https://takla.wordpress.com/2013/02/18/debian-wheezy-testing-with-xfce-on-the-eee-pc-1001p-everything-works/ that I’d had to change from using startx to using a display manager, and found it slightly annoying.  The difficulty arose because of a bug in upstream consolekit, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597937

Fortunately it’s actually easy to fix.  It takes a minute, it works, and the fix will persist through upgrades.

As root create the file /usr/share/pam-configs/startx-fix
Name: ConsoleKit startx fix
Default: yes
Priority: 0
Session-Interactive-Only: yes
Session-Type: Additional
Session-Final:
optional pam_loginuid.so

save it and then run # dpkg-reconfigure libpam-runtime

Now you can uninstall the bloody awful lightdm or slim or whatever you’d got lumbered with.

When you next log-in use plain startx, not startxfce4 or similar session starter command. You find yourself are back in the world where doing the obvious and simplest thing actually works 🙂