I did a basic installation of openSUSE 13.1 with the idea of installing cinnamon and lightdm.
Installed everything, including xorg, intel drivers and lightdm but when I run ‘systemctl enable lightdm.service’ I get a ‘failed to issue method call, file not found’ error.
I checked /etc/systemd/system and there’s nothing related to lightdm there, so something’s missing.
No.
X ist started by /etc/init.d/xdm. You can enable it with “systemctl enable xdm.service”, but it should be enabled by default anyway.
But maybe you have to set the default target to “graphical” or “runlevel5”. Use “systemctl get-default” to see the current setting and run “systemctl set-default runlevel5.target” to set it accordingly.
Or use YaST->System->Services Manager.
xdm.service runs the corresponding display manager according to the configuration in /etc/sysconfig/displaymanager (“DISPLAYMANAGER”).
Set this to “lightdm” and it should be used.
I have never used Lightdm, but I suspect that your systmctl approach is wrong. To select e.g. kdm, gdm, xdm, the /etc/sysconfig//displaymanager file is edited.
You can either use a text editor to set the appropriate value for “DISPLAYMANAGER”, or use YaST >> System >> sysconfig editor > Display manager> DISPLAYMANAGER.
systemctl set-default runlevel5.target
This gives me an error. get-default tells me the runlevel is 3.
I also tried changing “xdm” to “lightdm” in sysconfig and it still gets me to runlevel 3.
Then try:
systemctl set-default graphical.target
Or use YaST->Services Manager as already said.
I also tried changing “xdm” to “lightdm” in sysconfig and it still gets me to runlevel 3.
Of course. This only tells xdm.service which DM to run, but it doesn’t change the default target/runlevel.