OpenBSD Base Unix/Like OS Install Xfce DE Start To Finish Secure OS For Very Security Minded

Опубликовано: 14 Июнь 2021
на канале: Life, Home and my Linux Journeys'
4,813
106

Xfce4 Desktop on OpenBSD

After initial start up run: (as root) syspatch

To update softwre run: (as root) pkg_add -u

To update a single pkg. (as root) pkg_add -u (pkg name)



The steps I used after the base system is installed.



pkg_add xfce xfce-extras nano firefox barrage (you can add any software that you know is in OpenBSD repo's).

(** xfce4-power-manager upower ** For laptop batteries)



Edit the .xsession file
nano /home/username/.xsession and add:
exec startxfce4

nano .xsession if not already there add:
exec startxfce4
adduser to groups:
usermod -G operator username
usermod -G staff username
usermod -G games username

User will be added to the "wheel" group*. To check: groups username. otherwise add user to the wheel group. Groups are listed in: /etc/group

Edit the resource control, run these commands:
rcctl enable xenodm
rcctl enable multicast
rcctl enable avahi_daemon



Optional*** to install sudo:
pkg_add sudo

Options: 0: none 1: sudo-1961 2:sudo-1961-gettext 3: sudo-1961-getext-1dap (I selected 1)

To give/get user super user rights run:
visudo and make the appropriate changes

To check if you have su rights, as user type sudo whoami should see root

Reboot & sign in as user

NOTES:

Graphical package manager gui pkg mgr for openbsd:
pkg_add pkg_mgr

To Search pkg_info Q gnome -returns all listings of "gnome-"

To remove/uninstall pkg_delete package name
updating base system: (as root) syspatch



To update all software run: (as root) pkg_add -u
Updates all software.*warning, this may take a while*
To update just one pkg: (as root) pkg_add -u package name

Have fun, thanks for watching

Still Archin' on!!!