OpenBSD

From Bashlinux
Revision as of 02:04, 17 June 2015 by Manpaz (talk | contribs) (Created page with "=== How to allow a user to run sudo === user mod -G wheel <user> === How to install XFCE === * Export the Distro version echo 'export PKG_PATH=ftp://ftp.openbsd.com/pub/Ope...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to allow a user to run sudo

user mod -G wheel <user>

How to install XFCE

  • Export the Distro version
echo 'export PKG_PATH=ftp://ftp.openbsd.com/pub/OpenBSD/5.5/packages/$(uname -m)' >> /root/.profile
  • Install the ports
pkg_add -iv xfce
pkg_add -iv slim slim-themes
  • Setup xfce startup
echo 'exec startxfce4' > /home/*/.xinitrc
echo 'exec startxfce4' > /root/.xinitrc
  • Setup Slip
echo '/usr/local/bin/slim -d' >> /etc/rc.local
echo 'dbus_enable=YES' >> /etc/rc.conf.local
echo 'pkg_scripts="dbus_daemon avahi_daemon"' >> /etc/rc.conf.local
  • Reboot the host
reboot
Warning Note
If the host comes back with fwm, then re-run pkg_add just to update the quirks