Can't switch desktop environments

How can I switch from recently installed Deepin desktop environment on Fedora 30 to cinnamon DE? When I choose cinnamon on the lock screen and when login it’s stuck the only way to access my laptop is to choose deepin DE.

traps: dde-lock[11171] general protection fault ip:7f46f518168b sp:7ffec3fdadd0 error:0 in libc-2.29.so[7f46f5169000+14d000]

BOOT_IMAGE=(hd0,gpt1)/boot/vmlinuz-5.0.13-300.fc30.x86_64 root=UUID=da6bb2dc-b409-443e-8ba2-fa01bf0a9ec9 ro resume=UUID=60ab74ab-0b59-4835-99f4-af5419c19d9c rhgb quiet
kernel-core-5.0.13-300.fc30

How can I go back to cinnamon? And what happens if I just remove deepin DE. Will I be able to access the desktop?

P.S my current /etc/sysconfig/desktop is as follows:

PREFERRED=/usr/bin/cinnamon-session
DISPLAYMANAGER=/usr/sbin/lightdm

dnf grouplist shows that I’ve two available DE’s cinnamon and deepin

I’ve also installed switch desktop to switch DE’s but it shows only default and no other options…

2 Likes

Are you logging out and back in, or are you locking your user and trying to switch desktops on unlock? I think you may have to logout and back in—since the running desktop will need to close and cleanup so that the next one can take over.

Thank you for taking your time.

I tried both, signed in deepin session and logging out and then choosing cinnamon DE and completely rebooting my PC, directly changing to cinnamon desktop. But the result is same. When trying to login to cinnamon DE either I see Acer boot logo, or text while booting (if you press f11 in my case), but like it’s frozen.

In the second case (after reboot) I think deepin lock screen is active and maybe because of this, I’m not able to login to cinnamon?

1 Like

That’s very very odd. When you try to switch, and it doesn’t let you login to cinnamon, can you get to the tty (ctrl + alt + f2), login, and check the logs to see where it errors and crashes out? That may give us an idea of why cinnamon won’t let you login. Have a look at this quick-doc to learn how to get information from the logs: https://docs.fedoraproject.org/en-US/quick-docs/viewing-logs/

1 Like

Thanks for providing the information. I’ll come back with results…

1 Like

Ok, I’ve done two tests: one while logged in with deepin DE and after log out trying to switch to cinnamon, and another on the reboot.
journalctl -b gave me this log. In the log.txt
https://dropmefiles.com/bgiLc - I didn’t find how to upload files here…

In the log.txt May 11 20:26:48 after this I tried to log in to cinnamon.
In the boot-log.txt from May 11 20:35:02 I guess I was trying to log in to cinnamon.

@FranciscoD Any news about my problem?

Still going through the logs—nothing obvious pops out.

Here are the relevant bits:

