SDDM startet immer nur mit ein und derselben Oberfläche Thema ist als GELÖST markiert

User helfen sich hier bei der Manjaro XFCE Edition!
Antworten

Themen Author
Hanisch
Erfahrenes Foren Mitglied
Erfahrenes Foren Mitglied
Beiträge: 73
Registriert: Mittwoch 11. Mai 2016, 14:25
CPU: Inel i7
GPU: Intel , NVIDIA
Kernel: 5.18.14-arch-1
Desktop-Variante: Xfce, KDE
GPU Treiber: i915 v: kernel
Hat sich bedankt: 4 Mal

SDDM startet immer nur mit ein und derselben Oberfläche

#1

Beitrag von Hanisch »

Hallo,
ich habe Manjaro in einer VM mit den Oberflächen XFCE, MATE und KDE Plasma installiert.
Beim Login-Screen kann ich eine Oberfläche auswählen, aber er landet immer auf der XFCE-Oberfläche.

Code: Alles auswählen

$ sudo systemctl status sddm
● sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2022-06-09 19:35:02 CEST; 19min ago
       Docs: man:sddm(1)
             man:sddm.conf(5)
   Main PID: 375 (sddm)
      Tasks: 4 (limit: 3552)
     Memory: 134.0M
        CPU: 34.789s
     CGroup: /system.slice/sddm.service
             ├─  375 /usr/bin/sddm
             └─ 1803 /usr/lib/Xorg -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{6868a6f6>

Jun 09 19:46:30 VM-manjaro sddm[375]: Authenticated successfully
Jun 09 19:46:30 VM-manjaro sddm-helper[1828]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jun 09 19:46:30 VM-manjaro sddm-helper[1828]: pam_unix(sddm:session): session opened for user opa(uid=1000) by >
Jun 09 19:46:30 VM-manjaro sddm-helper[1828]: pam_env(sddm:session): deprecated reading of user environment ena>
Jun 09 19:46:30 VM-manjaro sddm-helper[1828]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyri>
Jun 09 19:46:30 VM-manjaro sddm-helper[1828]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Jun 09 19:46:30 VM-manjaro sddm[375]: Auth: sddm-helper exited successfully
Jun 09 19:46:30 VM-manjaro sddm[375]: Greeter stopped.
Jun 09 19:46:30 VM-manjaro sddm-helper[1828]: Starting: "/usr/share/sddm/scripts/Xsession \"mate-session\""
Jun 09 19:46:30 VM-manjaro sddm[375]: Session started

Code: Alles auswählen

$ cat /etc/sddm.conf
[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/systemctl poweroff

# Input method module
InputMethod=

# 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/systemctl reboot


[Theme]
# Current theme name
Current=

# Cursor theme used in the greeter
CursorTheme=

# Number of users to use as threshold
# above which avatars are disabled
# unless explicitly enabled with EnableAvatars
DisableAvatarsThreshold=7

# 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=/bin:/usr/bin:/usr/local/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=1

# 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

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr

Wo muß ich da etwas ändern?

Gruß
Ch. Hanisch
Zuletzt geändert von Hanisch am Freitag 10. Juni 2022, 09:49, insgesamt 1-mal geändert.

Themen Author
Hanisch
Erfahrenes Foren Mitglied
Erfahrenes Foren Mitglied
Beiträge: 73
Registriert: Mittwoch 11. Mai 2016, 14:25
CPU: Inel i7
GPU: Intel , NVIDIA
Kernel: 5.18.14-arch-1
Desktop-Variante: Xfce, KDE
GPU Treiber: i915 v: kernel
Hat sich bedankt: 4 Mal

Re: SDDM startet immer nur mit ein und derselben Oberfläche

#2

Beitrag von Hanisch »

Hallo,

die Lösung ist gefunden.

Code: Alles auswählen

$ cat ~/.xinitrc

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

#DEFAULT_SESSION=xfce4-session
#case $1 in
#  xfce) exec dbus-launch xfce4-session ;;
#  *) exec dbus-launch  $DEFAULT_SESSION ;;
#esac
Das Auskommentieren des Abschnittes:

Code: Alles auswählen

#DEFAULT_SESSION=xfce4-session
...
brachte die Lösung.

Gruß
Ch. Hanisch
Benutzeravatar

Blueriver
Moderator
Moderator
Beiträge: 2343
Registriert: Donnerstag 19. Mai 2016, 15:49
CPU: AMD Quad Core A8 3,6GHz
GPU: AMD/ATI Radeon R7
Kernel: 6.1
Desktop-Variante: XFCE und KDE Stable, Testing, Unstable
GPU Treiber: Free
Hat sich bedankt: 28 Mal
Danksagung erhalten: 149 Mal

Re: [Gelöst]SDDM startet immer nur mit ein und derselben Oberfläche

#3

Beitrag von Blueriver »

Ich hab dann mal auf gelöst gesetzt.
Antworten