You are not logged in.

#1 2015-09-25 22:18:51

rgkaizen
Member
Registered: 2015-09-25
Posts: 8

[SOLVED] startkde not executing when xorg starts

Hi everyone,

I've recently installed arch-linux for the first time, as well as xorg and plasma-5.

Xorg starts with no issues when my system boots, but plasma-5/kde does not.

Here's my /.xinitrc file

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec startkde

I can start kde normally with no issues, but it doesn't automatically start. Journalctl doesn't tell me anything and I don't know where xorg logs to.

Any ideas?

Last edited by rgkaizen (2015-09-25 23:07:50)

Offline

#2 2015-09-25 22:27:27

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] startkde not executing when xorg starts

rgkaizen wrote:

I can start kde normally with no issues, but it doesn't automatically start.

Have you set it up to start automatically?
https://wiki.archlinux.org/index.php/Xi … X_at_login

Alternatively, install a display manager (sddm is recommended for Plasma5) and set graphical.target as the default.

Offline

#3 2015-09-25 22:34:34

rgkaizen
Member
Registered: 2015-09-25
Posts: 8

Re: [SOLVED] startkde not executing when xorg starts

I did set up xorg to start up automatically and it does.
I have SDDM install although I'm not sure if its running correctly.

Which config should have this line: graphical.target ?

Edit: Looks like setting up SDDM with an example config solved a this issue and a few others. Thank you!

Onto the next issue smile

Last edited by rgkaizen (2015-09-25 22:38:44)

Offline

Board footer

Powered by FluxBB