阅 读 文 章

蜘蛛日记(五):图形界面的管理(包括启动,退出和环境设置)

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(南非蜘蛛) | 时间:2007-05-27 | 浏览:人次 ]


[这个贴子最后由南非蜘蛛在 2002/12/17 07:27pm 编辑]

作者:南非蜘蛛 zhedou@sohu.com 
个人主页:http://www.douzhe.com
转载请保留作者信息

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
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 启动 退出 环境 设置 包括 管理 日记 图形 面的 蜘蛛

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.