Part of the installation process for desklet-goodweather does something that queries $DISPLAY, and it apparently cannot handle values typical of an SSH session (e.g. "localhost:10.0"). The same package will emerge fine when "su -" is used instead of "ssh localhost -l root" (which happens to be my preferred root access method here on my laptop, since my ssh keys are my primary authentication tokens.) Note that normal X applications (e.g. xterm) work just fine for me under this setup. Reproducible: Always Steps to Reproduce: 1. ssh localhost -l root 2. emerge desklet-goodweather Actual Results: --- !targe sym /usr/bin/gdesklets-shell --- !targe sym /usr/bin/gdesklets-migration-tool --- !targe sym /usr/bin/gdesklets-logview --- !targe sym /usr/bin/gdesklets-daemon --- !targe sym /usr/bin/gdesklets >>> Updating Scrollkeeper * Updating desktop mime database ... * Updating shared mime info database ... *** * Updating MIME database in /usr/share/mime... *** >>> Regenerating /etc/ld.so.cache... * Caching service dependencies ... [ ok ]>>> emerge (16 of 39) x11-plugins/desklet-goodweather-0.4-r2 to / >>> md5 files ;-) desklet-goodweather-0.3.ebuild >>> md5 files ;-) desklet-goodweather-0.4.ebuild >>> md5 files ;-) desklet-goodweather-0.4-r1.ebuild >>> md5 files ;-) desklet-goodweather-0.4-r2.ebuild >>> md5 files ;-) files/digest-desklet-goodweather-0.4-r1 >>> md5 files ;-) files/digest-desklet-goodweather-0.3 >>> md5 files ;-) files/digest-desklet-goodweather-0.4 >>> md5 files ;-) files/digest-desklet-goodweather-0.4-r2 >>> md5 src_uri ;-) GoodWeather.tar.gz >>> Unpacking source... >>> Unpacking GoodWeather.tar.gz to /var/tmp/portage/desklet-goodweather-0.4-r2/work >>> Source unpacked. >>> Test phase [not enabled]: x11-plugins/desklet-goodweather-0.4-r2 >>> Install desklet-goodweather-0.4-r2 into /var/tmp/portage/desklet-goodweather-0.4-r2/image/ category x11-plugins * Installing Sensor GoodWeather X11 connection rejected because of wrong authentication. The application 'Install_GoodWeather_Sensor.bin' lost its connection to the display localhost:10.0; most likely the X server was shut down or you killed/destroyed the application. !!! ERROR: x11-plugins/desklet-goodweather-0.4-r2 failed. !!! Function gdesklets_src_install, Line 57, Exitcode 1 !!! Couldn't Install Sensor !!! If you need support, post the topmost build error, NOT this status message. Expected Results: >>> Source unpacked. >>> Test phase [not enabled]: x11-plugins/desklet-goodweather-0.4-r2 >>> Install desklet-goodweather-0.4-r2 into /var/tmp/portage/desklet-goodweather-0.4-r2/image/ category x11-plugins * Installing Sensor GoodWeather The sensor has been installed successfully. gDesklets is now able to use it. * Installing Display GoodWeather man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Completed installing desklet-goodweather-0.4-r2 into /var/tmp/portage/desklet-goodweather-0.4-r2/image/ >>> Merging x11-plugins/desklet-goodweather-0.4-r2 to / [...] --- /usr/share/doc/ >>> /usr/share/doc/desklet-goodweather-0.4-r2/ >>> /usr/share/doc/desklet-goodweather-0.4-r2/README.gz >>> Regenerating /etc/ld.so.cache... * Caching service dependencies ... [ ok ]>>> x11-plugins/desklet-goodweather-0.4-r2 merged. [...] ook rules.d # emerge info Portage 2.0.51.20-r4 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/ http://gentoo.ccccom.com http://gentoo.osuosl.org/ ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52dec aac aalib acl acpi acpi4linux aim alsa apache2 apm arts artworkextra audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cddb cdparanoia cdr codecs crypt ctype cups curl curlwrappers dba dga dio directfb divx4linux doc dri dvb dvd dvdr dvdread dxr3 emacs emboss encode esd ethereal exif faac faad fam fame fbcon ffmpeg fftw flac flash font-server foomaticdb fortran freetype ftp gcj gd gdbm ggi gif gimp gimpprint glut glx gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq imagemagick imlib insecure-drivers ipv6 jabber jack java jikes joystick jpeg jpeg2k junit ladcca lcms ldap libg++ libwww mad mikmod ming mitshm mjpeg mmap mmx mng motif mozilla mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn mysql nas ncurses nls nptl odbc ofx ogg oggvorbis openal opengl oscar oss pam pcmcia pcntl pcre pda pdflib perl php pic pie png pnp posix ppds python qt quicktime readline samba scanner sdl session shared sharedmem simplexml slang slp sndfile snmp soap sockets sox spell sse ssl svg svga sysvipc tcltk tcpd tetex theora tiff truetype truetype-fonts trusted type1-fonts usb v4l v4l2 videos vorbis wmf wxwindows xanim xine xml xml2 xmlrpc xmms xosd xpm xscreensaver xsl xv xvid xvmc yahoo yv12 zlib video_cards_savage" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
N.B. This is likely a problem for all desklets; I just got the exact same problem with desklet-battery-0.3.
I can't confirm this bug currently - I'm logged in remotely and it worked as it should. Tested with DISPLAY set as its default and to "localhost:10.0". Can anybody verify this for non sensor-based desklets? Both goodweather and battery are sensor-based, deprecated, and being phased out. So unless this still occurs for the newer ones, this probably won't be fixed. What about newsgrab or clock, for example?
Clock seems to merge fine. Newsgrab and hypertail die on me during ebuild with sandbox violations, but that happens regardless of $DISPLAY.
Please see my comment in bug 90403 - note it there if you have more sandbox issues (as it is completely unrelated to this bug).
Has this issue been fixed? I think bug 95404 was related to this one and that seems to be fixed.
Seems to be fixed for good.