您的位置:首页 > 其它

Ubuntu root下无法启动emesene的解决方法

2011-09-30 14:51 513 查看
emesene是linux下的msn替代工具,界面很不错,但在root账户下其是无法启动的..

解决方法:

编辑他的配置文件:gedit /usr/share/emesene/Controller.py

注释掉如下代码后即可:

if (os.name == 'posix') and (os.getuid() == 0) and (args[4] == False):
print "I refuse to run as root. " \
"If you know the risks and still want to do it," \
" just add the --i-know-that-running-emesene-as-root-is-bad option."
return


注释使用“#”....


#    if (os.name == 'posix') and (os.getuid() == 0) and (args[4] == False):
#        print "I refuse to run as root. "
#                "If you know the risks and still want to do it," \
#                " just add the --i-know-that-running-emesene-as-root-is-bad option."
#        return


这样之后,去运行emesene就可以了~


                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: