LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-28-2017, 02:04 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,339

Rep: Reputation: 119Reputation: 119
KDE not starting correctly


I've just installed a new Slackware 14.2/KDE computer. This is about the 4th one I've installed at our office. I started by restoring a clone of a currently running computer. However, when I startx both screens are blank (no backgroun) with a cursor that I can move between screens, but with no effect. I've tried disconnecting one screen. I've tried reinstalling Slackware from scratch with update. Same thing. Everthing seems to work find at the bash leve, but no go on the GUI. I've build about a dozen Slackware/KDE systems this year and all have run the GUI w/o problem. I'm not sure where to look first.

Furthermore, when this happens, I can still run commands from and ssh session, and I can run 'shutdown -r now', but nothing happens except that my ssh session is logged out. The computer does not reboot and screens remain the same, with lone cursor.

Here is a 'ps ax' showing X running. Where else can I look?
Code:
 1420 tty1     S+     0:00 /bin/sh /usr/bin/startx
 1436 tty1     S+     0:00 xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :0 -auth /home/HPRS/charmaine/.serverauth.1420
 1437 tty7     Ss+    0:01 /usr/libexec/Xorg :0 -auth /home/HPRS/charmaine/.serverauth.1420
 1443 ?        S      0:00 [kworker/0:0]
 1444 tty1     S      0:00 /bin/sh /etc/X11/xinit/xinitrc
 1445 tty1     S      0:00 ck-launch-session startkde
 1449 tty1     S      0:00 /bin/sh /usr/bin/startkde
 1463 tty1     S      0:00 ksplashx Default --pid
 1464 tty1     DN     0:00 ksplashx_scale Default background.png /usr/share/apps/ksplash/Themes/Default/1920x1200/background.png 1680 1050 1680
 1477 tty1     S      0:00 xsetroot -cursor_name left_ptr
 1478 ?        S      0:00 [kworker/6:0]

Last edited by mfoley; 12-28-2017 at 02:14 PM.
 
Old 12-28-2017, 03:16 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 5,047

Rep: Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856
First thing to check would be the X log file, /var/log/Xorg.0.log and see if there's any obvious issues in there.

Another thing you could try is loading a different desktop, like xfce or fluxbox and see if the issue happens there as well (if so, it indicates an X issue and not a KDE issue).

Also, info on the GPU and the driver loaded could help.
 
Old 12-28-2017, 03:48 PM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,175

Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
That's the KDE's Black Screen of Death, usually produced by erroneous 3D desktop effects.

I suggest to OP to remove the .kde folder from the user's home while using user level 3 and to try again.
 
Old 12-28-2017, 04:27 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,039

Rep: Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205
Make sure /etc/profile.d/kde.sh is being sourced.

The XDG_CONFIG_DIRS envvar, in particular, will lead to KDE 5 booting to a blank screen if it's missing.

Last edited by dugan; 12-28-2017 at 04:29 PM.
 
Old 12-28-2017, 09:57 PM   #5
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,339

Original Poster
Rep: Reputation: 119Reputation: 119
OK, I'm going to try all these suggestion tomorrow. Meanwhile, I wiped the system and re-installed from the raw 14.2 DVD - no updates. SAME THING! I don't know if that provides any clues or not. I'll post back the results on your suggestion tomorrow. Thanks.

(BTW - this is KDE4)

A few hours later ...

I packed up this office workstation and took it home to obsess over it late into the night. VERY INTERESTING: I hooked the same raw 14.2 install up to an old Acer AL1702, booted, ran startx as root ... and BEHOLD! ... I got the KDE desktop!!! The only difference is the monitors. Unfortunately, I don't know from here what the monitors are at the office. I know one is an LG, but that's it. I'll have to truck this rig back in the morning to see what's there.

This system has an AMD FX-8350 with a separate NVIDIA card (no on-board chip graphics on processor).

Is it really possible that KDE won't run on some video monitors???

Last edited by mfoley; 12-28-2017 at 11:30 PM.
 
Old 12-29-2017, 09:31 AM   #6
JohnB316
Member
 
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 30

Rep: Reputation: 8
Quote:
Originally Posted by mfoley View Post
OK, I'm going to try all these suggestion tomorrow. Meanwhile, I wiped the system and re-installed from the raw 14.2 DVD - no updates. SAME THING! I don't know if that provides any clues or not. I'll post back the results on your suggestion tomorrow. Thanks.

