ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] xvfb-run vs windowmanager
@ 2005-06-17 23:34 Alexey Tourbin
  2005-06-18  7:58 ` [devel] xvfb-run vs fluxbox php-coder
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Tourbin @ 2005-06-17 23:34 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 2534 bytes --]

Здравствуйте.

У меня есть пакет, который работает под обычным X сервером, но не
работает под xvfb-run:

$ xvfb-run -a make test
xauth:  creating new authority file /home/at/RPM/BUILD/x11guitest/.Xauthority
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test....NOK 17Use of uninitialized value in subroutine entry at t/test.t line 158.
t/test....FAILED tests 8, 17, 21, 23
        Failed 4/23 tests, 82.61% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/test.t                  23    4  17.39%  8 17 21 23
Failed 1/1 test scripts, 0.00% okay. 4/23 subtests failed, 82.61% okay.
make: *** [test_dynamic] Error 255
$

Как выяснилось, в ряде случаев помимо Xvfb требуется также windowmanager:

$ xvfb-run -a -- /bin/sh -c 'fluxbox & sleep 1; make test'
xauth:  creating new authority file /home/at/RPM/BUILD/x11guitest/.Xauthority
Warning: Failed to open catalog, using default messages.
Loading apps file...
apps file failure
Failed to load groupfile:
BScreen::BScreen: managing screen 0 using visual 0x27, depth 8
Loading apps file...
apps file failure
Failed to load font: -*-*-medium-r-normal-sans-10-*-75-75-p-*-*-*
Failed to load font: -*-*-medium-r-normal-sans-10-*-75-75-p-*-*-*
Failed to load font: -*-*-medium-r-normal-sans-10-*-75-75-p-*-*-*
Failed to load font: -*-*-medium-r-normal-sans-10-*-75-75-p-*-*-*
Failed to load font: -*-*-medium-r-normal-sans-10-*-75-75-p-*-*-*
angle = 0
BScreen::parseMenuFile: [stylesdir/stylesmenu] error, /home/at/.fluxbox/styles does not exist
[/home/at/.fluxbox/keys]: Invalid key/modifier on line(13): Mod1 F11 :Workspace11
BImageControl::~BImageControl: pixmap cache - releasing 1 pixmaps
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/test....ok
All tests successful.
Files=1, Tests=23,  4 wallclock secs ( 0.68 cusr +  0.61 csys =  1.29 CPU)
$ X connection to :1.0 broken (explicit kill or server shutdown).

Для чего требуется windowmanager, можно отдельно до конца разобраться
и объяснить, но, в общем, требуется.

Посему вопрос: как лучше всего (т.е. наиболее кратко и корректно)
скрестить xvfb-run и $WindowManager?  Как видно, код из командной строки
был не вполне корректным -- fluxbox некрасиво отвалился.  Может, стоит
добавить в xvfb-run опцию --wm=, чтобы он запускал и прибивал wm?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-18 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-17 23:34 [devel] xvfb-run vs windowmanager Alexey Tourbin
2005-06-18  7:58 ` [devel] xvfb-run vs fluxbox php-coder
2005-06-18 11:51   ` [devel] " Alexey Tourbin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git