FreeBSD 7.3 Install GNOME Graphic Interface


FreeBSD is considered an unknown giant in the free operating system. It’s not Unix, but it runs like Unix and has a Unix-compatible system API. As an operating system, FreeBSD is considered to be fairly stable and reliable. FreeBSD defaults to a desktop-free command-line interface. To use a desktop environment, you must install it yourself or use a desktop distribution such as PC-BSD.

Usually install FreeBSD to select the minimum installation recommended, and then install other software by compiling source code or pkg_add command after installation. Graphic interfaces are rarely used, but sometimes they are better than none.

During installation, create a default normal user and specify a group as wheel, because SSH remotely logs on disabled root users and only users of the wheel group can su to root users.

Install the chart interface below:

Install gonme and Xorg with sysinstall command

Copy code

The code is as follows:

Configure -> Packages -> CD/DVD -> gnome -> gonme2-2.28.2_1
Configure -> Packages -> CD/DVD -> X11 -> Xorg-7.4_3

After installation, you can’t run the startx command directly, otherwise the system will not respond after starting the graphical interface.
First edit the / etc / rc. conf file, add

Copy code

The code is as follows:


After restart, if the error message “acd0: FAILURE – unknown CMD…” appears, execute hal-disable-polling — device/dev/acd0 command.
Running the startx command, at least we can use Xorg’s simple graphical interface.
If you use the gnome interface, execute echo “exec gnome-session” >. xinitrc
If you use the KDE interface, exec startkde >. xinitrc is executed
Run startx again.
We can also further customize the GUI properties to configure refresh rate, resolution, and so on.
Using root user to run Xorg-configuration to generate file

Copy code

The code is as follows:

Section “Monitor”
Identifier “Monitor0″
VendorName “Monitor Vendor”
ModelName “Monitor Model”
HorizSync 30-107
VertRefresh 48-120
Section “Screen”
Identifier “Screen0″
Device “Card0″
Monitor “Monitor0″
DefaultDepth 24
SubSection “Display”
Viewport 0 0
Depth 24
Modes “1024×768″

Run Xorg-config for testing
Ctrl+Alt+Backspace exits if gray lattice and X-shaped mouse appear
After the test is completed, run CP to update.
Compatibility 6x is required to install VMware tools

Install GNOME graphical interface in FreeBSD 7.3

Start the default FTP server and edit the / etc/rc.conf file

Copy code

The code is as follows:

Rerun/etc/rc.d/ftpd start

After uploading files, VMware tools can be installed through pkg_add compat6x-i386-6.4.604000.200810.tbz installation.
Run mount/dev/acd0 to mount the CD and mount the installation file to the / CDROM directory
Run tar zxvf/cdrom/vmware-freebsd-tools.tar.gz-C/root/and extract the installation file into the / root directory
After running the. / command, the installation of N return trucks is completed.
The introduction of installing GNOME graphical interface in FreeBSD 7.3 has been finished. I hope that the study of FreeBSD will be helpful to you.

Recommended Today

Monkey patch monkey patch programming method and its application in Ruby

What ismonkey patch (Monkey Patch)? In a dynamic language, functions are added and changed without modifying the source code. Purpose of using monkey patch:1. Additional function2. Function change3. Fix program errors4. Add a hook to execute some other processing while executing a method, such as printing logs, realizing AOP, etc,5. Cache, when the amount of […]