(BTW - this is KDE4)

A few hours later ...

I packed up this office workstation and took it home to obsess over it late into the night. VERY INTERESTING: I hooked the same raw 14.2 install up to an old Acer AL1702, booted, ran startx as root ... and BEHOLD! ... I got the KDE desktop!!! The only difference is the monitors. Unfortunately, I don't know from here what the monitors are at the office. I know one is an LG, but that's it. I'll have to truck this rig back in the morning to see what's there.

This system has an AMD FX-8350 with a separate NVIDIA card (no on-board chip graphics on processor).

Is it really possible that KDE won't run on some video monitors???
Highly unlikely, because I've run various flavors of KDE on old cathode ray tube monitors, as well as LCD monitors. Is it possible that the image you want to clone is using a proprietary video driver (like NVIDIA or AMD) where that hardware is not present on the machine to which the image is being applied?

As another poster in this thread suggested, check the X.org log files for any error messages.

HTH just a bit,
John
 
Old 12-29-2017, 12:12 PM   #7
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,339

Original Poster
Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by JohnB316 View Post
... Is it possible that the image you want to clone is using a proprietary video driver (like NVIDIA or AMD) where that hardware is not present on the machine to which the image is being applied?
I'm now using a scratch-installed-from-DVD OS, not the clone.

Last night, I updated the 14.2 and tested again and it worked fine with the Acer AL1702.

This morning I took the box into the office, attached only the LG Flatron E2242 (VGA) and after running startx it again hung the system with only a cursor on a black screen, per yesterday's tests.

Next I connected the Acer LA2216W (DVI). That test showed the KDE iconic progress screen, but then hung there, never showing the desktop.

Next, I tried a HANNS-G HW191D (VGA). It showed the progress screen and it began to fade and reveal the desktop as usual, but hung halfway partially still showing the progress screen and partially showing the (non-functioning) desktop.

Finally, I connected my old Acer AL1702 (VGA), brought from home, and it fired up the desktop without problem!

