Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49172 - Xlib: extension "RENDER" missing on display "localhost:10.0"
Summary: Xlib: extension "RENDER" missing on display "localhost:10.0"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 08:16 UTC by Mark Knecht
Modified: 2004-05-03 12:16 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Knecht 2004-04-27 08:16:33 UTC
Hi - user type here.

After some recent updates in the middle of last week I started getting VERY slow display of Evolution through an ssh tunnel. It used to respond and draw evolution very quickly. It's not taking minutes to draw the app on my screen here.

mknecht@Gentoo2 mknecht $ !ssh
ssh -X -C -c blowfish -l mark  wizard.myvnc.com
Password:
Last login: Mon Apr 26 11:52:21 2004 from 199.108.40.170
mark@Wizard mark $ !evo
evolution --disable-sound
Xlib:  extension "RENDER" missing on display "localhost:10.0". 

This last message about Xlib is new since I started having the problem. I am not sure if the localhost:10.0 is the remote machine that's running Evolution at home, or whether it's the local machine here at work where I'm displaying it.

Both machines appear to have libXrender on them:

REMOTE:

mark@Wizard lib $ pwd
/usr/X11R6/lib
mark@Wizard lib $ ls -al libXrender*
-rw-r--r--    1 root     root        36996 Feb 15 21:02 libXrender.a
lrwxrwxrwx    1 root     root           17 Feb 15 21:02 libXrender.so -> libXrender.so.1.2
lrwxrwxrwx    1 root     root           17 Feb 15 21:02 libXrender.so.1 -> libXrender.so.1.2
-rwxr-xr-x    1 root     root        31562 Feb 15 21:02 libXrender.so.1.2
mark@Wizard lib $ 

LOCAL:

Gentoo2 X11 # ls -al /usr/X11R6/lib/libXrender*
-rw-r--r--    1 root     root        36252 Feb 17 09:01 /usr/X11R6/lib/libXrender.a
lrwxrwxrwx    1 root     root           17 Feb 17 09:03 /usr/X11R6/lib/libXrender.so -> libXrender.so.1.2
lrwxrwxrwx    1 root     root           17 Feb 17 09:03 /usr/X11R6/lib/libXrender.so.1 -> libXrender.so.1.2
-rwxr-xr-x    1 root     root        31899 Feb 17 09:01 /usr/X11R6/lib/libXrender.so.1.2
Gentoo2 X11 # 


Reproducible: Always
Steps to Reproduce:
Just run Evolution over ssh between my two Gentoo boxes.
Actual Results:  
Evolution runs, but it's very slow to paint.

Expected Results:  
Evolution runs fast like it used to...

LOCAL:

Gentoo2 X11 # emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.57-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb
gdbm gif gpm gtk gtk2 guile imap imlib jack jack-caps jack-tmpfs java jpeg ldap
libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang
spell ssl svga tcltk tcpd truetype video_cards_radeon x86 xml2 xmms xv zlib"

Gentoo2 X11 # 



REMOTE:

Wizard root # emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25_pre7-gss-r2)
=================================================================
System uname: 2.4.25_pre7-gss-r2 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.57-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/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="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd
dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib jack
jack-caps jack-tmpfs java jpeg kde ladcca libg++ libwww mad mikmod motif mozilla
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl svga tcltk tcpd truetype usb video_cards_radeon x86
xml2 xmms xv zlib"

Wizard root #
Comment 1 Mark Knecht 2004-04-27 08:18:08 UTC
[QUOTE] It's not taking minutes to draw the app on my screen here.

That should have been "It's now taking minutes..."
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-27 12:17:38 UTC
xdpyinfo | grep RENDER
Comment 3 Mark Knecht 2004-04-28 09:08:01 UTC
On the local machine:

mknecht@Gentoo2 mknecht $ xdpyinfo | grep RENDER
    RENDER
mknecht@Gentoo2 mknecht $

On the remote machine where Evolution runs:

mark@Wizard mark $ xdpyinfo | grep RENDER
mark@Wizard mark $ 
Comment 4 Mark Knecht 2004-04-28 09:45:32 UTC
Now I'm very confused. When I log into Wizard from my Gentoo desktop machine Wizard tells me that RENDER is not supported. However, if I log into Wizard from my Gentoo laptop Wizard tells me the RENDER is supported:

mark@Wizard mark $ xdpyinfo | grep RENDER
    RENDER
mark@Wizard mark $ 

The Gentoo laptop says it supports RENDER locally as well:
 
bash-2.05b$ xdpyinfo | grep RENDER
    RENDER
bash-2.05b$ 

So is this telling me the problem is really my local Gentoo desktop machine and the way it communicates with the remote machine running Evolution?

I'll try comparing maybe the XF86config files, and maybe the ssh/sshd config files. Hopefully you'll be able to point me towards the soluion rather quickly.

Thanks!
Comment 5 Mark Knecht 2004-04-28 09:48:14 UTC
BTW - Evolution is fast and usable through the ssh tunnel coming from my laptop. It's only slow from my desktop.
Comment 6 Mark Knecht 2004-05-03 11:05:37 UTC
OK, so I found out this morning that downgrading openssh from 3.8_p1 to 3.7.1_p2-r2 fixes the problem with rendering.

Is this really a bug? Is it an openssh bug? Is it just some configuration issue with the new version?

I'd like to be able to update openssh. That's important.

Gentoo2 root # emerge -pv openssh

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] net-misc/openssh-3.8_p1 [3.7.1_p2-r2] -X509 -chroot -ipv6 -kerberos +ldap +pam -(selinux) -skey -static +tcpd  127 kB 

Total size of downloads: 127 kB

Gentoo2 root # 
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-03 11:59:09 UTC
Reassigning to ssh people.
Comment 8 Mark Knecht 2004-05-03 12:16:43 UTC
Hi - New info on ssh 3.8. There is a new option in 3.8 for 'Trusted X11 forwarding' wheich is enable d with the -Y option. Using ssh 3.8 and the -Y option my RENDER problem goes away:

mknecht@Gentoo2 mknecht $ !ssh
ssh -X -Y -C -c blowfish -l mark  marksmusic.myvnc.com
Password:
Last login: Mon May  3 12:07:29 2004 from 199.108.40.170
mark@Wizard mark $ !evo
evolution --disable-sound

(evolution:2890): GLib-GObject-WARNING **: gsignal.c:2010: instance `0x8479160' has no handler with id `2489'

(evolution:2890): Bonobo-CRITICAL **: file bonobo-control-frame.c: line 720 (bonobo_control_frame_set_ui_container): assertion `frame->priv->activated == FALSE' failed
mark@Wizard mark $ 


I received additional information that there could be or should be an option for this in ssh_config 'ForwardX11Trusted yes' but I do not find this in my Gentoo files. Maybe an ssh person didn't add it? Anyway, I think it better to do this on a connection by connection basis so I wouldn't want to enable it in the config file anyway.

This bug can be closed as far as I'm concerned. I'll report this info on bug 49161 also as I think it may be involved there also.