May 11 20:26:48 AcerFedora unix_chkpwd[17809]: password check failed for user (dima23)
May 11 20:26:48 AcerFedora lightdm[17799]: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=dima23
May 11 20:26:48 AcerFedora audit[17799]: USER_AUTH pid=17799 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=? acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=failed'
May 11 20:26:48 AcerFedora lightdm[17799]: gkr-pam: unable to locate daemon control file
May 11 20:26:50 AcerFedora audit[17799]: USER_LOGIN pid=17799 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=login acct="dima23" exe="/usr/sbin/lightdm" hostname=AcerFedora addr=? terminal=/dev/tty1 res=failed'
May 11 20:26:55 AcerFedora lightdm[17810]: gkr-pam: unable to locate daemon control file
May 11 20:26:55 AcerFedora audit[17810]: USER_AUTH pid=17810 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_succeed_if,pam_localuser,pam_unix,pam_gnome_keyring acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora audit[17810]: USER_ACCT pid=17810 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora systemd[1]: session-c11.scope: Killing process 17747 (lightdm) with signal SIGTERM.
May 11 20:26:55 AcerFedora systemd[1]: session-c11.scope: Killing process 17750 (slick-greeter) with signal SIGTERM.
May 11 20:26:55 AcerFedora systemd[1]: session-c11.scope: Killing process 17757 (at-spi-bus-laun) with signal SIGTERM.
May 11 20:26:55 AcerFedora systemd[1]: session-c11.scope: Killing process 17762 (dbus-broker-lau) with signal SIGTERM.
May 11 20:26:55 AcerFedora systemd[1]: session-c11.scope: Killing process 17764 (dbus-broker) with signal SIGTERM.
May 11 20:26:55 AcerFedora systemd[1]: Stopping Session c11 of user lightdm.
May 11 20:26:55 AcerFedora dbus-broker-launch[17762]: Caught SIGHUP, trigger reload.
May 11 20:26:55 AcerFedora dbus-broker[17764]: Dispatched 8 messages @ 53(±105)μs / message.
May 11 20:26:55 AcerFedora lightdm[17747]: pam_unix(lightdm-greeter:session): session closed for user lightdm
May 11 20:26:55 AcerFedora audit[17747]: USER_END pid=17747 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="lightdm" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora audit[17747]: CRED_DISP pid=17747 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora systemd[1]: session-c11.scope: Succeeded.
May 11 20:26:55 AcerFedora systemd[1]: Stopped Session c11 of user lightdm.
May 11 20:26:55 AcerFedora systemd-logind[996]: Removed session c11.
May 11 20:26:55 AcerFedora audit[17810]: CRED_ACQ pid=17810 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix,pam_gnome_keyring acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora audit[17810]: USER_ROLE_CHANGE pid=17810 uid=0 auid=1000 ses=27 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='pam: default-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 selected-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora systemd-logind[996]: New session 27 of user dima23.
May 11 20:26:55 AcerFedora systemd[1]: Started Session 27 of user dima23.
May 11 20:26:55 AcerFedora lightdm[17810]: pam_unix(lightdm:session): session opened for user dima23 by (uid=0)
May 11 20:26:55 AcerFedora audit[17810]: USER_START pid=17810 uid=0 auid=1000 ses=27 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_lastlog,pam_umask,pam_lastlog acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora audit[17810]: USER_LOGIN pid=17810 uid=0 auid=1000 ses=27 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=login id=1000 exe="/usr/sbin/lightdm" hostname=AcerFedora addr=? terminal=/dev/tty1 res=success'
May 11 20:26:55 AcerFedora audit[17810]: USER_LOGOUT pid=17810 uid=0 auid=1000 ses=27 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=logout id=1000 exe="/usr/sbin/lightdm" hostname=AcerFedora addr=? terminal=/dev/tty1 res=success'
May 11 20:26:55 AcerFedora lightdm[17810]: pam_unix(lightdm:session): session closed for user dima23
May 11 20:26:55 AcerFedora audit[17810]: USER_END pid=17810 uid=0 auid=1000 ses=27 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_lastlog,pam_umask,pam_lastlog acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora audit[17810]: CRED_DISP pid=17810 uid=0 auid=1000 ses=27 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix,pam_gnome_keyring acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:55 AcerFedora systemd-logind[996]: Session 27 logged out. Waiting for processes to exit.
May 11 20:26:55 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
May 11 20:26:56 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
May 11 20:26:56 AcerFedora audit[17844]: CRED_ACQ pid=17844 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_permit acct="lightdm" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 11 20:26:56 AcerFedora lightdm[17844]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
May 11 20:26:56 AcerFedora systemd-logind[996]: New session c12 of user lightdm.
May 11 20:26:56 AcerFedora systemd[1]: Started Session c12 of user lightdm.

There’s a nouveau error there. It just logs in and then back out… There’s also an selinux error before.

Not really sure where to start tbh :slightly_frowning_face:

Yes very strange…
You know what? I’ll try to install gnome as well and if I’m able to switch to it…

I noticed this too. Recently I was trying to install nvidia driver, but unsuccessful. Yet I’ve not changed any settings on the noveau side…

Also worth mentioning is, that I was able to start cinnamon DE while logged in into deepin DE, I mean I’ve executed cinnamon-desktop-cinnamon (if I remember correctly) and cinnamon menu launched on top of deepin dock. Obviously cinnamon DE is working, but why I’m not able to switch, a riddle for me…

I’ve removed Deepin DE ))) but this didn’t resolve my problem. I’ve installed gnome as well, same result can’t login to that session.

The only choice I’ve is choose deepin again on the login screen. It’s still logs in, but I’ve nothing there now :smiley:
As a workaround I’m running /usr/bin/cinnamon-session-cinnamon
I’m having awful experience trying to switch desktop environments. I don’t think I’ll do this again in the future!

There’s certainly something that we’re missing. Changing DEs is meant to be very easy to do.

Have you solved the selinux error? That’d be a start. I suggest a full relabel:

sudo fixfiles onboot

This will relabel your files on the next boot (may take some time).

I’ve run this command, I think relabeling finished successfully.
when I type journalctl -b |grep selinux I’m getting following:

