PDA

View Full Version : gdm desktop selector


danjde
24th June 2010, 06:07 PM
Hi friends,
we are building from any years (...and only now we decide to write..GASP!) one live distribution named cosmogoniA Live! (www.cosmogonia.org)

in this remixed fedora live version we have put into three kind of desktop: gnome, kde and lxde/xfce

circumstances that:
the common user has no password,

the question is:
the gdm desktop selector on the bottom menu does not show the desktop switch before password request

...but if the password does not exist gdm throws you into the desktop default without showing the dektop selection

how to tell gdm to show immediately the switch dektop?

many many thanks!!

davide
Italy

Dies
25th June 2010, 12:57 AM
As far as I know, what you want is not possible, it's a corner case.

I think your best bet is to have a first run script that does the needed setup then deletes itself. It would be a simple script that just pops up a modal dialog window with available desktop choices, once the user makes a selection, it's written to .dmrc and X is restarted.

I would make the default GNOME desktop empty aside from wallpaper then place my script in ~/.config/autostart, if GNOME was selected then I could simply load a normal profile before restarting X.

Edit - Sorry, my suggestion assumes the use of autologin or timed login.

jpollard
25th June 2010, 01:25 AM

You could also try kdm... I believe it has a menu for selecting before even picking
the user.

Another possiblity is to define your own .xsession file that prompts for your chosen
window manager, then it can do any kind of prompting you want.

AceRoom
26th July 2010, 04:00 AM
@jpollard, yes. I use KDM these days and it has all three on the same page i.e. USERNAME, PASSWORD, SESSION so that should ideally work for the OP.

---------- Post added at 08:30 AM CDT ---------- Previous post was at 08:29 AM CDT ----------

Sorry, did not see that the last post was so long ago.