Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148056
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Frink <andrew.frink@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
deskbar-applet-2.16.1-r1.ebuild r1 ebuild that applies the patch text/plain Patrick van Staveren 2006-11-14 22:45 0000 1.26 KB Details
deskbar-applet-2.16-nodisplay.patch patch for configure.ac to unset DISPLAY patch Patrick van Staveren 2006-11-14 22:45 0000 448 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148056 depends on: Show dependency tree
Bug 148056 blocks: 132627
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-18 06:35 0000
Deskbar-applet-2.16.0 fails to build when being built from an ssh connection
with 
"checking for gnomeapplet module... X11 connection rejected because of wrong
authentication.". 
Setting DISPLAY="" or emerging from a VT both work just fine.

------- Comment #1 From Patrick van Staveren 2006-11-14 22:45:07 0000 -------
Created an attachment (id=101962) [details]
r1 ebuild that applies the patch

------- Comment #2 From Patrick van Staveren 2006-11-14 22:45:47 0000 -------
Created an attachment (id=101963) [details]
patch for configure.ac to unset DISPLAY

This is a bug that should be fixed upstream.

Regardless, I've attached a hack/patch that runs 'unset DISPLAY' before doing
the python gnomeapplet checks.  When python imports the gtk module (req'd by
gnomeapplet) it won't see an X connection regardless, and thus does not try to
connect to it.  It doesn't matter, because the shell session doesn't need an X
server to build a package :)

This only will appear in very rare cases...for me, I had to ssh from one box to
another, with -X, and then delete the .Xauthority file to mimic the behaviour
as described.  This will fix it for everyone.

If anyone knows a bit more about python and can come up with a way to tell the
importing of gtk to not try to connect to X, that'd be useful...else, I'll also
file this upstream at bgo.

------- Comment #3 From Daniel Gryniewicz 2006-11-15 08:45:03 0000 -------
Fixed.

------- Comment #4 From Rémi Cardona 2006-11-29 01:17:58 0000 -------
Closing as per dang's comment.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug