You are not logged in.
Pages: 1
Topic closed
I'm trying to get `slim` working by the systemd method, but I get the following:
[root@arch ~]# systemctl enable slim.service
Failed to issue method call: File exists
I've tried other display managers like qingy, lxdm, etc. and they all provide this same message. I was also able to get the display manager to work using the `inittab` method, but I'm trying to have a full systemd integration.
Not sure if it matters, but I was previously able to get the above `systemctl enable` command to work with gdm. Later, I decided that I wanted a more lightweight display manager so I switched to `slim` and proceeded to uninstall `gdm`. However, it now seems I'm unable to `systemctl enable` any display manager. I appreciate your help!
Last edited by nil (2012-10-21 18:47:03)
Offline
Ah, got it working! I'll leave the documentation/answer here in case anyone else is as dumb as me.
After uninstalling the previous display manager (gdm in this case), you need to disable it from systemctl, since pacman won't do it for you. Hence, all you need to do is
systemctl disable gdm.service
systemctl enable slim.service
and it works.
Last edited by nil (2012-10-21 18:46:49)
Offline
I have the same problem. I uninstalled lightdm and installed gdm and not I can't seem to enable gdm. It starts fine.
[arch@arch ~]$ systemctl list-unit-files | grep lightdm
[arch@arch ~]$ systemctl list-unit-files | grep gdm
gdm.service disabled
[arch@arch ~]$ systemctl list-unit-files | grep display
display-manager.service enabled
[arch@arch ~]$ sudo systemctl disable display-manager.service
Failed to issue method call: No such file or directory
[arch@arch ~]$ sudo systemctl disable lightdm.service
Failed to issue method call: No such file or directory
[arch@arch ~]$ sudo systemctl disable gdm.service
[arch@arch ~]$ sudo systemctl enable gdm.service
Failed to issue method call: File exists
[arch@arch ~]$ systemctl list-unit-files | grep gdm
gdm.service disabled
Offline
sudo systemctl enable gdm.service -f
Offline
Wanted to install slim but unable to enable it through systemd, facing the same issue.
Offline
I have the same problem.
sudo systemctl enable slim.service -f
rm '/etc/systemd/system/display-manager.service'
ln -s '/usr/lib/systemd/system/slim.service' '/etc/systemd/system/display-manager.service'
sudo systemctl list-unit-files | grep slim
slim.service enabled
Offline
luckyao, how is that a problem? It looks like it worked fine.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
sudo systemctl enable gdm.service -f
Thanks for this. It helped me.
Offline
Thank you xD
Offline
joacoej, you recently stated that you read through the complete forum rules. Yet here you just necrobumped and empty-posted. Both of these are advised against.
Closed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1
Topic closed