View previous topic :: View next topic |
Author |
Message |
bushwacker n00b
Joined: 22 Feb 2004 Posts: 37 Location: Tacoma, WA
|
Posted: Sun Aug 15, 2004 8:56 pm Post subject: Configuring GDM login mgr for other GUIs besides GNOME |
|
|
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 |
|
|
dvang n00b
Joined: 19 May 2004 Posts: 25
|
Posted: Sun Aug 15, 2004 9:41 pm Post subject: |
|
|
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 |
|
|
bushwacker n00b
Joined: 22 Feb 2004 Posts: 37 Location: Tacoma, WA
|
Posted: Sun Aug 15, 2004 11:10 pm Post subject: |
|
|
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 |
|
|
dvang n00b
Joined: 19 May 2004 Posts: 25
|
Posted: Sun Aug 15, 2004 11:42 pm Post subject: |
|
|
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 |
|
|
|