Replacing gdm with slim (Arch)
Moderators: b1o, jkerr82508
Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: gdm2setup in Arch isn't working
Thanks!
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Replacing gdm with slim
b1o wrote: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 choice
Question: Why do you have ck-launch-session before gnome-session, or at all? All that's needed is gnome-session? ck-launch-session is only recommended if there are problems with PolicyKit (which one should have disabled anyway... )
Also, what happens if I don't uninstall gdm first, but just replace gdm with slim in the conf file?
Thanks.
Edit: Also found a way to preview themes. From here:
To preview a theme run while an instance of the Xorg server is running by:Code: Select all
$ slim -p /usr/share/slim/themes/<theme name>
Sorry if I missed that before.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Replacing gdm with slim
dedanna1029 wrote:Question: Why do you have ck-launch-session before gnome-session, or at all? All that's needed is gnome-session? ck-launch-session is only recommended if there are problems with PolicyKit (which one should have disabled anyway... )
**TIP**: No. What happens is slim actually gives you issues with policykit. **ck-launch-session is a must**
dedanna1029 wrote:Also, what happens if I don't uninstall gdm first, but just replace gdm with slim in the conf file?
Absolutely nothing. You still get slim, because you've chosen it in /etc/inittab. You can keep gdm, kdm, and whatever other login managers installed.
I got it now, and am using slim for my login manager now fully - I *was* using gdm, with a slim theme, but have it totally switched over now. Thanks, guys.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: HowTo set up slim!
viking60 wrote:You need to make some changes in /etc/slim.conf. Look for this section and change it so it looks like the one below:Code: Select all
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
--->sessions gnome,kde,xfce4,icewm,wmaker,blackbox
Basicaly I have added gnome and kde to the sessions list. The first one is your default environment.
Log out and press F1 to pick your environment and log in - that's it. It works.
Question: If one wants to add gnome classic, razorqt, and openbox to the sessions line, what do we add? What are the commands for them? I'm working on the Mageia DM wiki at https://wiki.mageia.org/en/Display_Mana ... y_Managers - they had some wrong things there for SLiM.
Thanks.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Replacing gdm with slim (Arch)
openbox-session, razor-session and gnome-session should do it.
Gnome is started in the same way - it depends what version you have installed.
And yes that wiki is wrong: Slim does support the choice of multiple desktops if you set it up with multiple environments. You can toggle them with F1 on the login screen
Your ~/.xinitrc could contain something like this:
Remember to start the service with systemd.
Gnome is started in the same way - it depends what version you have installed.
And yes that wiki is wrong: Slim does support the choice of multiple desktops if you set it up with multiple environments. You can toggle them with F1 on the login screen
Your ~/.xinitrc could contain something like this:
Code: Select all
DEFAULT_SESSION=openbox-session
case $1 in
kde)
exec startkde
;;
gnome)
exec gnome-session
;;
icewm)
icewmbg &
icewmtray &
exec icewm
;;
e17)
exec enlightenment_start
;;
razorqt)
exec razor-session
;;
*)
exec $DEFAULT_SESSION
;;
Remember to start the service with systemd.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Replacing gdm with slim (Arch)
Actually, in slim.conf, the line is (I did some hunting around since last post):
I had a look at the other DMs, and got it figured out. I changed the wiki as well for Mageia.
So, now that I have all this working on Mageia 2, I think it's time to upgrade to 3.
Thanks, and later.
Code: Select all
# Available sessions (first one is the default).
# The current chosen session name is replaced in the login_cmd
# above, so your login command can handle different sessions.
# see the xinitrc.sample file shipped with slim sources
sessions GnomeClassic,GNOME,xfce4,IceWM,WindowMaker,Openbox,KDE4,LXDE,drak3d,awesome,enlightenment,icewm-session
I had a look at the other DMs, and got it figured out. I changed the wiki as well for Mageia.
So, now that I have all this working on Mageia 2, I think it's time to upgrade to 3.
Thanks, and later.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
Re: Replacing gdm with slim (Arch)
Well it is not here - in my slim.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"
"There are no stupid questions - Only stupid answers!"
- dedanna1029
- Sound-Berserk
- Posts: 8780
- Joined: 14 Mar 2010, 20:29
- Contact:
Re: Replacing gdm with slim (Arch)
The point being, that if you want to add Gnome fallback (Classic) to it, you can, among others. That's my edited slim.conf, and it works fine.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html