You are not logged in.
Hello all of you lovely people of Arch Linux World.i had installed KDE 5.10.1 on my Arch Linux pc now it does not start automatically my .xinitrc which is in root directory contain this :
#!/bin/sh
source $HOME/.xprofile
exec startkde
i always have to login first than type:systemctl start sddm than it starts.......
Please help me i can't figure out how to start it automatically i had searched google but doesn't find anything.
Thanks In Advance.........
Last edited by mcctrixasylin (2017-06-12 08:31:27)
Offline
i had installed KDE 5.10.1 on my Arch Linux pc now it does not start automatically my .xinitrc which is in root directory contain this :
#!/bin/sh
source $HOME/.xprofile
exec startkde
See Xinit#xinitrc to fix the .xinitrc. See Xinit#Autostart_X_at_login if you wish to autostart X at login. It is not advisable to start a graphical environment as root.
i always have to login first than type:systemctl start sddm than it starts.......
That will start SDDM not KDE. It will also not enable the service so that it will start on boot. SDDM is a display manager and an alternative to using startx / xinit that use .xinintrc.
Please help me i can't figure out how to start it automatically i had searched google but doesn't find anything.
What search terms did you use?
Edit:
Fixed grammar missing capitalization.
Last edited by loqs (2017-06-11 11:55:07)
Offline
xinitrc is irrelevant if you are using a display manager.
xinitrc should not be in your root users directory: if you are going to use xinit/startx that file needs to be in your users directory.
I don't know how you have searched and not found our wiki:
https://wiki.archlinux.org/index.php/KD … ing_Plasma
If you want to use sddm there is a page for that too:
https://wiki.archlinux.org/index.php/SDDM
If you want a service started at every boot, there is a page for that too:
https://wiki.archlinux.org/index.php/Sy … sing_units
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I had copied xinitrc from root touser directory and when i got error for startx i also created xprofile in user directory now startx is working perfectly but still kde do not start automatically
Offline
Then read some of the links you were provided with.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
# systemctl enable sddm && systemctl start sddm
C++ and KDE = PRAISE THE SUN!
Offline
Solved.my .xinitrc contain exec startkde and than i start systemctl enable sddm than everything works fine...........
Offline
Solved.my .xinitrc contain exec startkde and than i start systemctl enable sddm than everything works fine...........
xinitrc is irrelevant if you are using a display manager.
@vegangaro please see vampires specifically #2: Cease Enabling Behavior ( adding commands that were already provided on linked wiki pages can lead to learned helplessness )
Offline