Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SDDM: Black Screen without any debug message
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
doubledr
n00b
n00b


Joined: 23 Feb 2008
Posts: 23

PostPosted: Fri Jul 22, 2022 3:19 pm    Post subject: SDDM: Black Screen without any debug message Reply with quote

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! :D

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Fri Jul 22, 2022 4:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
doubledr
n00b
n00b


Joined: 23 Feb 2008
Posts: 23

PostPosted: Sat Jul 23, 2022 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sat Jul 23, 2022 5:58 am    Post subject: Reply with quote

With emerge -uUD @world command, doesn't it update all qt libraries?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
doubledr
n00b
n00b


Joined: 23 Feb 2008
Posts: 23

PostPosted: Sat Jul 23, 2022 8:35 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sat Jul 23, 2022 3:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
wjb
l33t
l33t


Joined: 10 Jul 2005
Posts: 607
Location: Fife, Scotland

PostPosted: Sun Jul 24, 2022 10:38 am    Post subject: Reply with quote

For keeping your system up to date, see wiki: Upgrading Gentoo
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