PDA

View Full Version : [SOLVED] gdm only runs gnome-session



316479
October 14th, 2014, 07:09 PM
I want to use gdm as my default-display-manager and xfce4-session as my default session

This worked for me in Precise but broke when I upgraded to Trusty.

/usr/bin/x-session-manager -> /etc/alternatives/x-session-manager -> /usr/bin/xfce4-session

and
~/.xsession contains

#!/usr/bin/env bash
exec /usr/bin/xfce4-session

/etc/gdm/custom.conf is vanilla

rm -rf .cache/sessions doesn't help

In spite of all this configuration gdm always​ runs /usr/bin/gnome-session

Is there a configuration file somewhere that I've missed ?

316479
October 19th, 2014, 04:57 PM
It turns out the gdm in 14.04 uses the user profile setting in

/var/lib/AccountsService/users/<USER">

to select the session to run.

Setting XSession=xfce

in my profile gave me the session I wanted.

GRUMBLE
- totally undocumented interface
- shouldn't override existing mechanisms like /usr/bin/x-session-manager
and ~/.xsession
- should be included in gdm documentation.