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

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 🙂

Advertisements

Tags: , ,

One Response to “Debian Wheezy startx – it can work and here’s how:”

  1. Chris Says:

    Thank you for this.
    It worked perfectly for me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: