I feel like a total nit, but I have really struggled to get XFCE to work. I have read the FM, and It's instructions seem to me to be straightforward and good. However, for some reason I am unable to follow them or make it work.
I've installed XFCE4-Desktop done all the steps to start an xfce session, yet the screen doesn't load the desktop. Yet when I startx using the Ratpoison wm, or Ctwm or even JWM, it loads perfectly.
Please help me understand what I am doing wrong, one thing I do know it's not NetBSd. The latter has been perfect!
Installing XFCE
cornishbeaver Please post the content of your /etc/rc.conf
and explain how are you starting xfce. Are you using xinit
/startx
or, are you using a display manager?
Also, what instructions did you follow?
I used these instructions: https://slice2.com/2016/01/30/howto-install-the-xfce-4-12-desktop-on-netbsd-7/
I tried doing it the startx way. I do have XDM running .
I will post my rc.conf now.
- Edited
# $NetBSD: rc.conf,v 1.97 2014/07/14 12:29:48 mbalmer Exp $
#
# See rc.conf(5) for more information.
#
# Use program=YES to enable program, NO to disable it. program_flags are
# passed to the program on the command line.
#
# Load the defaults in from /etc/defaults/rc.conf (if it's readable).
# These can be overridden below.
#
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
fi
# If this is not set to YES, the system will drop into single-user mode.
#
rc_configured=YES
# Add local overrides below.
#
dhcpcd=YES
dhcpcd_flags="-qM wm0"
xdm=YES
wscons=YES
famd=YES
hal=YES
famd=YES
hal=YES
dbus=YES
rpcbind=YES
hal=YES
cornishbeaver I've never used xdm
so, you'll have to wait for people that do, @JuvenalUrbino but, I can say that hal
no longer exists in pkgsrc.
The instructions you've been following are over 7 years old.
What happens if you remove hal
, disable xdm
and use startx
?
Honestly, I've never used xfce but, I know people do use it. On the other hand, I co-maintain LXQt, so that one I know how to set-up.
pin I will disable xdm, it gets on my nerves a little. I like to have xfce for those lazy days.
cornishbeaver you could try x11/slim
, it's a maintained fork of the original project. But I don't use (never did) display managers, so I know nothing about those.
If you want to use xdm edit a .xsession file. If you want to login through the console, edit your .xinitrc. HAL doesn't exist anymore in pkgsrc
This blog post is a little newer than what you linked:
https://bitsymasbitsya.blogspot.com/2021/12/netbsd-92-and-xfce-with-xdm-display.html
Hope that helps
cornishbeaver check this script it will give you some idea https://github.com/OS108/OS108/blob/master/xfce.sh
βOnly the paranoid survive.β
β Harold Finch
NetBSD VPS , NetBSD , OS108
Jay Thanks Jay
Jay could I run this script? or should I change the "pkg_add" commands to "pkgin install"?
pin But I don't use (never did) display managers, so I know nothing about those.
There isn't really much to know there anyways. A display manager is basically a fancy interface for su
and startx
. Like i said elsewhere, i use a login wrapper and a fake shell. It's pretty much the same functionality in about 10 lines of shell script.
cornishbeaver no you can't run that script but adapt to your linking.
βOnly the paranoid survive.β
β Harold Finch
NetBSD VPS , NetBSD , OS108
- Install xfce4 with pkgin (not xfce4-desktop, that's only the background manager!)
- Run startxfce4 from the tty, or "echo startxfce4 > ~/.xsession" to run xfce from xdm.
And since you've already installed xfce4-desktop, do 'pkgin unkeep xfce4-desktop' just for sanity.