May 15 16:12:48 AcerFedora audit: MAC_STATUS enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1
May 15 16:12:48 AcerFedora audit: MAC_POLICY_LOAD auid=4294967295 ses=4294967295 lsm=selinux res=1
May 15 12:13:29 AcerFedora audit[2238]: USER_START pid=2238 uid=0 auid=990 ses=1 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="lightdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 15 12:13:34 AcerFedora systemd[2238]: selinux: avc:  denied  { start } for auid=n/a uid=990 gid=984 cmdline="/usr/bin/dbus-broker-launch --config-file=/usr/share/defaults/at-spi2/accessibility.conf --scope user" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=system permissive=0
May 15 12:13:36 AcerFedora systemd[2238]: selinux: avc:  denied  { start } for auid=n/a uid=990 gid=984 cmdline="/usr/bin/dbus-broker-launch --config-file=/usr/share/defaults/at-spi2/accessibility.conf --scope user" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=system permissive=0
May 15 12:13:47 AcerFedora audit[3845]: USER_START pid=3845 uid=0 auid=1000 ses=3 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="dima23" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 15 12:13:47 AcerFedora audit[2607]: USER_START pid=2607 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_lastlog,pam_umask,pam_lastlog acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 15 12:13:47 AcerFedora audit[2607]: USER_END pid=2607 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_lastlog,pam_umask,pam_lastlog acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 15 12:13:50 AcerFedora systemd[2238]: selinux: avc:  denied  { start } for auid=n/a uid=990 gid=984 cmdline="/usr/bin/dbus-broker-launch --config-file=/usr/share/defaults/at-spi2/accessibility.conf --scope user" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=system permissive=0
May 15 12:13:50 AcerFedora systemd[2238]: selinux: avc:  denied  { start } for auid=n/a uid=990 gid=984 cmdline="/usr/bin/dbus-broker-launch --config-file=/usr/share/defaults/at-spi2/accessibility.conf --scope user" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=system permissive=0
May 15 12:14:08 AcerFedora audit[4839]: USER_START pid=4839 uid=0 auid=1000 ses=5 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="dima23" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 15 12:14:08 AcerFedora audit[3944]: USER_START pid=3944 uid=0 auid=1000 ses=4 subj=system_u:system_r:local_login_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_namespace,pam_keyinit,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_umask,pam_lastlog acct="dima23" exe="/usr/bin/login" hostname=AcerFedora addr=? terminal=tty2 res=success'
May 15 12:15:36 AcerFedora audit[3939]: USER_START pid=3939 uid=0 auid=1000 ses=6 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_lastlog,pam_umask,pam_lastlog acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 15 12:15:36 AcerFedora audit[3939]: USER_END pid=3939 uid=0 auid=1000 ses=6 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_lastlog,pam_umask,pam_lastlog acct="dima23" exe="/usr/sbin/lightdm" hostname=? addr=? terminal=:0 res=success'
May 15 12:15:38 AcerFedora systemd[2238]: selinux: avc:  denied  { start } for auid=n/a uid=990 gid=984 cmdline="/usr/bin/dbus-broker-launch --config-file=/usr/share/defaults/at-spi2/accessibility.conf --scope user" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=system permissive=0
May 15 12:15:38 AcerFedora systemd[2238]: selinux: avc:  denied  { start } for auid=n/a uid=990 gid=984 cmdline="/usr/bin/dbus-broker-launch --config-file=/usr/share/defaults/at-spi2/accessibility.conf --scope user" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=system permissive=0

journalctl -b |grep nouveau:

May 15 16:12:45 AcerFedora kernel: nouveau 0000:01:00.0: enabling device (0006 -> 0007)
May 15 16:12:45 AcerFedora kernel: nouveau 0000:01:00.0: NVIDIA GM107 (1171c0a2)
May 15 16:12:45 AcerFedora kernel: nouveau 0000:01:00.0: bios: version 82.07.9b.00.ab
May 15 16:12:45 AcerFedora kernel: nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
May 15 16:12:45 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
May 15 16:12:45 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 10ac08 [ IBUS ]
May 15 16:12:46 AcerFedora kernel: nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
May 15 16:12:46 AcerFedora kernel: nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
May 15 16:12:46 AcerFedora kernel: nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
May 15 16:12:46 AcerFedora kernel: nouveau 0000:01:00.0: DRM: DCB version 4.0
May 15 16:12:46 AcerFedora kernel: nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
May 15 16:12:46 AcerFedora kernel: [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
May 15 12:13:24 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
May 15 12:13:49 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
May 15 12:13:49 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
May 15 12:13:58 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
May 15 12:15:29 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
May 15 12:15:37 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]
May 15 12:15:37 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ IBUS ]
May 15 12:16:56 AcerFedora kernel: nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 6013d4 [ IBUS ]

Maybe I should configure video driver? To use Nvidia or default one

I am experiencing what appears to be an identical problem. I cold-installed F30B1 and have kept it patched up, and switched back and forth between Mate and Gnome desktops, but as soon as I tried Deepin I haven’t been able to get out of it. Removed Deepin, no change, reinstalled, no change. Installed a few other desktops, can only log in to Deepin. Using the switchdesk tool didn’t help. All series of logins, logouts, create new users and try them, reboots; consistent behavior of only Deepin desktop working for a login.

Here’s the journalctl:

Yes, seems the problem is in Deepin DE for Fedora 30.
My only solution was to backup existing data and fresh install F30 again.
As a workaround, you can press ctrl+alt+f2 to login to tty2 and type startx, which will launch default DE.

Hello,
I am not sure if this is still an issue, but I faced the same today. The solution was to install the gdm display manager (for cinnamon) and disable lightdm display manager of deepin:

dnf install gdm
systemctl disable lightdm
systemctl enable gdm
reboot

After that I was able to log into the system using cinnamon, and delete deepin FOREVER!
I guess deepin deleted the cinnamon display manager or I do not know what happened.

Zsolt

That is definitely a viable solution. I’ll go with that for now.

Well, maybe not the most viable. Now I can’t select alternate desktops like Deepin or Mate at login.