PDA

View Full Version : [ubuntu] How to set up different gdm session for each user



victor.cighir
August 14th, 2009, 09:44 AM
Hello Ubuntu Forum users and gurus!


I have the following problem: on an Ubuntu 9.04 installation I have installed the following desktop environments and managers : Gnome, KDE , XFCE and Fluxbox.

Also, I use gdm as my session manager.


My question is , how can I configure gdm to use different desktop environments for each of my users ?

For example ,

USER 1 uses gnome
USER 2 -> Fluxbox
USER 3 -> KDE

Each time USER1 logs in, gnome should load without him having to explicitly select Gnome from the sessions menu. The same for the other users.


Thanks,
Victor

Brandon Williams
August 15th, 2009, 06:01 PM
That should happen automatically. For each user, there is a file called ~/.dmrc that stores the name of the session that the user most recently logged in with. Each of your users should have different content in their own ~/.dmrc file.

victor.cighir
August 15th, 2009, 07:04 PM
That should happen automatically. For each user, there is a file called ~/.dmrc that stores the name of the session that the user most recently logged in with. Each of your users should have different content in their own ~/.dmrc file.

Thank you Brandon. I now realize how obvious it was... Sorry for posting this silly question.

My hope is that this post will be cached in google and somebody will find it useful in the future. I searched google and the Ubuntu forums and nothing popped out.

Thank you again!

stimpyaw
August 7th, 2010, 10:02 AM
I'm having a similar issue, I'm using Ubuntu 10.04 and would like to set one of the users of a laptop to login using "netbook-launcher-efl" that is part of the 10.04 package. I haven't found a way to set a user to "netbook-launcher-efl" when the click on there name when login into the laptop.

Any help on this would be great.

UPDATE: figured it out, found the user folders with the '.drmc' file under '/var/cache/gdm/[user short name]'.