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就可以了~