(BTW - I've deleted the .Xauthority, .kde, etc. 'dot' files between each test)

In over 50+ Slackware systems I've built, I've never seen this problem! Any ideas?

I believe I've attached the Xorg.log, but in case I fooped that it's here: http://novatec-inc.com/pub/Xorg.0.log

The video card is an ASUS GEFORCE GT710 with NVIDIA chipset.

As my next experiment I'm going to try installing the NVIDIA driver.

Last edited by mfoley; 12-29-2017 at 12:19 PM.
 
Old 12-29-2017, 12:21 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,039

Rep: Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205
Quote:
Originally Posted by mfoley View Post
Is it really possible that KDE won't run on some video monitors???
Qt 5 tries to detect the font DPI from the monitor's EDID information.

As far as I know, Qt 4 does not do that.
 
Old 12-29-2017, 12:28 PM   #9
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,175

Rep: Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807Reputation: 807
Quote:
Originally Posted by dugan View Post
Qt 5 tries to detect the font DPI from the monitor's EDID information.

As far as I know, Qt 4 does not do that.
Qt4 no, but the KDE4 do that.

I suspect to be something like a bad VGA cable or even DDC (EDID) issues on those monitors. Betting on the cable.
 
Old 12-29-2017, 12:48 PM   #10
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,339

Original Poster
Rep: Reputation: 119Reputation: 119
Well ladies and gentlemen, the NVIDIA driver fixed the problem. I installed the driver and tried each of the test monitors singly, in turn, then finally the origial Acer AL2216W and LG Flatron E2242 together and they all worked! Really bizarre! I installed a dual-monitor system about 6 months ago with a Geforce GT 730 card (also NVIDIA) and had no such problem.

Darth Vader: I had the same thought and tried different cables, didn't help.

Later: ...

I've been playing with the machine for a couple of hours now, and it seems that they mouse latency is a bit much. It is usually 5+ seconds or more between the time I click the KDE Launcher icon and when the menu appears. Similar with other apps such as doing VirtualBox settings, opening a PDF file, etc. The processor is supposedly pretty powerful: AMD FX-8350, eight-core; and I have 8G of memory.

I'm wondering if I should run the nvidia-settings program and generate an Xorg.conf file? Normally Slackware/KDE doesn't use Xorg.conf and doing so disables System Settings > Display and Monitor > Display Configuration.

Suggestions?

Last edited by mfoley; 12-29-2017 at 04:32 PM.
 
Old 12-29-2017, 07:40 PM   #11
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,434
Blog Entries: 3

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by Darth Vader View Post
That's the KDE's Black Screen of Death, usually produced by erroneous 3D desktop effects.

I suggest to OP to remove the .kde folder from the user's home while using user level 3 and to try again.
3rd is on by default. At least on every install I did.
 
Old 12-29-2017, 07:48 PM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,039

Rep: Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205Reputation: 3205
Quote:
Originally Posted by mfoley View Post
I'm wondering if I should run the nvidia-settings program and generate an Xorg.conf file? Normally Slackware/KDE doesn't use Xorg.conf and doing so disables System Settings > Display and Monitor > Display Configuration.
If you installed the nvidia drivers from SBo, they come with a perfectly good xorg.conf file.

I personally use the binary installer, and I have the following as /etc/X11/xorg.conf.d/10-local.conf:

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
EndSection
 
Old 12-31-2017, 03:44 PM   #13
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,339

Original Poster
Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by dugan View Post
If you installed the nvidia drivers from SBo, they come with a perfectly good xorg.conf file.
But, I opted to NOT install the xorg.conf during the NVIDIA install, so I don't have one. I found that KDE's System Settings > Display and Monitor > Display Configuration are mostly disabled when using the xorg.conf (can't rearrange screens, activate/deactivate, etc.). KDE must keep its own xorg.conf-like settings somewhere which are overriden by the /etc/X11/conf.org.

I'll experiment some more and if mouse response doesn't improve I'll try the xorg.conf thing. Note that this mouse/keyboard delay can even occur with Konsole.

I've given more thought to why this essentially same rig didn't manifest this problem when I set one up 6 months ago(see https://www.linuxquestions.org/quest...rs-4175597701/) and I realized that I was, in fact, using two of the older Acer monitors during initial setup. In the end, I did use the NVIDIA driver because I was going for a 4 monitor solution. So, given all this, I do believe the NVIDIA chipset MUST NO WORK with all monitors without using the NVIDIA driver!
 
Old 01-02-2018, 07:15 PM   #14
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 1,773

Rep: Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661
Unless you're a fanatic about OSS-Only, there really is no compelling reason to not use nVidia drivers. They are simply better in every other way. Perhaps more specific to your issues, if I understand you correctly, the "was not working system" had 2 discrete graphics chipsets. That can be a problem unless one of the two has a specific and usually exclusive call into service. Nvidia's drivers do that nicely and it is advisable to let it generate the simple xorg.conf calls. KDE cannot possibly give the level of control that nvidia-settings can, so it is very worthwhile to "let the Master do his job".

FWIW some monitors have shamefully horrible EDID and any shortcomings can easily be corrected in xorg.conf. For example I have owned a few monitors that have lousy resolution control and even worse control with fonts. A simple
Code:
 Option "UseEdidDpi" "FALSE"
in xorg.conf made them usable. One required specifying DPI as well but even that is trivial in xorg.conf. Automated is fine when everything speaks the same language. In some cases a human must take over as "conductor".
 
Old 01-03-2018, 02:39 PM   #15
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 1,339

Original Poster
Rep: Reputation: 119Reputation: 119
So far, no complaints from the user on mouse or keyboard. Thanks for the additional tips. Those will come in handy.
 
  


Reply

Tags
slackware


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] Virtual-box 5.0.4 not starting correctly in Linux Mint Cinnamon 17.3 64-bit stardustdk Linux - Virtualization and Cloud 9 09-01-2016 03:18 PM
cyrus sasl not starting correctly bluethundr Linux - Newbie 0 04-18-2010 05:04 PM
X Not Starting Correctly Intel Video KnifeyMcShanker Slackware 12 01-02-2008 06:33 AM
vsftpd not starting correctly swatward Linux - Software 1 08-01-2005 09:08 PM
X resolutions for KDE 3.1 not working correctly raptor9k Linux - Newbie 3 04-19-2004 04:36 PM

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

All times are GMT -5. The time now is 07:15 PM.

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