我需要在批处理模式下运行openoffice以将.doc文件转换为pdf,但openoffice无法启动,因为它需要X服务器。我的Linux机器没有一个。我应该在debian上使用openoffice使用什么虚拟X服务器?
是否有一些虚拟的blackhole X服务器可以使用?
我正在使用debian etch。
我需要在批处理模式下运行openoffice以将.doc文件转换为pdf,但openoffice无法启动,因为它需要X服务器。我的Linux机器没有一个。我应该在debian上使用openoffice使用什么虚拟X服务器?
是否有一些虚拟的blackhole X服务器可以使用?
我正在使用debian etch。
也许你可以尝试xvfb
In the X Window System, Xvfb or X virtual framebuffer is an X11 server that performs all graphical operations in memory, not showing any screen output. From the point of view of the client, it acts exactly like any other server, serving requests and sending events and errors as appropriate. However, no output is shown. This virtual server does not require the computer it is running on to even have a screen or any input device. Only a network layer is necessary.
尝试,和那种工作。我使用xvfb-run,并遇到X11错误:无法打开显示器::99。 – jeje 2009-08-26 20:45:07
安装xfont-base删除了该错误。由于缺少字体,xvfb无法正常启动。 – jeje 2009-08-26 20:54:02
'apt install xvfb; Xvfb:1&; export DISPLAY =:1' – 2017-03-23 19:21:20