*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks all.
After having installed both xorg and xfce, how to start GUI interface?
Here is a direct quote from the FreeBSD handbook.
Quote:
Unlike GNOME or KDE, Xfce does not provide its own login manager. In order to start Xfce from the command line by typing startx, first add its entry to ~/.xinitrc:
Following hitest's advice above does not start a GUI on startup. If you followed the link and enabled a display manager such as kdm4 or gdm and now decided that you don't want it, just undo or comment out whatever you did to /etc/rc.conf
OpenBSD comes with xenocara (a slightly modified version of X for OpenBSD), so you don't need to install it. Installing xfce is a simple matter of pkg_add -v xfce.
Many thanks all.
Cyn,
It seems that file is not editable. Any advice?
huamin@:~ % ls -l /etc/rc.conf
-rw-r--r-- 1 root wheel 164 Aug 6 09:40 /etc/rc.conf
With FreeBSD only users who are members of the wheel group may "su".
You will need to login as root and edit /etc/group and add user huamin to that group (like: wheel:*:0:root,huamin). Then huamin may "su".
As others have indicated, it is very much worthwhile to spend a few hours reading through the FreeBSD Handbook. I am a FreeBSD newbie myself, but what I have learned came mostly from that and the man pages and a few Ports makefiles.
Typical UNIX su requires the wheel group by default. GNU su does not require it for purely ideological reasons (explained by RMS).
I am surprised that I was unaware of this particular RMS-ism (or had forgotten it), but had recently found this difference between GNU/Linux and and FreeBSD. The man is fully committed to his cause - I admire that! Thanks for contributing to my own knowledge base!
Cyn,
The main reason is, I had some problem to login as root when starting the machine, since I did enable GUI to this. this is also why I need to change rc.conf file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.