歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> Unix教程 >> Unix圖形界面管理(啟動,退出與環境設置)

Unix圖形界面管理(啟動,退出與環境設置)

日期:2017/2/27 17:42:36   编辑:Unix教程

  1:關閉和打開dtlogin
  
  /usr/dt/bin/dtconfig -d (關閉自動啟動圖形)
  /usr/dt/bin/dtconfig -e (容許自動啟動圖形)
  /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
  
  一個標准的CDE配置文件存放在/usr/dt/config這個目錄. 如果你不想編輯源文件,也可以copy到/etc/dt/config,然後編輯它. /etc/dt目錄默認不存在,需要手動創建.
  
  通過修改這個文件/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簽名的!,你就可以關閉下面的菜單選項,分別為:
  
  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 ..."
  
  有兩個沒有測試的選項, "options_failsafe"和"options_last_dt", 能用來關閉Failsafe和Last Session choices, 可是默認將繼續"Last Session".
  
  用!, 你就可以關閉CDE environment login (並強制用戶使用其它選項)
  
  Dtlogin*altDts: 1
  
  Dtlogin*altDtName1: Common Desktop Environment (CDE)
  Dtlogin*altDtKey1: /usr/dt/bin/dtwm
  Dtlogin*altDtStart1: /usr/dt/bin/Xsession
  Dtlogin*altDtLogo1: Dtlogo
  
  如果創建一個空的"/etc/dt/config/C/Xresources.d/Xresources.ow"文件,那麼OpenWindows Desktop將被關閉. 如果在Xresources.d目錄裡創建了Xresources.ow文件, 將可能添加其它desktops.
Copyright © Linux教程網 All Rights Reserved