为什么呢?
Tofloor
poster avatar
182******97
deepin
2015-12-13 15:03
Author
在普通管理员账户下 sudo命令的软件无法进行任何输入 但是,在这种情况就可以:

这是为什么呢?https://bbs.deepin.org/user/4296 能不能以root用户身份来启动输入法呢?
Reply Favorite View the author
All Replies
avatar
182******97
deepin
2015-12-13 15:04
#1
@全体成员 @全体成员 @全体成员 @全体成员 @全体成员 @全体成员
Reply View the author
avatar
182******97
deepin
2015-12-13 15:05
#2
上次就是在普通管理员账户用sudo运行的VMware里 无法进行任何输入 就问过一次@cxbii
Reply View the author
avatar
136******54
deepin
2015-12-13 20:10
#3
正常,输入法无法在root下使用
我发现你有几个帖子都是用sudo启动软件出现问题,不建议这样做
正常使用软件就行了,不用加sudo
Reply View the author
avatar
SnDream
deepin
2015-12-13 20:24
#4
https://bbs.deepin.org/post/34022
正常,输入法无法在root下使用
我发现你有几个帖子都是用sudo启动软件出现问题,不建议这样做
正常使用软件 ...

不是吧,应该是sudo的软件无法使用输入法,然而以root进入桌面,此时的桌面是可以用输入法的。
Reply View the author
avatar
136******54
deepin
2015-12-13 22:26
#5
https://bbs.deepin.org/post/34022
不是吧,应该是sudo的软件无法使用输入法,然而以root进入桌面,此时的桌面是可以用输入法的。 ...

对,sudo的软件无法使用输入法
Reply View the author
avatar
182******97
deepin
2015-12-13 23:17
#6
https://bbs.deepin.org/post/34022
正常,输入法无法在root下使用
我发现你有几个帖子都是用sudo启动软件出现问题,不建议这样做
正常使用软件 ...

不是 我在root 账户下 sudo的软件就能用
Reply View the author
avatar
136******54
deepin
2015-12-13 23:40
#7
https://bbs.deepin.org/post/34022
不是 我在root 账户下 sudo的软件就能用

root账户是可以使用输入法,而且root账户也不需要sudo
Reply View the author
avatar
cxbii
deepin
2015-12-14 17:43
#8
https://bbs.deepin.org/post/34022
上次就是在普通管理员账户用sudo运行的VMware里 无法进行任何输入 就问过一次@cxbii ...

root权限运行的程序,是下是不允许使用输入法的。

你现在虽然是root登录没错,但是你的chrome应该不是root登录的。
你打开chrome的时候,应该是可以看到chrome有个弹框,说chrome不能在root下运行,要干什么什么的。

用root登录,不代表所有程序都会用root的环境变量来启动。
Reply View the author
avatar
182******97
deepin
2015-12-15 01:07
#9
https://bbs.deepin.org/post/34022
root权限运行的程序,是下是不允许使用输入法的。

你现在虽然是root登录没错,但是你的chrome应该不是ro ...

这个忽略吧 怎么让输入法以管理员权限启动?{:4_87:}
Reply View the author
avatar
182******97
deepin
2015-12-15 01:10
#10
https://bbs.deepin.org/post/34022
root账户是可以使用输入法,而且root账户也不需要sudo

试了一下 即便是Root账户  sudo启动的软件还是不能用
Reply View the author
avatar
182******97
deepin
2015-12-15 01:11
#11
https://bbs.deepin.org/post/34022
root权限运行的程序,是下是不允许使用输入法的。

你现在虽然是root登录没错,但是你的chrome应该不是ro ...

感觉就是输入法的权限不够才输入不了的
Reply View the author
avatar
cxbii
deepin
2015-12-15 17:36
#12
https://bbs.deepin.org/post/34022
感觉就是输入法的权限不够才输入不了的

这个是Linux下的权限机制决定的,具体可查debian的wiki。
Reply View the author