Re: During boot, it won't progress to xfce4 graphical desktop - stalls at terminal
Reply #9 –
You can't run startx without setting it up first:
First in your homedir, ~/.bashrc needs something like this adding to what is already in there:
# start x on login
if (( [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]] ) && (rc-status -r | grep -q 'default')); then
exec startx -- -verbose 6 -logverbose 6 >/home/$USER/.startx.log 2>&1
fi
or if you aren't using OpenRC, and that last bit isn't really essential anyway, it just makes sure the desktop only starts when you want it to:
# start x on login
if ( [[ -z $DISPLAY && ! -e /tmp/.X11-unix/X0 ]] ); then
exec startx -- -verbose 6 -logverbose 6 >/home/$USER/.startx.log 2>&1
fi
and again in your homedir, you need ~/.xinitrc to exist, and for XFCE it contains:
exec startxfce4
That will create a log file in ~/.startx.log and log that output for you as well. There may also be logs in /var/log. This sounds like a DM problem following an update. You can also downgrade the relevant packages after checking /var/log/pacman.log then upgrade them in sections to find the culprit(s) as another approach, but trying startx first is also a possible solution.