LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-05-2016, 03:22 PM   #1
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.2 with AlienBob's KDE5
Posts: 273

Rep: Reputation: 39
AlienBob's KDE5 works as root but not as user


Hi all,

I just did this following:
1) Clean install of Slackware64 14.2 (formatting /, but keeping my existing /home)
2) Installed multilib
3) Installed all patches released since launch via slackpkg+, including the new kernel
4) Installed the NVIDIA 267.44 driver after installing the nouveau blacklist package
5) Followed Alien Bob's instructions to install KDE5 (stock KDE4 worked fine)

When I try to start KDE (via startx) as a regular user, I just get a black screen with a white box in the upper left that kind of looks the a Konsole (there is a prompt, but no way to enter anything). It just sits there. ctrl-alt-backspace will kill X and drop me back to the terminal.

If I try to run startx as root, KDE5 comes up normally. I had moved my user's old .kde and .config directories to make sure nothing was conflicting. I also tried creating a new user and running startx. I got the same thing as with my existing user. No errors show up in dmesg, syslog, messages, or the Xorg log.

Thoughts?

Last edited by marnold; 09-05-2016 at 03:31 PM.
 
Old 09-05-2016, 03:38 PM   #2
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.2 with AlienBob's KDE5
Posts: 273

Original Poster
Rep: Reputation: 39
OK, after more testing, it WILL start on init 4 via KDM, but it WON'T start on init 3 via startx. Is this normal?
 
Old 09-05-2016, 03:43 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,313

Rep: Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491
If you still have KDM then you did not follow the instructions for replacing KDE4 with Plasma5.
 
Old 09-05-2016, 03:45 PM   #4
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 33
Have you tried this?
is a short excerpt from the installation notes taken from Alien Bob's Readme

NOTE:
If you had installed KDE 4 previously as your default desktop, the removal
of KDE 4 packages will break the symbolic link '/etc/X11/xinit/xinitrc'.
An attempt to run 'startx' in a console will fail with a black screen.
After installing Plasma 5 for the first time, you need to run 'xwmconfig'
and select 'xinitrc.plasma' as your desktop session.

Ciao
 
2 members found this post helpful.
Old 09-05-2016, 04:19 PM   #5
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 220

Rep: Reputation: 26
I had an issue like this recently and that was because I lacked a "/run/user/<my user name>" directory, owned by my user and with 700 rights.
 
Old 09-05-2016, 05:22 PM   #6
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.2 with AlienBob's KDE5
Posts: 273

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by Alien Bob View Post
If you still have KDM then you did not follow the instructions for replacing KDE4 with Plasma5.
I misspoke. I didn't realize that KDM had been replaced with SDDM. I evidently have a great many things to learn about KDE5. Thanks for providing the packages!

Last edited by marnold; 09-05-2016 at 05:24 PM.
 
Old 09-05-2016, 05:23 PM   #7
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.2 with AlienBob's KDE5
Posts: 273

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by urka58 View Post
Have you tried this?
is a short excerpt from the installation notes taken from Alien Bob's Readme

NOTE:
If you had installed KDE 4 previously as your default desktop, the removal
of KDE 4 packages will break the symbolic link '/etc/X11/xinit/xinitrc'.
An attempt to run 'startx' in a console will fail with a black screen.
After installing Plasma 5 for the first time, you need to run 'xwmconfig'
and select 'xinitrc.plasma' as your desktop session.

Ciao
Yep, this did the trick. I thought I had read everything carefully, but evidently not. Interesting that it started properly as root anyway.

Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NetworkManager isn't behaving properly in normal user, but works well in root user. MarkZar Linux - Networking 1 02-17-2013 12:32 AM
RPM search as user fails and works with root user kais1 Linux - Newbie 7 09-02-2012 07:22 PM
[SOLVED] DBD::ODBC works as root but not as non-root user on CentOS5 - any ideas? prgupta Red Hat 2 07-13-2010 01:20 AM
X only works with root user joe83 Slackware 14 09-06-2004 09:17 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration