Author Topic: [solved] kdm.service has gone missing  (Read 6473 times)

0 Members and 1 Guest are viewing this topic.

Offline James T

  • Sr. Mitglied
  • ****
  • Posts: 289
[solved] kdm.service has gone missing
« on: 27. August 2012, 06:34:45 »
I have the KDE version of Manjaro running in a VM.

Sometime late yesterday or early today (I'm not quite sure which), kdm stopped being started on boot, and I was left at the console login. X starts fine with startx from the console.
I assumed at first that it was related to an issue with virtual box on the (Kubuntu) host machine that caused various problems with with several guest systems. But when most of the others resumed normal behaviour on a reboot of the Kubuntu machine, I looked a bit deeper. It appears the display manager service is pointing to a non-existent target, in /etc/systemd/system, there is a link:
Code: [Select]
display-manager.service -> /usr/lib/systemd/system/kdm.service
But /usr/lib/systemd/system/kdm.service does not exist, and nor is there any file called kdm.service in /usr.

I tried reinstalling systemd-manjaro-units without any effect.

I'm not sure if this is related  to http://forum.manjaro.cppdev.de/index.php/topic,68.msg367.html#msg367 or not (which is where I found the suggestion of reinstalling  systemd-majaro-units).
« Last Edit: 30. October 2012, 16:03:02 by philm »

Offline guinux

  • Core Team
  • *****
  • Posts: 328
    • Manjaro
  • Branch: unstable
  • Desktop: Xfce
  • Skill: Guru
Re: kdm.service has gone missing
« Reply #1 on: 27. August 2012, 09:38:34 »
It's our fault try:
Code: [Select]
sudo systemctl disable kdm.service
Code: [Select]
sudo systemctl enable kdm-plymouth.service

Offline James T

  • Sr. Mitglied
  • ****
  • Posts: 289
Re: kdm.service has gone missing
« Reply #2 on: 27. August 2012, 14:11:20 »
Thanks. That solved the problem.

Offline h4nn35

  • Neuling
  • *
  • Posts: 4
Re: kdm.service has gone missing
« Reply #3 on: 27. August 2012, 21:16:09 »
Thx! Worked for me too.

Offline Kepsz

  • Neuling
  • *
  • Posts: 3
Re: [solved] kdm.service has gone missing
« Reply #4 on: 12. September 2012, 11:40:58 »
Freshly installed and updated Manjaro KDE x86.
Code: [Select]
$ sudo systemctl disable kdm.service
Failed to issue method call: No such file or directory
$ sudo systemctl enable kdm-plymouth.service
Failed to issue method call: File exists

$ uname -a
Linux manjaro 3.4.10-2-MANJARO #1 SMP PREEMPT Thu Sep 6 23:29:02 CEST 2012 i686 GNU/Linux

Output of sudo systemctl: http://pastebin.ca/2203455


So i need some help to get back KDE withouth startx.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [solved] kdm.service has gone missing
« Reply #5 on: 12. September 2012, 14:08:50 »
Try this:

Code: [Select]
sudo systemctl disable kdm.service
sudo systemctl disable kdm-plymouth.service
sudo systemctl enable kdm-plymouth.service

Offline Kepsz

  • Neuling
  • *
  • Posts: 3
Re: [solved] kdm.service has gone missing
« Reply #6 on: 12. September 2012, 14:24:54 »
Code: [Select]
sudo systemctl disable kdm-plymouth.service command runs down, but the other 2 command gaves the same error like before.

Offline MeV

  • Neuling
  • *
  • Posts: 4
Re: [solved] kdm.service has gone missing
« Reply #7 on: 12. September 2012, 15:55:55 »
Hi,

I faced the same problem and was able to solve it by reinstalling kdebase-workspace :
Code: [Select]
sudo pacman -S kdebase-workspace
Then the commands given by philm executed correctly :
Code: [Select]
sudo systemctl disable kdm.service
sudo systemctl enable kdm-plymouth.service

Offline Kepsz

  • Neuling
  • *
  • Posts: 3
Re: [solved] kdm.service has gone missing
« Reply #8 on: 12. September 2012, 16:34:07 »
Thank you, that was the solution.

Code: [Select]
sudo pacman -S kdebase-workspace
warning: kdebase-workspace-4.8.4-3 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): kdebase-workspace-4.8.4-3

Total Download Size:    27.54 MiB
Total Installed Size:   74.26 MiB
Net Upgrade Size:       0.00 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 kdebase-workspace-4.8.4-3-i686                               27.5 MiB  2.27M/s 00:12 [##################################################] 100%
(1/1) checking package integrity                                                      [##################################################] 100%
(1/1) loading package files                                                           [##################################################] 100%
(1/1) checking for file conflicts                                                     [##################################################] 100%
(1/1) checking available disk space                                                   [##################################################] 100%
(1/1) upgrading kdebase-workspace                                                     [##################################################] 100%

$ sudo systemctl disable kdm.service
rm '/etc/systemd/system/display-manager.service'

$ sudo systemctl enable kdm-plymouth.service
ln -s '/usr/lib/systemd/system/kdm-plymouth.service' '/etc/systemd/system/display-manager.service'

After a restart, KDE works and i got back the restart and shutdown buttons wich somehow disappeard after the previous update. (i use only pacman for installing or updating)
« Last Edit: 12. September 2012, 16:35:55 by Kepsz »

Offline MeV

  • Neuling
  • *
  • Posts: 4
Re: [solved] kdm.service has gone missing
« Reply #9 on: 12. September 2012, 16:43:59 »
The shutdown and restart disappeared for me too but I think (not sure) it's because KDE was launched with startx.
The only available option was to log off to get back to the tty...

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [solved] kdm.service has gone missing
« Reply #10 on: 16. September 2012, 23:45:40 »
Starting it with startx you have those options not available. That's normal ...