Xfce 13.3 p2 won't launch Plasma or XFCE from Display Manager

I have two installs of 14.0 with XFCE that work great. My 13.3 I have
XFCE and KDE Plasma. In all cases, I use the Display Manager
recommended with the Window Manager: LightDM for XFCE, and SDDM for
Plasma.

On my 13.3 install, SDDM or LightDM take my login credentials just
fine. But then they both fail to start the Window Manager and return
me to the login screen.

I can launch XFCE manually as root with:

# startxfce4

But the sound does not work becasue it did not connect to PulseAudio.

Here are command outputs or config files from my 13.3 install.
Code:
$ groups
<group-matching-username> video wheel
Code:
$ cat /etc/rc.conf
clear_tmp_enable="YES"
hostname="ft"
ifconfig_em0="DHCP"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP"
sshd_enable="YES"
ntpdate_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
kld_list="i915kms"

dbus_enable="YES"
sound_load="YES"
snd_hda_load="YES"
lightdm_enable="YES"
# sddm_enable="YES"
# hald_enable="YES"
Code:
$ cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/gpt/efiboot0               /boot/efi       msdosfs rw              2       2
/dev/ada1p3.eli         none    swap    sw              0       0
proc                    /proc   procfs  rw              0       0
Code:
$ cat ~/.xsession
xec ck-launch-session dbus-launch startxfce4

$ cat ~/.xinitrc

exec ck-launch-session dbus-launch startxfce4
# exec ck-launch-session dbus-launch startplasma-x11

Uncommenting each line above correctly starts the corresponding window manager.
$ startx

But I want to do so from the display manager.

Here are my manually installed packages:
Code:
$ pkg query -e '%a = 0' %o
security/doas
graphics/drm-kmod
misc/freebsd-doc-en
devel/git
x11/kde5
x11/lightdm
x11/lightdm-gtk-greeter
ports-mgmt/pkg
x11/sddm
sysutils/tmux
x11-wm/xfce4
audio/xfce4-mixer
audio/xfce4-pulseaudio-plugin
x11/xorg
What else can I check?
 
Last edited by a moderator:
Had the same issue with xfce after upgrading from 13.2 to 13.3 - only root was able to startxfce4. My solution - added new user
Code:
adduser
Then, I moved all my bookmarks and data files from olduser to newuser and newuser had no issues with startxfce4
 
SirDice, hasbeen, thank you both for your reply. I commented out sound_load and snd_hda_load from my rc.conf. Yes my .xsession started with "exec" not "xec". That was a copy/paste error into my first post. startx calls .xsession with startxfce4. It works well. But how can I get it to launch from the display manager?
 
Did you try to login, using SDDM or LightDM, with newuser, created after upgrade to 13.3?

I don't know what was the reason for the 13.3 upgrade process to mess with /etc/passwd and /etc/group, but that's what happened. After the upgrade I found new entries in /etc/passwd and /etc/group which corrupted those files. I had to reboot after 13.3 upgrade into single user to edit and clean-up those config files.
 
Today I created a new user with adduser(8) per the user account management section of the handbook. Same result. But I should clarify only LightDM returns to the login screen. SDDM just freezes, but allows to switch to another terminal. Tested both with XFCE and Plasma in ~/.xsession for the new user and original user, only one uncommented at a time.

What else can I check?

I'm willing to live with startx if necessary, as it works quite well for XFCE and Plasma, which ever is uncommented in ~/.xinitrc.
 
Back
Top