Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 03-14-2010, 12:27 PM   #1
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
How to change GDM`s default session ?


I installed Fedora 12 LXDE spin and its default session was LXDE. Then I downloaded XFCE and tried to change the default session of GDM to XFCE. I edited ~/.dmrc and /etc/sysconfig/desktop but this didn`t change anything. I was unable to find where GDM stores its default setting.

Is there any way to change GDM default session?

And more important: is there any way to make GDM to store different default sessions for different users?
Old 03-14-2010, 01:45 PM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Old 03-14-2010, 02:33 PM   #3
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Original Poster
Rep: Reputation: 19
I tried to modify ~/.dmrc and /etc/sysconfig/desktop, also tried switchdesk. It works when I login without gdm. When I`m using GDM, default session (italic font) is LXDE. I can manualy select other but I want to change it permanently. How?
Old 11-09-2017, 06:17 PM   #4
LQ Newbie
Registered: Jul 2003
Distribution: VMs of as many as possible, Ubuntu/openSUSE most often
Posts: 5

Rep: Reputation: 0
According to the Gnome documentation /var/lib/AccountsService/users/<username> is the file you need to change the XSession= line in to change your user's default session. You may have a file for the gdm user already. You can copy that one and change SystemUser to false and add the session name after XSession=. Keep in mind the session name needs to exist as a .desktop file in /usr/share/xsessions/ or if you are using a custom ~/.xsession you can put "default" and it will search for your .xsession file and run it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
default session change DJOtaku Linux - General 3 05-23-2009 06:55 AM
How Do I Change My Default Session? I'm Not Using GDM Mark7 Ubuntu 6 11-21-2008 03:57 PM
GDM doesn't prompt me for default session nuzzy Linux - Software 1 11-14-2004 09:56 AM
Change Login Session list for GDM... williamp0044 Linux - Software 1 10-10-2004 07:27 PM
Default session in gdm Komakino Linux - Software 3 09-04-2004 08:37 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration