View previous topic :: View next topic |
Author |
Message |
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 31
|
Posted: Thu Dec 08, 2022 5:46 pm Post subject: sddm black screen with working cursor |
|
|
I have seen many posts regarding “sddm black screen issue”, but none solved my problem. I also referred the GitHub issue as well, but was not very helpful.
Set of events that led to this error.
— Updated by system.
— etc-update (I guess this is the reason for this error), 6 config files were auto-merged and overwritten (a very stupid thing I did)
— reboot → black screen
Things I have tried so far.
— Unmerge and emerge sddm package and its dependencies and freshly configure according to the gentoo documentation.
— sddm --test-mode also gives error.
/var/log/sddm.log:
Code: |
[17:36:52.550] (WW) DAEMON: Signal received: SIGTERM
[17:36:52.550] (II) DAEMON: Socket server stopping...
[17:36:52.551] (II) DAEMON: Socket server stopped.
[17:36:52.551] (II) DAEMON: Display server stopping...
[17:36:52.793] (II) DAEMON: Display server stopped.
[17:36:52.793] (II) DAEMON: Running display stop script "/usr/share/sddm/scripts/Xstop"
[17:37:13.969] (II) DAEMON: Initializing...
[17:37:13.991] (II) DAEMON: Starting...
[17:37:13.991] (II) DAEMON: Logind interface found
[17:37:13.992] (II) DAEMON: Adding new display on ut 7 ...
[17:37:14.026] (II) DAEMON: Loading theme configuration from ""
[17:37:14.026] (II) DAEMON: Display server starting.....
[17:37:14.026] (II) DAEMON: Adding cookie to "/var/run/sddm/{3bd9ed72-f069-4449-9e5c-1be77d704d58}"
[17:37:14.320] (II) DAEMON: Runing: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{3bd9ed72-f069-4449-9e5c-1be77d704d58) -background none -noreset -displayfd 17 -seat seat0 v7
[17:37:16.820] (II) DAEMON: Setting default cursor
[17:37:16.969] (II) DAEMON: Running display setup script "/etc/sddm/scripts/Xsetup"
[17:37:17.029] (II) DAEMON: Display server started.
[17:37:17.029] (II) DAEMON: Socket server starting...
[17:37:17.029] (II) DAEMON: Socket server started.
[17:37:17.113] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[17:37:17.151] (II) DAEMON: Greeter starting...
[17:37:17.402] (II) HELPER: [PAM] Starting...
[17:37:17.402] (II) HELPER: [PAM] Authenticating...
[17:37:17.402] (II) HELPER: [PAM] returning.
[17:37:17.757] (II) DAEMON: Greeter session started successfully
[17:37:19.890] (II) DAEMON: Message received from greeter: Connect
[17:37:29.094] (II) HELPER: [PAM] Closing session
[17:37:29.096] (II) HELPER: [PAM] Ended.
[17:37:29.267] (WW) DAEMON: Auth: sddm-helper exited with 11
[17:37:29.267] (II) DAEMON: Greeter stopped.
|
sddm --example-config : Current theme is shown as not set even though it is set in sddm.conf
Code: |
[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false
# Name of session file for autologin session (if empty try last logged in)
Session=
#Username for autologin session
User=
[General]
#Halt command
HaltCommand=/usr/bin/loginctl poweroff
#Input method module
InputMethod=qtvirtualkeyboard
# Comma-separated list of Linux namespaces for user session to enter
Namespaces=
#Initial NumLock state. Can be on, off or none.
# If property is set to none, numlock won't be changed
# NOTE: Currently ignored if autologin is enabled.
Numlock=none
#Reboot command
RebootCommand=/usr/bin/loginctl reboot
[Theme]
# Current theme name
Current=
# Cursor theme used in the greeter
Cursor Theme=
# Number of users to use as threshold
# above which avatars are disabled
#unless explicitly enabled with EnableAvatars
DisableAvatars Threshold=?
# Enable display of custom user avatars
EnableAvatars=true
#Global directory for user avatars
# The files should be named <username>.face.icon
FacesDir=/usr/share/sddm/faces
#Theme directory path
ThemeDir=/usr/share/sddm/themes
[Users]
#Default $PATH for logged in users
DefaultPath=/usr/local/bin:/usr/bin:/bin
# Comma-separated list of shells.
# Users with these shells as their default won't be listed
HideShells=
# Comma-separated list of users that should not be listed
HideUsers=
# Maximum user id for displayed users
MaximumUid=60000
#Minimum user id for displayed users
MinimumUid=1000
#Remember the session of the last successfully logged in user
RememberLastSession=true
#Remember the last successfully logged in user
RememberLastUser=true
# When logging in as the same user twice, restore the original session, rather than create a new one
ReuseSession=false
[Wayland]
#Enable Qt's automatic high-DPI scaling
EnableHiDPI=false
# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/wayland-session
#Directory containing available Wayland sessions
SessionDir=/usr/share/wayland-sessions
# Path to the user session log file
SessionLogFile=.local/share/sddm/wayland-session.log
[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup
# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
#Enable Qt's automatic high-DPI scaling
EnableHiDPI=false
# The lowest virtual terminal number that will be used.
MinimumVT=7
#Arguments passed to the X server invocation
ServerArguments=--nolisten tcp
#Path to X server binary
ServerPath=/usr/bin/X
# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession
# Directory containing available X sessions
SessionDir=/usr/share/xsessions
# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session. log
# Path to the Xauthority file
UserAuthFile=.Xauthority
# Path to xauth binary
XauthPath=/usr/bin/xauth
|
/etc/sddm.conf:
Code: |
[Theme]
Current=breeze
[X11]
DisplayCommand=/etc/sddm/scripts/Xsetup
|
/etc/sddm.conf.d/kde_settings.conf:
Code: |
[Autologin]
Relogin=false
Session=
User=
[General]
HaltCommand=
RebootCommand=
[Theme]
Current=breeze
[Users]
MaximumUid=60000
MinimumUid=1000
|
/etc/conf.d/display-manager :
Code: |
#We always try and start the DM on a static VT. The various DMs normally
# default to using VT7. If you wish to use the display-manager init
# script, then you should ensure that the VT checked is the same VT your
#DM wants to use.
# We do this check to ensure that you haven't accidentally configured
# something to run on the VT in your /etc/inittab file so that
# you don't get a dead keyboard.
CHECKVT=7
# What display manager do you use?
# [ xdm | greetd | gdm | sddm | gpe | lightdm | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
DISPLAYMANAGER="sddm"
|
/etc/conf.d/xdm :
Code: |
DISPLAYMANAGER="sddm"
|
Still unable to figure out what could be the error.
Are the names of the files which etc-update changed logged somewhere?
Is there any way to undo an etc-update?
Request Assistance. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Thu Dec 08, 2022 6:04 pm Post subject: |
|
|
This
should not be there, unless you have specifically installed it.
Plz move it to other location, disable xdm if available and enable display-manager.
Try also
Code: |
emerge -cav x11-apps/xdm
|
_________________
|
|
Back to top |
|
|
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 31
|
Posted: Fri Dec 09, 2022 7:46 am Post subject: |
|
|
@alamahunt,
— I do not have the x11-apps/xdm package installed.
— I deleted the xdm config file as it is not needed. No xdm service is running or enabled.
— display-manager service is already enabled and running at runlevel "default".
After the changes, I rebooted the system and still see a "sddm black screen" with a working cursor (mouse).
Last edited by Wadewilson on Mon Dec 12, 2022 12:20 pm; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Fri Dec 09, 2022 8:07 am Post subject: |
|
|
The xdm script was never part of x11-apps/xdm, and yes, it should be gone. |
|
Back to top |
|
|
|