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

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

 

转载于:https://www.cnblogs.com/flyme/archive/2011/09/30/2196548.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值