[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 如何安裝xdm在init.d內



On Mon, Jun 04, 2001 at 12:10:42PM +0800, raycho@guardtek.com.hk wrote:
> 
>  1. 本人delete 了 /etc/init.d內的xdm,又用update-tc.d -f xdm
>  remove,現希望重加xdm在 /etc/init.d內,該如何做法?

你不應該刪除 /etc/init.d/ 裡的東西。其他 /etc/rc?.d 裡需要的
命令會和它裡面的命令做符號連接。
你可以試一下 dpkg-reconfigure xdm ,可能不行,如果不行就只能
重新按裝 xdm , apt-get install --reinstall xdm
然後可以用 update-rc.d 做設定。 man update-rc.d

> 2. 安裝debian時,只選了安裝windowmaker,因為沒有 GNOME 和 K 選擇,己在
> www.gnome.org
> 內找到並安可安裝GNOME,但不知該如何啟動,該如何做才可設定為default呢?

debian 有 gnome 包。
% apt-cache search gnome |grep task
task-gnome-apps - GNOME applications and utilities
task-gnome-desktop - GNOME basic desktop
task-gnome-games - GNOME games
task-gnome-net - GNOME network applications

 From /usr/share/doc/gnome-core/README.Debian:
The previous maintainers' .xinitrc file looked something like this:

----------------------------------------------------------------------
# This calls our default window-manager
/usr/bin/x-window-manager&
# You can replace the line above by seting a WINDOW_MANAGER environment
# variable to set your preferred WM.
export WINDOW_MANAGER=sawfish
# This starts up GNOME
exec /usr/bin/gnome-session
----------------------------------------------------------------------

Note:  If you don't have gnome-session set up at the end of your
       .xinitrc where it does the "exec" (perhaps your window manager
       is there) - you won't be able to use the session manager to
       handle the logging out process (where it will save the state
       of all your apps).


> 
> 最後有那一些途徑可以較清晰、較容易的找到一些問題的資料呢?可使我這位新
> 手較容易掌握linux/debian.
> 

man, /usr/share/doc/* debian-policy, debian faq, 有些問題是 Linux,
gnome, kde 的 FAQ , 看這些項目自己的文件, FAQ 還有就是各個 How-to。
還有查看本郵件列表以前的歸檔。

-- 
Best regard
hashao



Reply to: