You are not logged in.

#1 2016-04-12 20:09:33

Jinglesassy
Member
Registered: 2016-04-12
Posts: 5

KDE will not start after restart.

Hello, after I restarted my computer after some updates arch Linux boots to the terminal instead of the login manager. Attempting to start KDE with the startkde command results in the error " $DISPLAY is not set or cannot connect to the X server. Searching for that error message only found me topics of little value or were out of date

Running the command startx displays some text that goes by to fast to read and then leaves the screen showing https://imgur.com/J4ya3qB?rthis

With further attempts to do anything else on that TTY seeming to be not doing anything.

Trying startkde on another TTY after that results on the same message.  Any help would be appreciated. Thanks.

Offline

#2 2016-04-12 20:30:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: KDE will not start after restart.

Welcome to Arch Linux.

The picture you provided is an image of the twm environment you would expect to see if you ran startx with no ~/.xinitrc.   So, the X server works.
You do not run startkde by hand from a terminal.  You want to create a file called ~/.xinitrc that conatins the line startkde (at a minimum).  Then you run startx


Edit:  See :https://wiki.archlinux.org/index.php/Xinitrc

Edit2:  Moving to Newbie corner

Last edited by ewaller (2016-04-12 20:31:59)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-04-12 21:00:01

Jinglesassy
Member
Registered: 2016-04-12
Posts: 5

Re: KDE will not start after restart.

Thanks for the reply, after putting startkde into ~/xinitrc it worked after running startx, reboot still boots to the terminal not the KDE login manager but will figure that out on my own.

Not sure what would have caused this, only thing I had done in the previous session was run Paxman -Syu it updated a lot of the KDE packages then rebooted to this issue.

Offline

#4 2016-04-12 21:05:01

Rog131
Member
Registered: 2015-08-23
Posts: 90

Re: KDE will not start after restart.

'ewaller' posted a link to the Arch xinitrc - at the end is the: https://wiki.archlinux.org/index.php/Xi … mmand_line

You could try with the command:

startx /usr/bin/startkde

Image: http://i.imgur.com/SAM6Fms.gif

Do you get the Plasma desktop or some error messages ?


About 'after some updates'

Arch pacman wiki : https://wiki.archlinux.org/index.php/pacman

The pacman is keeping logs at: /var/log/pacman.log

Maybe they will show what happened.

Offline

#5 2016-04-12 21:44:34

Jinglesassy
Member
Registered: 2016-04-12
Posts: 5

Re: KDE will not start after restart.

Rog131 wrote:

'ewaller' posted a link to the Arch xinitrc - at the end is the: https://wiki.archlinux.org/index.php/Xi … mmand_line

You could try with the command:

startx /usr/bin/startkde

Image: http://i.imgur.com/SAM6Fms.gif


Do you get the Plasma desktop or some error messages ?

After putting startkde into ~/.xinitrc it booted into the plasma desktop with no errors. The ~/.xinitrc file was empty if that is any clue.

About 'after some updates'

Arch pacman wiki : https://wiki.archlinux.org/index.php/pacman

The pacman is keeping logs at: /var/log/pacman.log

Maybe they will show what happened.


Looking at the log file, I don't see anything out of the ordinary. Here it is if it is of any help.

[2016-04-12 15:09] [PACMAN] Running 'pacman -Syu'
[2016-04-12 15:09] [PACMAN] synchronizing package lists
[2016-04-12 15:09] [PACMAN] starting full system upgrade
[2016-04-12 15:09] [ALPM] transaction started
[2016-04-12 15:09] [ALPM] upgraded bluez (5.38-3 -> 5.39-1)
[2016-04-12 15:09] [ALPM] upgraded sqlite (3.11.1-1 -> 3.12.0-1)
[2016-04-12 15:09] [ALPM] upgraded xorg-server-common (1.18.2-4 -> 1.18.3-1)
[2016-04-12 15:09] [ALPM] upgraded xorg-server (1.18.2-4 -> 1.18.3-1)
[2016-04-12 15:09] [ALPM] upgraded bluedevil (1:5.6.1-1 -> 1:5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded bluez-libs (5.38-3 -> 5.39-1)
[2016-04-12 15:09] [ALPM] upgraded bluez-utils (5.38-3 -> 5.39-1)
[2016-04-12 15:09] [ALPM] upgraded kdecoration (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded breeze (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded breeze-gtk (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded breeze-kde4 (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kactivitymanagerd (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kde-cli-tools (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kde-gtk-config (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded khelpcenter (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded libksysguard (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kwayland (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded libkscreen (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded milou (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kscreenlocker (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kwin (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded plasma-integration (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kuiserver (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded plasma-workspace (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded khotkeys (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kinfocenter (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kmenuedit (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kscreen (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded ksshaskpass (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded ksysguard (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kwallet-pam (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kwayland-integration (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded kwrited (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded libsodium (1.0.9-1 -> 1.0.10-1)
[2016-04-12 15:09] [ALPM] upgraded oxygen (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded powerdevil (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded polkit-kde-agent (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded systemsettings (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded plasma-desktop (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded plasma-nm (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:09] [ALPM] upgraded plasma-pa (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:10] [ALPM] upgraded plasma-workspace-wallpapers (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:10] [ALPM] upgraded user-manager (5.6.1-1 -> 5.6.2-1)
[2016-04-12 15:10] [ALPM] transaction completed


Edit, Got it working fine again. Still not sure what caused it to get f'd up as literally the only thing that happened that boot was the update and restart. Either way it is now in the past. Thanks!

Last edited by Jinglesassy (2016-04-13 01:28:45)

Offline

Board footer

Powered by FluxBB