Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374141 - virtualx.eclass: attaching to running X display is broken, please remove
Summary: virtualx.eclass: attaching to running X display is broken, please remove
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 14:09 UTC by Nikoli
Modified: 2015-11-26 10:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch, works fine for me (virtualx.eclass.patch,4.30 KB, patch)
2012-06-19 15:35 UTC, Nikoli
Details | Diff
Same patch as above but without tabbing/space changes for easier review (virtualx-minimal-delta.patch,1.19 KB, patch)
2012-06-19 16:10 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2011-07-05 14:09:10 UTC
For me src_test works fine with virtualx.eclass only when I start emerge in 'screen' from agetty+bash session, if I run emerge from kdm+kde 4.6.3 session build hangs after '>>> Source compiled.' message. Please edit eclass to use Xvfb only.
Comment 1 Nikoli 2012-06-15 19:16:51 UTC
Do you need any help with fixing this trivial bug?
Comment 2 Nikoli 2012-06-19 15:35:04 UTC
Created attachment 315767 [details, diff]
patch, works fine for me
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-06-19 16:10:31 UTC
Created attachment 315775 [details, diff]
Same patch as above but without tabbing/space changes for easier review
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2015-11-26 10:26:19 UTC
commit e00275cad8aa0f5979c50d2fc9b317ebf754f9c2
Author: Justin Lecher <jlec@gentoo.org>
Date:   Thu Nov 26 11:17:13 2015 +0100

    virtualx.eclass: Always start Xvfb session

    In order to have guarantee the same X env, we should always
    create a Xvfb session instead of attaching to a running X session.

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=374141

    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00275cad8aa0f5979c50d2fc9b317ebf754f9c2