- 論壇徽章:
- 0
|
[這個(gè)貼子最后由南非蜘蛛在 2002/12/17 07:27pm 編輯]
作者:南非蜘蛛 zhedou@sohu.com
個(gè)人主頁(yè):http://www.douzhe.com
轉(zhuǎn)載請(qǐng)保留作者信息
1:關(guān)閉和打開(kāi)dtlogin
/usr/dt/bin/dtconfig -d (關(guān)閉自動(dòng)啟動(dòng)圖形)
/usr/dt/bin/dtconfig -e (容許自動(dòng)啟動(dòng)圖形)
/usr/dt/bin/dtconfig -kill (kill dtlogin)
/usr/dt/bin/dtconfig -reset (reset dtlogin)
/usr/dt/bin/dtconfig -p (printer action update)
/usr/dt/bin/dtconfig -inetd.ow (inetd.conf /usr/openwin daemons)
2:配置dtlogin
一個(gè)標(biāo)準(zhǔn)的CDE配置文件存放在/usr/dt/config這個(gè)目錄. 如果你不想編輯源文件,也可以copy到/etc/dt/config,然后編輯它. /etc/dt目錄默認(rèn)不存在,需要手動(dòng)創(chuàng)建.
通過(guò)修改這個(gè)文件/etc/dt/config/C/Xresources,定制dtgreet, 登陸的widget;
!! To disable options in dtgreet window, uncomment the appropriate
!! line below.
!Dtlogin*options_noWindows*sensitive: False
!Dtlogin*remote_host_menu*sensitive: False
!Dtlogin*options_languages*sensitive: False
!Dtlogin*session_menus*sensitive: False
!Dtlogin*options_restartServer*sensitive: False
!! To disable options under remote login option menu, uncomment the
!! appropriate line below.
!Dtlogin*remote_login_host*sensitive: False
!Dtlogin*choose_login_host*sensitive: False
刪除!Dtlogin簽名的!,你就可以關(guān)閉下面的菜單選項(xiàng),分別為:
1) Command Line Login
2) Remote Login
3) Language choice
4) Session choice
5) Reset Login Screen
6) Under the "Remote Login" menu, "Enter Hostname ..."
7) Under the "Remote Login" menu, "Choose Host From List ..."
有兩個(gè)沒(méi)有測(cè)試的選項(xiàng), "options_failsafe"和"options_last_dt", 能用來(lái)關(guān)閉Failsafe和Last Session choices, 可是默認(rèn)將繼續(xù)"Last Session".
用!, 你就可以關(guān)閉CDE environment login (并強(qiáng)制用戶(hù)使用其它選項(xiàng))
Dtlogin*altDts: 1
Dtlogin*altDtName1: Common Desktop Environment (CDE)
Dtlogin*altDtKey1: /usr/dt/bin/dtwm
Dtlogin*altDtStart1: /usr/dt/bin/Xsession
Dtlogin*altDtLogo1: Dtlogo
如果創(chuàng)建一個(gè)空的"/etc/dt/config/C/Xresources.d/Xresources.ow"文件,那么OpenWindows Desktop將被關(guān)閉. 如果在Xresources.d目錄里創(chuàng)建了Xresources.ow文件, 將可能添加其它desktops. |
|