How to change Fedora 19 login manager?
Hello,
I've been trying to change my Fedora 19 (running as a guest in VirtualBox 4.3.2) login manager from lightdm to SLiM and CDM to give them a try. So far, I've tried to change /etc/sysconfig/desktop so that the entire file is: PREFERRED=/usr/bin/startxfce4 DISPLAYMANAGER=/usr/bin/slim I've also tried DISPLAYMANAGER=/usr/bin/slim-dynwm, and DISPLAYMANAGER=/usr/bin/cdm, but non of that seem to do anything, and I still end up with the same lightdm login screen. There was a post that mentioned /etc/X11/prefdm but the file does not exist on my system. Also, the posts I've seen so far are all years old, maybe the relevant files have changed? Am I doing something wrong? What should I be doing? Is there documentation for this? |
Just guessing here .. the slim package should provide a systemd service file located under /usr/lib/systemd/system/, then you could try linking display-manager.service to it:
Code:
ln -s -f /usr/lib/systemd/system/<slim?>.service /etc/systemd/system/display-manager.service |
Aw man, I recently battled with this in F19 too. I think enabling the systemd service of the new login manager was what I had to do as well, also had to disable the service of the old login manager IIRC.
|
Quote:
OK, so a few things happened: (1) I managed to find /usr/lib/systemd/system/slim.service, but there is no cdm.service at that place. Is there another way to set up CDM? (2) I ran: Code:
ln -s -f /usr/lib/systemd/system/slim.service /etc/systemd/system/display-manager.service Thank you! |
There should be a config file for slim, try running 'rpm -ql slim' and see what you can find .. maybe /etc/slim.conf or something similar. Take a look at the file and if it's not commented thoroughly you may be able to do a 'man 5 slim.conf'
Actually I'll see if I can get it working on mine and get back to you ... |
Hmm .. I couldn't get it going in a reasonable amount of time but I did find that the correct way to enable slim is:
Code:
systemctl enable slim.service Code:
systemctl enable lxdm.service |
Quote:
Quote:
Code:
# Path, X server and arguments (if needed) Quote:
Does anyone still have any ideas? Thanks! |
Sorry .. I missed one param:
Code:
systemctl enable --force slim.service |
Quote:
What can I do to solve this? Thanks! |
Not a lot of experience with slim, but have a few ideas. 1) Has the lightdm display manager been disabled with systemctl? Might be they are conflicting with each other. 2) other web posts I have seen on problems with login tend to be something with xauth or the authfile. Make sure what you have in slim.conf exists, in particular /usr/bin/xauth and /var/run/slim/slim.auth.
I did not find a bug in bugzilla, but found a known issue on the archlinux wiki. Might be worth a bug report. |
If you haven't found the solution to this you might signup for the Fedora user list and ask there. YMMV
edit: try this link: http://forums.fedoraforum.org/showthread.php?t=52 |
I checked, and turns out that I really don't have /var/run/slim/slim.auth, maybe that is the problem? But I don't really know how to set up such a file. Mayble I will ask the Fedora forums.
I will report back if I manage to figure anything out. Thanks! |
All times are GMT -5. The time now is 02:54 AM. |