Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuring GDM login mgr for other GUIs besides GNOME
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bushwacker
n00b
n00b


Joined: 22 Feb 2004
Posts: 37
Location: Tacoma, WA

PostPosted: Sun Aug 15, 2004 8:56 pm    Post subject: Configuring GDM login mgr for other GUIs besides GNOME Reply with quote

Hi, I have x.org all configured, but I have a small problem. X doesn't start automatically (you have to log on text-based and then do startx). I want to set GDM to start first, so that the user logs on from X instead of the console. I also have KDE installed, and XFCE.

How canI configure GDM to start up automatically, and have the ability to select other GUIs from the "Sessions" menu? The GDM manpage doesn't say a whole lot, and the comments in the gdm.conf file don't mention adding other graphical interfaces to the sessions menu. Any help would be greatly appreciated!

PS- I searched the forums here for such info, and I didn't seem to find much :|
_________________
Give me $, you insensitive clod!
Back to top
View user's profile Send private message
dvang
n00b
n00b


Joined: 19 May 2004
Posts: 25

PostPosted: Sun Aug 15, 2004 9:41 pm    Post subject: Reply with quote

To make gdm start automatically, do the following:

1. add xdm to startup scripts
Code:
rc-update add xdm default


2. edit /etc/rc.conf and uncomment the line that says:
Code:
DISPLAYMANAGER="xdm"

then also change xdm to gdm so that gdm starts instead

---

I can't remember where the new session files are kept at this point, so i will get back to u when i find them. They've been changed to a different location for some reason and maybe that is why you do not automatically have them in gdm anymore.
Back to top
View user's profile Send private message
bushwacker
n00b
n00b


Joined: 22 Feb 2004
Posts: 37
Location: Tacoma, WA

PostPosted: Sun Aug 15, 2004 11:10 pm    Post subject: Reply with quote

Thanks, I hope you can find it soon. I like using GNOME and XFCE, while my father (who actually owns and uses the laptop in question) prefers KDE.
_________________
Give me $, you insensitive clod!
Back to top
View user's profile Send private message
dvang
n00b
n00b


Joined: 19 May 2004
Posts: 25

PostPosted: Sun Aug 15, 2004 11:42 pm    Post subject: Reply with quote

Ok...

The gdm xsession files are located at /usr/share/xsessions

you may add files with names ending in .desktop (for example fluxbox.desktop)

my fluxbox.desktop looks like this:
Code:
[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Comment=This session logs you into Fluxbox
Exec=startfluxbox
TryExec=startfluxbox
# no icon yet, only the top three are currently used
Icon=
Type=Application


you can probably make kde.desktop look like the following:
Code:
[Desktop Entry]
Encoding=UTF-8
Name=KDE
Comment=This session logs you into KDE
Exec=startkde
TryExec=startkde
Icon=
Type=Application


just follow the above layout for your other xsession files...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum