View previous topic :: View next topic |
Author |
Message |
doubledr n00b
Joined: 23 Feb 2008 Posts: 23
|
Posted: Fri Jul 22, 2022 3:19 pm Post subject: SDDM: Black Screen without any debug message |
|
|
Well, this post is just for documentation.
I have a Gentoo VM machine with console only. And suddenly I want to try lxqt with sddm. So I installed everything prompted in emerge. But when I tried to start sddm, nothing happened. Not even a black screen... So I tried to update qt library. Nothing worked. I had no clue until I saw this post: sddm does not load gui . I followed what it said in that post and it worked. Finally I got a... black screen...
Here is the only message in my sddm.log
Code: |
[21:26:04.414] (II) DAEMON: Initializing...
[21:26:04.419] (II) DAEMON: Starting...
[21:26:04.419] (II) DAEMON: Logind interface found
[21:26:04.420] (II) DAEMON: Adding new display on vt 7 ...
[21:26:04.420] (II) DAEMON: Loading theme configuration from ""
[21:26:04.421] (II) DAEMON: Display server starting...
[21:26:04.421] (II) DAEMON: Adding cookie to "/var/run/sddm/{bc4449a4-7028-4937-937b-896d1768f797}"
[21:26:04.427] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{bc4449a4-7028-4937-937b-896d1768f797} -background none -noreset -displayfd 17 -seat seat0 vt7
[21:26:04.844] (II) DAEMON: Setting default cursor
[21:26:04.845] (WW) DAEMON: Could not setup default cursor
[21:26:04.845] (II) DAEMON: Running display setup script "/usr/share/sddm/scripts/Xsetup"
[21:26:04.847] (II) DAEMON: Display server started.
[21:26:04.847] (II) DAEMON: Socket server starting...
[21:26:04.847] (II) DAEMON: Socket server started.
[21:26:04.847] (II) DAEMON: Loading theme configuration from ""
[21:26:04.847] (II) DAEMON: Greeter starting...
[21:26:04.855] (II) HELPER: [PAM] Starting...
[21:26:04.855] (II) HELPER: [PAM] Authenticating...
[21:26:04.855] (II) HELPER: [PAM] returning.
[21:26:04.861] (II) DAEMON: Greeter session started successfully
[21:26:04.939] (II) DAEMON: Message received from greeter: Connect
[21:26:04.989] (II) HELPER: [PAM] Closing session
[21:26:04.990] (II) HELPER: [PAM] Ended.
[21:26:04.992] (WW) DAEMON: Auth: sddm-helper exited with 6
[21:26:04.992] (II) DAEMON: Greeter stopped.
|
That is it! No more debug output
I googled and searched for a long long time and I couldn't find an answer. I guess this is a rare case.
Well, the turning point showed up when I read the LXQT wiki carefully, it told me that actually I could start LXQT without SDDM. And then I started lxqt without sddm. After lxqt showed up, I got the following error:
Code: |
Panel crashed too many times. Its autostart has been disabled until next login
|
Then I tried to run lxqt-panel in console. Finally I got the real error:
Code: |
Cannot mix incompatible Qt library (5.15.3) with this library (5.15.5)
|
OK, so the problem is that when I tried to resolve the show up issue, I upgraded my qt library, but portage didn't help me to fully upgrade my library, so my qt library was broken after I upgraded...
Then I updated my qt library entirely, everything back to normal now. SDDM and LXQT are borth working now. HAPPY!
Well, I don't know whether I should file a bug for portage doesn't upgrade qt library entirely. But problem solved anyway.
Last edited by doubledr on Sat Jul 23, 2022 1:51 am; edited 3 times in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Fri Jul 22, 2022 4:09 pm Post subject: |
|
|
How did you do a partial Qt upgrade? We somewhat regularly get posts from people who try to do that, and Portage stops them. It insists they do all of Qt at a single step. |
|
Back to top |
|
|
doubledr n00b
Joined: 23 Feb 2008 Posts: 23
|
Posted: Sat Jul 23, 2022 1:21 am Post subject: |
|
|
Hu wrote: | How did you do a partial Qt upgrade? We somewhat regularly get posts from people who try to do that, and Portage stops them. It insists they do all of Qt at a single step. |
Hi, Hu
I check my history, so actually I got some conflicts before I tried to emerge lxqt-meta, so I decided to unmerge them.
Code: |
emerge --unmerge qtcore qtgui qtwidgets qtdbus qtnetwork
|
and I unmerged some other python-related packages
finally I used "emerge lxqt-meta" to install lxqt, and it seems that portage just installs all uninstalled qt libraries for me, without upgrading the rest of them.
So I didn't upgrade my qt library manually, it is portage which did the dependence analysis in command "emerge lxqt-meta" |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Sat Jul 23, 2022 5:58 am Post subject: |
|
|
With emerge -uUD @world command, doesn't it update all qt libraries? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
doubledr n00b
Joined: 23 Feb 2008 Posts: 23
|
Posted: Sat Jul 23, 2022 8:35 am Post subject: |
|
|
fedeliallalinea wrote: | With emerge -uUD @world command, doesn't it update all qt libraries? |
Hi, fedeliallalinea. The only command I ran is "emerge lxqt-meta". I didn't run " emerge -uUD @world" |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Sat Jul 23, 2022 3:42 pm Post subject: |
|
|
When a new qt version come first you should update the @world because all qt packages installed should be upgraded. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
wjb l33t
Joined: 10 Jul 2005 Posts: 607 Location: Fife, Scotland
|
Posted: Sun Jul 24, 2022 10:38 am Post subject: |
|
|
For keeping your system up to date, see wiki: Upgrading Gentoo |
|
Back to top |
|
|
|