Chinaunix首页 | 论坛 | 博客
  • 博客访问: 135216
  • 博文数量: 27
  • 博客积分: 681
  • 博客等级: 上士
  • 技术积分: 257
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-07 16:07
文章分类

全部博文(27)

文章存档

2012年(8)

2011年(16)

2010年(3)

分类: LINUX

2012-02-06 15:43:12

我们都知道su把普通用户切换到root用户。但是su只是切换用户,不SHELL切换环境,环境还是原来的环境。这有时会造成问题,比如图形编辑器的调用会出错!

GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See for information. (Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

而su -不但切换用户而且切换用户的SHELL环境。
阅读(1490) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~