I think "startx" command is deprecated now and you shouldn't use it
anymore. Right way to start DE is by starting display manager service.
This command should work in your case:
    $ sudo systemctl start sddm.service



On 17.10.2017 18:55, Stephane L wrote:
> Hi, Alexander
> I Want to boot debian 9 in multi user mode (console),then do something
> then and then to startx kde5/xorg with startx as I do with debian8/kde4
>
>
> Le Mardi 17 octobre 2017 14h46, Alexander V. Makartsev
> <avbe...@gmail.com> a écrit :
>
>
> What are you trying to archieve? If you want to start DE you better
> launch it by starting your display manager (gdm in my case):
>     $ sudo systemctl start gdm.service
>
>
> On 17.10.2017 17:24, Stephane L wrote:
>> do I need too to make a .xinitrc with something like /usr/bin/startkde ?
>>
>>
>> Le Mardi 17 octobre 2017 14h11, Alexander V. Makartsev
>> <avbe...@gmail.com> <mailto:avbe...@gmail.com> a écrit :
>>
>>
>> Assuming you have systemd, you have to change final target from
>> graphical to multi-user.
>> This shows possible targets:
>>     $ sudo systemctl list-units --type=target
>>
>> This will show what target is default:
>>     $ sudo systemctl get-default
>>
>> This will set default target to "console mode" you want:
>>     $ sudo systemctl set-default multi-user.target
>>
>> This will redo the changes if you ever will want to start DE by default:
>>     $ sudo systemctl set-default graphical.target
>>
>> You have to reboot to apply changes.
>>
>>
>>
>> On 17.10.2017 16:59, Stephane L wrote:
>>> Hi I have tried to remove sddm from /etc/init.d but it starts always
>>> with sddm.I want to boot my debian 9 in console mode and do startx
>>> to launch kde5 as I do with debian 8 and kde4.does anyone know
>>> exactly how to do that ?
>>
>> -- 
>> With kindest regards, Alexander.
>>
>> ⢀⣴⠾⠻⢶⣦⠀ 
>> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org <https://www.debian.org/>
>> ⠈⠳⣄⠀⠀⠀⠀ 
>>
>>
>>
>
> -- 
> With kindest regards, Alexander.
>
> ⢀⣴⠾⠻⢶⣦⠀ 
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org <https://www.debian.org/>
> ⠈⠳⣄⠀⠀⠀⠀ 
>
>
>

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Reply via email to