关于切换环境变量的问题
Tofloor
poster avatar
15054189136
deepin
2013-07-04 07:36
Author
切换到root时,用su - root还是没有切换到root的环境变量中,请问这样那里出了差错
Reply Favorite View the author
All Replies
cxbii
deepin
2013-07-04 08:00
#1
  1. sudo su
Copy the Code

这样切换呢?
Reply View the author
woodelf
deepin
2013-07-04 08:04
#2
  1. su -
Copy the Code
即可,我一直这么做。
Reply View the author
cxbii
deepin
2013-07-04 08:06
#3
  1. su -
Copy the Code
即可,我一直这么做。
LD和ubuntu下,直接这样切应该是切不了,不知道是哪里限制了
Reply View the author
15054189136
deepin
2013-07-04 17:56
#4
  1. sudo su
Copy the Code

这样切换呢?
好像也不行呢
Reply View the author
15054189136
deepin
2013-07-04 18:02
#5
[quote]
  1. su -
Copy the Code
即可,我一直这么做。
LD和ubuntu下,直接这样切应该是切不了,不知道是哪里限制了[/quote]
在centOS里面su -是可以的,在LD里面不知道是为何,LD限制了root账户登录切换环境变量有问题不能用鼠标直接操作一些文件,只能用命令行,虽然也能解决问题,但感觉还是不爽
Reply View the author
cxbii
deepin
2013-07-04 19:57
#6
[quote]
  1. sudo su
Copy the Code

这样切换呢?
好像也不行呢[/quote]
可以的
DeepinScreenshot20130704115638.png
Reply View the author
15054189136
deepin
2013-07-05 08:27
#7
[quote][quote]
  1. sudo su
Copy the Code

这样切换呢?
好像也不行呢[/quote]
可以的
DeepinScreenshot20130704115638.png[/quote]
这样用文件管理器,还是没法查看root权限的文件,显示权限不足。比如复制文件到相关的文件夹内就显示权限不足
例如:星际译王软件的词库安装问题,用文件管理器就不能复制下载的词库到 "/usr/share/stardict/dic”显示权限不足。
只有在终端中的命令行操作才能完成
Reply View the author
BingoLove
deepin
2013-07-05 09:29
#8
  1. sudo nautilus
Copy the Code
Reply View the author
yangming
deepin
2013-07-07 06:57
#9
sudo su 然后按提示输入密码可以跳转到root 模式下  测试了一下 可以的。
Reply View the author
liyuce
deepin
2013-07-07 08:00
#10
  1. sudo nautilus
Copy the Code
这个是正解,
  1. sudo nautilus
Copy the Code
Reply View the author
15054189136
deepin
2013-07-12 07:23
#11
  1. sudo nautilus
Copy the Code
好像还是不行哎,出现了这样的问题
  1. (nautilus:3569): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  2. Initializing nautilus-open-terminal extension
Copy the Code
Reply View the author
cxbii
deepin
2013-07-12 20:01
#12
[quote]
  1. sudo nautilus
Copy the Code
好像还是不行哎,出现了这样的问题
  1. (nautilus:3569): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
  2. Initializing nautilus-open-terminal extension
Copy the Code
[/quote]
  1. gksu nautilus
Copy the Code
这样可以了把?
你的鹦鹉螺文件管理器的配置文件应该是出了点问题
Reply View the author