更改默认的桌面管理器

sh/bash/dash/ksh/zsh等Shell脚本
回复
yangshuyuan
帖子: 29
注册时间: 2008-07-10 11:32

更改默认的桌面管理器

#1

帖子 yangshuyuan » 2008-07-23 16:07

请问在哪个文件里可以更改默认启动的桌面管理器,
在开机的会话选项里为什么默认的是上次启动的桌面..
希望可以通过执行一个脚本文件来完成重新登陆并且能改变原来默认的桌面环境,
请各位高手帮忙啊,
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#2

帖子 HuntXu » 2008-07-23 16:43

通过修改gdm的配置文件然后reboot应该可以实现...

忘记具体在哪.../usr/share/gdm或是/etc/gdm...

脚本就等脚本党了... :D
HUNT Unfortunately No Talent...
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#3

帖子 bones7456 » 2008-07-23 16:49

看看 /etc/gdm/gdm.conf 吧
关注我的blog: ε==3
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#4

帖子 HuntXu » 2008-07-23 16:53

bones7456 写了:看看 /etc/gdm/gdm.conf 吧
你的提醒让我想起来...
貌似/etc/gdm/gdm.conf 里面某一句话说自从某某版本后gdm的配置文件应该是在/usr/share/gdm/gdm.conf还是其他哪个文件里了... :lol:
HUNT Unfortunately No Talent...
yangshuyuan
帖子: 29
注册时间: 2008-07-10 11:32

#5

帖子 yangshuyuan » 2008-07-23 17:13

我去试试看..
yangshuyuan
帖子: 29
注册时间: 2008-07-10 11:32

#6

帖子 yangshuyuan » 2008-07-23 19:22

没成功啊,好像不在/etc/gdm/gdm.conf下改啊, /usr/share/gdm下没有gdm.conf啊
yangshuyuan
帖子: 29
注册时间: 2008-07-10 11:32

#7

帖子 yangshuyuan » 2008-07-23 19:53

为什么我用 update-alternatives --config x-session-manager 修改后ctrl+alt+backspace默认的还是原来的的呢
头像
lhw828
帖子: 2797
注册时间: 2007-03-15 16:58
来自: 湖北武汉
联系:

#8

帖子 lhw828 » 2008-07-23 21:55

失败了,真失败
yangshuyuan
帖子: 29
注册时间: 2008-07-10 11:32

#9

帖子 yangshuyuan » 2008-07-23 22:01

别失败啊,指点指点我啊..
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#10

帖子 eexpress » 2008-07-23 23:01

....看下邮件。。。
● 鸣学
回复