This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Black Screen after plugging in new monitor

Tags: None
(comma "," separated)
dethos
Registered Member
Posts
5
Karma
0
Hello,

Today I've come across a problem that I wasn't able to fix yet. Usually I work with one external monitor plugged to my laptop. Today after plugging it in, instead on the usual behavior of extending the desktop, something went wrong and turned both monitors black and I was forced to restart the laptop. After that I've been unable to login into a plasma session, because after the splash-screen the screen turns stays black.

I've tried removing the ".cache" directory and moving the ".config" to a new place to check if the cause is not some kind of corrupt configuration.

After each login attempt the following shows in the syslog:

Code: Select all
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 715, resource id: 0, major code: 21 (ListProperties), minor code: 0
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: requesting unexisting screen 0
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: requesting unexisting screen 0
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: requesting unexisting screen 0
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: Cannot create window: no screens available
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: Application::crashHandler() called with signal 6; recent crashes: 1
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: nativeResourceForScreen: null screen
Mar  3 21:11:28 mymachine /usr/lib/gdm3/gdm-x-session[4230]: nativeResourceForScreen: null screen
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: nativeResourceForScreen: null screen
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: Cannot create window: no screens available
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: Application::crashHandler() called with signal 6; recent crashes: 1
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: crashing... crashRecursionCounter = 2
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: Application Name = plasmashell path = /usr/bin pid = 4367
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: Arguments: /usr/bin/plasmashell --shut-up
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/drkonqi' from wrapper.
Mar  3 21:11:29 mymachine /usr/lib/gdm3/gdm-x-session[4230]: kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/drkonqi'
Mar  3 21:11:30 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: crashing... crashRecursionCounter = 2
Mar  3 21:11:30 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: Application Name = kwin_x11 path = /usr/bin pid = 4357
Mar  3 21:11:30 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: Arguments: /usr/bin/kwin_x11
Mar  3 21:11:30 mymachine /usr/lib/gdm3/gdm-x-session[4230]: KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
Mar  3 21:11:30 mymachine /usr/lib/gdm3/gdm-x-session[4230]: kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/drkonqi' from wrapper.
Mar  3 21:11:30 mymachine /usr/lib/gdm3/gdm-x-session[4230]: kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/drkonqi'
Mar  3 21:11:42 mymachine /usr/lib/gdm3/gdm-x-session[4230]: kcm_keyboard: configuring layouts false configuring options false
Mar  3 21:11:42 mymachine /usr/lib/gdm3/gdm-x-session[4230]: (II) AIGLX: Suspending AIGLX clients for VT switch


Currently I'm running Plasma 5.4 on a Debian (Testing/Stretch) system. Does anyone know how to fix this or how can I find a solution for this?
Don Jajo
Registered Member
Posts
67
Karma
0
OS
What is the output of
Code: Select all
xrandr --listmonitors
?
dethos
Registered Member
Posts
5
Karma
0
Currently I had to resort to another DE to work and I get the following output:
Code: Select all
Monitors: 1
 0: +*eDP1 1920/282x1080/165+0+0  eDP1
Don Jajo
Registered Member
Posts
67
Karma
0
OS
Try this and see if it returns your display
Code: Select all
xrandr --output eDP1 --auto
dethos
Registered Member
Posts
5
Karma
0
Well, I tried the suggested command and It didn't seem to produce any result (or I didn't noticed at the time).

However I rebooted the machine and tried to login into a new session, while I still got the black screen, I tried some keys/shortcuts to switch/detect displays and got the screen back (still not 100% functional).

From there I was able to get my desktop back. I'm not sure if it was from the provided command, but thanks for the help :thumbsup: .
luebking
Karma
0
Code: Select all
mv ~/.local/share/kscreen ~/.local/share/kscreen.contains_junk
dethos
Registered Member
Posts
5
Karma
0
luebking wrote:
Code: Select all
mv ~/.local/share/kscreen ~/.local/share/kscreen.contains_junk


Tks, the problem occurred again and this answer seem to have fixed.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft