By default in freeBSD there is no GUI installed.
Installing X and Gnome
Check the location of pkg_add by the below command.
To install the X environment enter the below command.
Add the below lines in /etc/rc.conf
gnome_enable="YES"
Save the file
Make the following lines in /etc/rc.conf
Generate xorg.conf file by running the below command
Login as root
Now we can start X in FreeBSD
Install Gnome2 by running the below command
Enjoy !!
Installing X and Gnome
Check the location of pkg_add by the below command.
# whereis pkg_addOutput should be
pkg_add: /usr/sbin/pkg_add /usr/share/man/man1/pkg_add.1.gz
To install the X environment enter the below command.
# pkg_add -r xorgAfter installation check the location of xorg by running the below command
# whereis xorgOutput should be
xorg: /usr/ports/x11/xorgInstalling GNOME
Add the below lines in /etc/rc.conf
gnome_enable="YES"
Save the file
Make the following lines in /etc/rc.conf
hald_enable="YES" dbus_enable="YES"Add the following lines in /etc/fstab
proc /proc procfs rw 0 0This line is must for the Gnome to work properly.
Generate xorg.conf file by running the below command
Login as root
# Xorg -configureNow a file named xorg.conf.new will be generated in the /root directory. Copy the file in to xorg.conf
# cp xorg.conf.new to xorg.conf
# cp xorg.conf /etc/X11
Now we can start X in FreeBSD
# startxAdd the below line to /etc/rc.conf
gdm_enable="YES" gnome_enable="YES"and save the file
Install Gnome2 by running the below command
#pkg_add -r gnome2After installation reboot the machine. No you can login to the Graphical environment.
Enjoy !!
No comments:
Post a Comment