LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-14-2010, 11:27 AM   #1
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

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


Hi,

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, 12:45 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
http://linux.derkeiler.com/Mailing-L...5-01/0471.html
 
Old 03-14-2010, 01:33 PM   #3
witek
Member
 
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, 05:17 PM   #4
dragon_788
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.
 
  


Reply


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 05:55 AM
How Do I Change My Default Session? I'm Not Using GDM Mark7 Ubuntu 6 11-21-2008 02:57 PM
GDM doesn't prompt me for default session nuzzy Linux - Software 1 11-14-2004 08:56 AM
Change Login Session list for GDM... williamp0044 Linux - Software 1 10-10-2004 06:27 PM
Default session in gdm Komakino Linux - Software 3 09-04-2004 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:01 AM.

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