Monday, May 15, 2006

FreeBSD志在與桌面Linux一較高下

桌面Linux (Desktop Linux)也許不久後將遭遇更強的開放原始碼對手:FreeBSD。

FreeBSD開發人員Scott Long接受ZDNet UK訪問時表示,FreeBSD的功能「即將追平」Linux。BSD脫胎自BSD作業系統,而BSD則從Unix衍生而來。

Long說:「現在,我們正投入許多工夫讓FreeBSD的桌面應用更平易近人。一年內,我們認為可和Linux打成平手。」

目前這群開發人員的首要目標,是把FreeBSD和GNOME以及KDE的桌面環境整合起來,並加入隨插即用的硬體功能。

Long說:「開發人員現在正努力讓使用者以後插入USB隨身碟就能使用,不必再費力輸入一些複雜的指令。」

FreeBSD桌面開發小組隊長Joe Clarke最近接受訪問時曾表示,目前聚焦於整合FreeBSD 與GNOME,但將來也希望納入KDE支援,以便為這些環境創造出一套共同的介面與工具。

Clarke接受BSDTalk訪問時說,首要之務是讓GNOME的硬體抽象層(hardware abstraction layer;HAL)--即處理硬體特定程式碼的部分--與FreeBSD互通。

他說:「讓硬體抽象層計畫成功套用在FreeBSD上,會是一大勝利。這不是萬靈丹,不會讓一切完美無瑕,但可讓FreeBSD的桌面功能跨進一大步。」

FreeBSD開發人員面臨的一大問題,是GNOME開發者通常偏重Linux,而不是其他桌面型作業系統。

Clarke說:「他們開始考慮的模組不支援FreeBSD或Solaris,只限Linux使用。我的看法是,絕大多數的核心GNOME開發人員只用Linux作為GNOME方開發平台。」

除了FreeBSD團隊之外,DesktopBSD計畫與PC BSD計畫也致力於開發桌面版的FreeBSD作業系統。

上周,FreeBSD團隊發布6.1版作業系統,一大功能是改良檔案系統的穩定度。

Long說:「這一版最花工夫的是檔案系統的穩定度。我們測試後發現了一些錯誤,然後加以除錯。對使用高負荷檔案伺服器的使用者來說,這或許是目前為止最好的版本。」

FreeBSD 6.1版的詳細資料可上FreeBSD網站閱覽。(唐慧文)

Sunday, May 14, 2006

FreeBSD - Fluxbox mit gdm

http://wiki.bsdforen.de/index.php/FreeBSD_-_Fluxbox_mit_gdm

Einleitung

Dieser Beitrag soll Schritt-für-Schritt durch die Installation des GNOME Display Managers (GDM) führen und die Integration von Fluxbox in selbigen aufzeigen.
[bearbeiten]
Wichtiger Hinweis

Bevor Sie weiterfahren, sollten Sie sich vergewissern, dass Sie ein aktuelles FreeBSD-System einsetzen. Welche FreeBSD-Versionen aktuell sind, erkennen Sie oben rechts auf FreeBSD.org. Falls Ihre FreeBSD-Version veraltet ist, finden Sie unter FreeBSD Make World eine Betriebssystem-Aktualisierungs-Anleitung.

Weiter sollten Sie in der Installation von FreeBSD-Programmen geübt sein. Wenn nicht, lesen Sie bitte die ausführliche Anleitung unter: Ports und Programme aktualisieren

Der Schalter "-P" des Kommandos portinstall/portupgrade hat den Effekt, dass bevorzugt Binärpakete installiert werden, was schneller geht, und nur bei Nichtverfügbarkeit entsprechender Pakete aus den Quellen kompiliert wird. Will man also immer kompilieren lassen, lässt man den Schalter einfach weg.
[bearbeiten]
Installation

Der Port "gdm" ist zu installieren.

% su
# portinstall -P gdm

[bearbeiten]
Konfiguration

Die Datei /usr/X11R6/share/gnome/xsessions/Fluxbox.desktop muss editiert werden:

[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Exec=/usr/X11R6/bin/fluxbox
Icon=
Type=Application

wobei darauf zu achten ist, dass der Pfad zu dem Binary "fluxbox" in der Zeile "Exec" auch richtig gesetzt ist.
[bearbeiten]
Testen

Ein Start von

# gdm

sollte nun den GDM präsentieren und man kann links oben unter Sessions "Fluxbox" anwählen.
[bearbeiten]
GDM beim Booten starten

Um den GDM beim Booten automatisch zu starten in /etc/rc.conf folgende Zeile einfügen:

gdm_enable="YES"

Getting gnome and GDM up and running.

Introduction:

A fresh install of OpenBSD does not include any graphical environment beyond the basic XFree86 (soon to be X.org). If you want to run Gnome you must add it yourself. Fortunately, Gnome and it's graphical login manager (gdm) are available in the ports and as packages. Assuming you have a working XFree86 config (not explained here) perform the following steps to install Gnome and gdm.

*Note*
These steps are written for OpenBSD 3.6. Other version might use different versions of the Gnome software so the package names may change.

1. Locate your OpenBSD mirror. A list of Mirrors is available at http://www.openbsd.org

2. Install the gnome software. This can be done via the ports which is the long way and not recommended, or as a package. To install the required packages, do the following.

# pkg_add ftp://someopenbsdmirror/pub/OpenBSD/3.6/packages/ARCH/gnome-session-2.6.2.tgz

Where someopenbsdmirror is you local mirror and ARCH is you machine architecture. Look in the /pub/OpenBSD/3.6/packages/ directory to find the name of the folder that matches your machine architecture.

This will take some time (depending on your internet connection speed).

3. Once this is done you can launch gnome manually, but most people will want it launched automatically by some graphical login manager. Gdm, which is the Gnome login manager, is a fine choice and it's available as a package. To install it, do the following.

#pkg_add ftp://someopenbsdmirror/pub/OpenBSD/3.6/packages/ARCH/gdm-2.6.0.3.tgz

4. Once this is complete you have everything you need to run Gnome and gdm. You most likely want gdm launched at startup and there are a variety of ways to do this, but a simple way to do it is to add the following line to the end of /etc/rc.local

/usr/local/bin/gdm -nodaemon &

5. Remember to add /usr/local/bin to your PATH environment variable if it is not already there or Gnome will fail to launch.