日期:2014-05-16  浏览次数:20735 次

非桌面版能启动带界面的程序吗?
比如服务器上,没有界面,如果运行一个带界面的程序,会发生什么?
------解决方案--------------------
不能运行吧,缺少一些库文件
------解决方案--------------------
$ gedit

** (gedit:10580): WARNING **: Command line `dbus-launch --autolaunch=c46f5bc84a92bfdf529250b10000211d --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n
Cannot open display: 
Run 'gedit --help' to see a full list of available command line options.