Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma only shows debugging text after loading[SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Mon Jan 29, 2018 10:07 pm    Post subject: Plasma only shows debugging text after loading[SOLVED] Reply with quote

Hello,

I'm having an issue with KDE Plasma where it loads and successfully shows the KDE splash screen, then reverts to terminal and only shows scrolling debugging text. It happened after the most recent KDE update and a kernel recompile. I'm not sure which if either caused it, because I hadn't rebooted my computer between performing those two tasks. I've verified that X is functioning properly by renaming .xinitrc and emerging twm, xclock, and xterm. That environment worked just fine, so it's certainly a Plasma issue. I'm not sure, however, where to start troubleshooting this. I'm considering unmerging plasma-meta then re-emerging the desktop environment, but I'm looking for some feedback before I start that time consuming task. Any advice is appreciated!


Last edited by EugeneTheJeep on Wed Jan 31, 2018 12:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Mon Jan 29, 2018 10:13 pm    Post subject: Reply with quote

It is not very efficient to open a new thread when you provided relevant logs already elsewhere.

EugeneTheJeep wrote:
Code:

$ startx
xauth:  file /home/jeep/.serverauth.26306 does not exist

Code:
rm ~/.Xauthority
Back to top
View user's profile Send private message
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Mon Jan 29, 2018 10:24 pm    Post subject: Reply with quote

Quote:

It is not very efficient to open a new thread when you provided relevant logs already elsewhere.


It was what I was instructed to do by an admin.

Quote:

rm ~/.Xauthority


Thank you. However, the behavior persists.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Mon Jan 29, 2018 10:33 pm    Post subject: Reply with quote

asturm,

I asked for a new thread, as I am not a KDE user.
Lots of reads will miss a change in topic but the unanswered posts search helps spot new issues.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Mon Jan 29, 2018 10:50 pm    Post subject: Reply with quote

I recorded a short video of the behavior so it was clear what is going on. At about the 45 second mark I CTRL+C out, and it eventually returns to the terminal prompt.

https://youtu.be/63deZHfIudg

Also, I will gladly repost any logs here that are relevant to the thread.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Wed Jan 31, 2018 10:54 am    Post subject: Reply with quote

Hi,

I have the same issue since last time. After startx, I could see the KDE logo for a moment, and then just debbuging text. I need to manually (by alt+F7) switch into graphic console (which has some graphic issue as well).

I use a laptop.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Wed Jan 31, 2018 10:59 am    Post subject: Reply with quote

Do you for some reason have both systemd and consolekit installed?
Back to top
View user's profile Send private message
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Wed Jan 31, 2018 12:37 pm    Post subject: Reply with quote

Quote:

Do you for some reason have both systemd and consolekit installed?


I use openrc; I don't have systemd installed...

Code:

~ $ eix --installed systemd
No matches found


Quote:

I have the same issue since last time. After startx, I could see the KDE logo for a moment, and then just debbuging text. I need to manually (by alt+F7) switch into graphic console (which has some graphic issue as well).


Yes, thank you. I actually figured it out last night, but yeah now I need to manually alt+F7 to reach desktop. Actually NeddySeagoon suggested the same, but he put alt+ctrl+F7 so I missed it the first time around. I should have known that's what he meant since I already knew how to switch terminals.

Anyways, thanks to both you Xywa and NeddySeagoon for helping me figure it out.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Thu Feb 01, 2018 3:50 am    Post subject: Reply with quote

As a minor technical note: Alt+Fn works on the Linux console and is handled by the kernel. When X is running, you must use Ctrl+Alt+Fn and the key sequence is handled by the X server, which for convention does the same as the kernel would have done for plain Alt+Fn. If your X server is sufficiently broken, you might get into a state where the kernel's Alt+Fn works, but the X server's Ctrl+Alt+Fn fails.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Feb 01, 2018 9:50 am    Post subject: Reply with quote

asturm wrote:
Do you for some reason have both systemd and consolekit installed?


I have:
Code:
*  sys-apps/systemd
      Latest version available: 236-r5
      Latest version installed: [ Not Installed ]


Code:
*  sys-auth/consolekit
      Latest version available: 1.2.0
      Latest version installed: 1.2.0


What do you think makes this problem, as for the last 12 years (or more) I never had such issue.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Feb 01, 2018 10:03 am    Post subject: Reply with quote

Because someone recently reported a similar issue that was gone after removing consolekit.

...not sure if 12 years ago you had systemd installed.
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Feb 01, 2018 10:50 am    Post subject: Reply with quote

asturm wrote:
Because someone recently reported a similar issue that was gone after removing consolekit.

...not sure if 12 years ago you had systemd installed.


So should I remove consolekit?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Feb 01, 2018 10:56 am    Post subject: Reply with quote

Just try? What does it do on your systemd system anyway?
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Thu Feb 01, 2018 11:05 am    Post subject: Reply with quote

asturm wrote:
Just try? What does it do on your systemd system anyway?


After removing, emerge -uDN world did put it back.

Code:
# equery d consolekit
 * These packages depend on consolekit:
kde-plasma/powerdevil-5.11.5 (consolekit ? >=sys-auth/consolekit-1.0.1)
net-misc/networkmanager-1.8.4 (consolekit ? >=sys-auth/consolekit-1.0.0)
sys-apps/accountsservice-0.6.45 (!elogind ? sys-auth/consolekit)
sys-auth/pambase-20150213-r1 (consolekit ? sys-auth/consolekit[pam])
sys-auth/polkit-0.113-r4 (!elogind ? sys-auth/consolekit[policykit])
x11-misc/sddm-0.17.0-r1 (consolekit ? >=sys-auth/consolekit-0.9.4)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Feb 01, 2018 11:10 am    Post subject: Reply with quote

Then check your use flags on those packages...
Back to top
View user's profile Send private message
wklam
n00b
n00b


Joined: 09 May 2005
Posts: 42

PostPosted: Sat Feb 03, 2018 6:10 pm    Post subject: Reply with quote

Thanks for everyone in this thread for pointing me to the right direction.

I have similar issue when logging in Plasma / KDE with startx couple weeks ago.

My ~/.xinitrc used to be, until today, simply:

Code:
exec /usr/bin/startkde


Then I started having issues when startx launching KDE / Plasma going to debug screen / console last couple weeks. Before that, this setup had been running fine for many (10~11?) years.

When this happens KDE / KWIN / Plasma is actually running, despite going to console debug screen. I have to use ALT-F7 / ALT-CRTL-F7 from the debugging console to go back to the plasma desktop.

I tried a couple other things: Removing ~/.cache, removing ~/.local/share/[kde related rc files], fiddling with opengl settings... None of them worked.

So the last couple replies in this thread gave me hints for looking into consolekits.

I did not remove consolekit. Doing so requiring some USE flag changes + elogind. I am too lazy to try anything new.

Finally, my issue was solved with a modified ~/.xinitrc, which was mentioned in

https://wiki.gentoo.org/wiki/ConsoleKit#startx_integration

Code:
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/startkde


Hope this helps others with similar issues.

Thanks again!

-William
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sat Feb 03, 2018 6:51 pm    Post subject: Reply with quote

This is also part of our Gentoo KDE wiki.

wklam wrote:
Before that, this setup had been running fine for many (10~11?) years.

It was not; you must have had a broken user session (at least) ever since Plasma-5 (no device permissions etc.).
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Tue Feb 13, 2018 11:37 am    Post subject: Reply with quote

wklam wrote:
Finally, my issue was solved with a modified ~/.xinitrc, which was mentioned in
Code:
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /usr/bin/startkde



^^ this did the trick for me :)
i used to have: exec startkde

Thanks for that also my kde button like [poweroff] or [restart] finaly works for me :)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Tue Feb 13, 2018 11:59 am    Post subject: Reply with quote

Just reading the Gentoo KDE wiki helps as well...
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Tue Feb 13, 2018 12:06 pm    Post subject: Reply with quote

asturm wrote:
Just reading the Gentoo KDE wiki helps as well...


It used to work for me since 2005 through few laptops and stable and unstable Gentoo. I was not aware of any changes :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum