Everyone comes another update this one is just how to enable GNOME on your OpenBSD 4.8
OpenBSD Repositories
1. Make your live easier, by installing nano
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/nano-2.2.4.tgz
# echo 'set nowrap' > /root/.nanorc
Do on your user also
$ echo 'set nowarp' > /home/your_username/.nanorc
2. Using root previlages, add this to your machine
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gdm-2.20.11p1.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/metacity-2.30.1p1.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-panel-2.30.2p2.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/nautilus-2.30.1p2.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-terminal-2.30.2p0.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-themes-2.30.2.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-themes-extras-2.22.0p8.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-utils-2.30.0p0.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-control-center-2.30.1p0.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-settings-daemon-2.30.2p1.tgz
# pkg_add -r http://ftp.openbsd.org/pub/OpenBSD/4.8/packages/i386/gnome-menus-2.30.2p0.tgz
3. Assume you already download the files in the top, do this
# nano /etc/rc.local
add this the following lines in the bottom
-----------------------------------------------------
if [ -x /usr/local/sbin/gdm ]; then
echo -n ' gdm'; (sleep 5; /usr/local/sbin/gdm) &
fi
----------------------------------
# echo 'exec gnome-session' > /root/.xinitrc
# chmod +x /root/.xinitrc
under your user account do the same thing
$ echo 'exec gnome-session' > /home/your_username/.xinitrc
$ chmod +x /home/your_username/.xinitrc
4. Next do this to make it works
# nano /etc/rc.conf.local
add this following lines in the bottom
-----------------------------------------------------
gnome_enable=YES
gdm_enable=YES
----------------------------------
5. Enjoy your Gnome.
Regards,
феникс
No comments:
Post a Comment