zoukankan      html  css  js  c++  java
  • 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就可以了~

    
    
  • 相关阅读:
    【PAT】1001 害死人不偿命的(3n+1)猜想(动态更新)
    文件指令集
    近距离接触电脑
    文件管理
    文件写作方法
    文件读取方法
    打开文件的逻辑
    话术库
    max的逻辑
    抽象化指令
  • 原文地址:https://www.cnblogs.com/flyme/p/2196548.html
Copyright © 2011-2022 走看看