[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] stop and start x-server from console
From:       Istvan Gabor <suseuser04 () freemail ! hu>
Date:       2013-12-31 0:11:33
Message-ID: freemail.20131231011133.74044.1 () xmldata08 ! freemail ! hu
[Download RAW message or body]



"Carlos E. R." <robin.listas@telefonica.net> írta:
>On 2013-12-30 23:03, Istvan Gabor wrote:
>> Felix Miata <> írta:
>
>
>> I replaced systemd-sysvinit with sysvinit-init, rebooted, and it does not work.
>>
>> When I issue 'init 3' in a terminal (eg. vt2) it gives:
>>
>> # init 3
>> INIT: Switching to runlevel: 3
>> # Master Resource Control: previous runlevel: 5, switching to runlevel:     3
>> Master Resource Control: Running /etc/init.d/before.local                   done
>> killproc: Usage:
>>      killproc [-v] [-q] [-L] [-g|-G] [-N] [-p pid_file] [-i ingnore_file] \
>>          [-c root] [-t<sec>] [-SIG] /full/path/to/executable
>>      killproc -l                                                             done
>> Master Resource Control: Running /etc/init.d/after.local                   done
>> Master Resource Control: runlevel 3 has been                               reached
>>
>> However the x-window is not stopped.
>>
>> I checked /etc/init.d/rc3.d directory and found there is no K*xdm file in it.
>> I don't know if it is normal or not.
>>
>> I can not stop xdm manually either:
>>
>> # /etc/init.d/xdm stop
>> killproc: Usage:
>>      killproc [-v] [-q] [-L] [-g|-G] [-N] [-p pid_file] [-i ingnore_file] \
>>          [-c root] [-t<sec>] [-SIG] /full/path/to/executable
>>      killproc -l
>>
>> X server is not stopped.
>
>There is some bug in that file.
>
>
>Are you really using xdm? Won't it be kdm, or kdm3, or kdm4, or gdm?
>
>The one you really use must match the "DISPLAYMANAGER" entry in the "/etc/sysconfig/displaymanager" 
>file.


That is set to kdm3.

# cat /etc/sysconfig/displaymanager |grep DISPLAYMANAGER=
DISPLAYMANAGER="kdm3"

But there is no kdm3 script in /etc/init.d/ to start/stop kdm3.

I can stop kdm3 by killing it (kill xxxx).

init 5 then restarts kdm3, it seems that part is OK.

Now I have to trace why kdm3 is not stopped by init 3.

Thanks you,

Istvan

--
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse+owner@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic