David Cantrell <[email protected]> writes:
> On Sun, Nov 29, 2009 at 02:53:07PM -0700, [email protected] wrote:
>> David Cantrell wrote:
>> >If you can point me at the software, I'll install a fake X server on at
>> >least some of my machines. However, I really don't want random windows
>> >popping up all over the place on the only one of my testing machines to
>> >actually have a display, because it's also the same machine I use for
>> >watching films on.
>> Ah, I've used Xvfb in the past to do this but not recently... Good luck
>> using it!
>
> Tried it, but it just spits a load of errors about fonts, and I have no
> interest whatsoever in actually putting time into configuring an X
> server - that's why I stopped using Linux on the desktop years ago!
I also see some "FreeFontPath" errors when using Xvfb, but these seem to
be harmless. At least the Perl/Tk test suite runs without problems in a
Xvfb server.
But Xvfb is not the only solution:
- You can use an Xnest server, a full-featured X11 server running in an
X11 window. This means you can iconify this server, and the test
windows are now popping up within the (possibly iconified) window. To
create one use
Xnest :1 &
env DISPLAY=:1 xterm &
If you like a window manager you can add one with
env DISPLAY=:1 fvwm2 &
Or whatever window manager you prefer. Some systems, notably Debian
systems seem to require calling Xnest with the "-ac" option. Or do
experiment using the startx command instead:
startx -- /usr/local/bin/Xnest :1 &
- You can run another X11 server in another virtual console. At least
this should work on Linux and FreeBSD systems:
Change to a free virtual console by hitting Ctrl-Alt-F1 (or F2 ...).
Login.
Start the X11 server with
startx -- :1
The first X11 server is accessible using Ctrl-Alt-F9 on FreeBSD and
Ctrl-Alt-F7 on Linux systems. The second one may be switched to with
Ctrl-Alt-F10 or Ctrl-Alt-F8 resp.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
tknotes - A knotes clone, written in Perl/Tk.
http://ptktools.sourceforge.net/#tknotes