ubuntu使用gedit问题
环境是ubuntu13.10使用sudogedit时候会出现如下错误提示(gedit:5172):IBUS-WARNING**:Theownerof/home/gao/....
环境是ubuntu 13.10
使用sudo gedit时候会出现如下错误提示
(gedit:5172): IBUS-WARNING **: The owner of /home/gao/.config/ibus/bus is not root!
(gedit:5172): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
使用gksu gedit时候没有哦错误提示却不能输入中文~
怎么破?? 展开
使用sudo gedit时候会出现如下错误提示
(gedit:5172): IBUS-WARNING **: The owner of /home/gao/.config/ibus/bus is not root!
(gedit:5172): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
使用gksu gedit时候没有哦错误提示却不能输入中文~
怎么破?? 展开
2个回答
展开全部
修改/etc/sudoers这个文件,内容如下:
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
把系统中所有的权限全部授予给root或者你的用户,只需要修改一下用户名就可以了。
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
把系统中所有的权限全部授予给root或者你的用户,只需要修改一下用户名就可以了。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |