You are not logged in.

#1 2005-03-17 17:18:24

pkmorrison
Member
Registered: 2005-02-23
Posts: 15

kdm disappeared after 3.4 upgrade

after this upgrade the kdm startup script disappeared from rc.d
how do i restore it or is there a new equivalen?

Offline

#2 2005-03-17 17:23:44

puntmuts
Member
Registered: 2005-02-22
Posts: 138

Re: kdm disappeared after 3.4 upgrade

You can create this file using an editor:

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

PID=`pidof -o %PPID /opt/kde/bin/kdm`
case "$1" in
  start)
    stat_busy "Starting KDE Desktop Manager"
    [ -z "$PID" ] && /opt/kde/bin/kdm &>/dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      echo $PID > /var/run/kdm.pid
      add_daemon kdm
      stat_done
    fi
    ;;
  stop)
    stat_busy "Stopping KDE Desktop Manager"
    [ ! -z "$PID" ]  && kill $PID &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon kdm
      stat_done
    fi
    ;;
  restart)
    $0 stop
    sleep 3
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"
esac
exit 0

It is still there on my machine using the new KDE 3.4 version, so there is probably something wrong.


Out / Gone
Mirgrating all my machines off ArchLinux . No longer part of the ArchLinux community / users .
Done. Goodbye.

Offline

#3 2005-03-17 17:27:13

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: kdm disappeared after 3.4 upgrade

pkmorrison wrote:

after this upgrade the kdm startup script disappeared from rc.d
how do i restore it or is there a new equivalen?

I had this problem as well. Reinstalling it a second time (pacman -S kde) put it back. Its part of the pacman bug.

Offline

#4 2005-03-17 17:34:46

pkmorrison
Member
Registered: 2005-02-23
Posts: 15

Re: kdm disappeared after 3.4 upgrade

thanks guys
reinstalling did the trick

Offline

#5 2005-03-17 19:21:43

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: kdm disappeared after 3.4 upgrade

Note that, according to the KDE wiki, you should have removed KDE completely (pacman -Rd kde) before installing the new version. KDM might not be the only problem.

Offline

#6 2005-03-17 22:00:26

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: kdm disappeared after 3.4 upgrade

IceRAM wrote:

Note that, according to the KDE wiki, you should have removed KDE completely (pacman -Rd kde) before installing the new version. KDM might not be the only problem.

I have tried it both ways on two different machines: Upgrading the old and removing, then reinstalling the new twice after that. This yielded the same exact results as removing the old then reinstalling the new twice. I wouldn't be concerned, pk with your method but to everyone else do as the wiki says and deinstall the old kde first.
wiki:
http://wiki2.archlinux.org/index.php/KDE

Offline

Board footer

Powered by FluxBB