Page 1 of 3
Replacing gdm with slim (Arch)
Posted: 03 Nov 2010, 17:19
by b1o
You might want to uninstall GDM and use SLIM (Simple Login Manager) instead. Easier to configure than GDM and it's more lightweight.
Instructions are on the arch Wiki:
https://wiki.archlinux.org/index.php/SLiM
Re:Replacing gdm with slim
Posted: 04 Nov 2010, 01:51
by dedanna1029
Yeah, I've done that, just haven't figured out how to switch from gdm to it.
Re: Replacing gdm with slim
Posted: 04 Nov 2010, 16:24
by viking60
b1o will write a tip I am sure.
Re: Replacing gdm with slim
Posted: 04 Nov 2010, 17:24
by b1o
Well you install slim from pacman. then you remove gdm from rc.conf daemon list and replace it with slim.
Example Daemon list in rc.conf:
Code: Select all
DAEMONS=(syslog-ng @network @netfs @crond @acpid @hal @smbnetfs @samba @networkmanager slim)This will start slim on startup. Now to get gnome to start when you login you need to edit the .xinitrc in the home folders of the users you might have.
Here is my .xinitrc:
Code: Select all
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manage
exec ck-launch-session gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choiceThis should be enough to get slim up and running.
Re: Replacing gdm with slim
Posted: 04 Nov 2010, 17:34
by viking60
Well that is not going to help her. Nobody in their right mind starts gdm as a daemon in rc.conf, it is started in /etc/inittab so I guess she must comment out:
Code: Select all
x:5:respawn:/usr/sbin/gdm -nodaemon in inittab.
And add/uncomment this line:
Code: Select all
x:5:respawn:/usr/bin/slim >& /dev/null
Re: Replacing gdm with slim
Posted: 04 Nov 2010, 17:41
by b1o
Why is it better to start it from inittab?
Does it start faster or is it just the benefit of being started up again when the X server crashes?
Re: Replacing gdm with slim
Posted: 04 Nov 2010, 17:43
by dedanna1029
Ah, I got it from what you've posted b1o - thanks so much. Have no clue why I didn't think of it, but then the brain's been on other things lately.
Thanks again.

Re: Replacing gdm with slim
Posted: 04 Nov 2010, 17:46
by viking60
b1o wrote:Why is it better to start it from inittab?
Does it start faster or is it just the benefit of being started up again when the X server crashes?
Yes it starts faster and It respawns in the event of a crash. And it is more stable IMO.
Replacing gdm with slim
Posted: 04 Nov 2010, 17:49
by b1o
No problem. if you want to change the themes you should packman the slim-themes or the archlinux-themes-slim packages. these contain some good arch linux themes, and if you want to change the background you can just edit the background image in the theme folder. The themes should be located in /usr/share/slim/themes, and you edit which one to use in the /etc/slim.conf file
Re: gdm2setup in Arch isn't working
Posted: 04 Nov 2010, 18:10
by viking60
Hm that thing is refusing to log me in

Re: gdm2setup in Arch isn't working
Posted: 04 Nov 2010, 18:12
by b1o
That thing? are you sure you edited the .xinitrc in your home folder?
Re: gdm2setup in Arch isn't working
Posted: 04 Nov 2010, 18:13
by viking60
I am sure I did not! I used the inittab method. I get the nice looking login screen but it just refuses to accept the data.