Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166875 - net-misc/xf4vnc - vnc.so xorg module will not load on xorg-server-1.2
Summary: net-misc/xf4vnc - vnc.so xorg module will not load on xorg-server-1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 18:32 UTC by Dan Coats
Modified: 2009-12-26 19:55 UTC (History)
9 users (show)

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


Attachments
ebuild for Xvnc only (xf4vnc-xvnc-4.3.0.999.ebuild,549 bytes, text/plain)
2009-01-03 22:24 UTC, Ondrej Zary
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Coats 2007-02-14 18:32:09 UTC
(II) LoadModule: "vnc"
(II) Loading /usr/lib/xorg/modules//vnc.so
dlopen: /usr/lib/xorg/modules//vnc.so: undefined symbol: XkbInitialMap
(EE) Failed to load /usr/lib/xorg/modules//vnc.so
(II) UnloadModule: "vnc"
(EE) Failed to load module "vnc" (loader failed, 7)

Exists with 3 of my boxes with xorg-server-1.2.0 with either xf4vnc-4.3.0.104 or 4.3.0.999 but loads fine on my 2 boxes with xorg-server-1.1.1-r4
(II) LoadModule: "vnc"
(II) Loading /usr/lib/xorg/modules/vnc.so
(II) Module vnc: vendor="xf4vnc Project, see http://xf4vnc.sf.net (4.3.0.999)"
        compiled for 4.3.99.902, module version = 1.1.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.2


Reproducible: Always

Steps to Reproduce:
1.emerge xf4vnc
2.Try to load the module on xorg-server 1.2.0


Actual Results:  
(II) LoadModule: "vnc"
(II) Loading /usr/lib/xorg/modules//vnc.so
dlopen: /usr/lib/xorg/modules//vnc.so: undefined symbol: XkbInitialMap
(EE) Failed to load /usr/lib/xorg/modules//vnc.so
(II) UnloadModule: "vnc"
(EE) Failed to load module "vnc" (loader failed, 7)

Expected Results:  
(II) LoadModule: "vnc"
(II) Loading /usr/lib/xorg/modules/vnc.so
(II) Module vnc: vendor="xf4vnc Project, see http://xf4vnc.sf.net (4.3.0.999)"
        compiled for 4.3.99.902, module version = 1.1.0
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.2


Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 13 Feb 2007 21:58:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessability acl adns aiglx aim alsa apache2 apm arts audiofile bash-completion bcmath berkdb bidi bindinst bitmap-fonts browserplugin bzip2 cairo calendar caps cli cracklib crypt cups curlwrappers dbus dedicated dga dio divx4linux dlloader dri dts dvd eds emacs emacs-w3 emboss encode erandom esd ethereal examples expat fastcgi fbcon font foomaticdb fortran ftp gd gdbm gif glitz glut gnome gnusetup gnutls gpm gstreamer gtk gtk2 gtkhtml hal hardened iconv imap imlib immqt-bc inifile innodb ipv6 isdnlog ithreads java javascript jp2 jpeg jpeg2k kde kerberos krb4 libcaca libclamv libg++ libwww live lzo mad maildir mailwrapper midi mikmod milter mime ming mmap mmx mono motif mozbranding mp3 mpeg mpi msn musicbrainz ncurses nls nptl nptlonly nvidia oav objc ogg opengl oracle oscar oss pam pcre pdf perl php pic png portaudio posix pppd python qt3 qt4 quicktime readline real realmedia reflection sdl session shared spell spl sqlite sse ssl symlink tcltktcpd tcpd test threads truetype truetype-fonts type1-fonts urandom usb usepackagedmakefiles userlocales vcd vhosts videos vorbis win32codecs wmf wxwindows x86 xcomposite xinerama xml xorg xpm xprint xrandr xv xvid xvmc yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ilya Eremin 2007-03-07 21:19:19 UTC
Confirmed
Comment 2 Ilya Eremin 2007-03-15 20:30:53 UTC
Added the x11-misc/vnc maintainers to CC, since this is also reproducible on that package. SuSe apparently got the the fixed vnc from RealVNC cvs (where is it??)
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2007-03-15 21:18:21 UTC
(In reply to comment #2)
> Added the x11-misc/vnc maintainers to CC, since this is also reproducible on
> that package. SuSe apparently got the the fixed vnc from RealVNC cvs (where is
> it??)
> 

Well, i dunno about xf4vnc. But the module of vnc does not work with 1.2.0 because it uses the 1.1.1 sources to build.

x4vnc uses 4.3 Xfree86, i don't know how it worked with xorg 1.1.

Can you point me to the link of SuSe?
Comment 4 Ilya Eremin 2007-03-15 21:54:04 UTC
http://lists.opensuse.org/opensuse-commit/2007-01/msg01010.html
Change log I was referring to
from my openSuSe factory system
The URL of the package is http://xorg.freedesktop.org/, read me says

VNC 4.1.2 Source Distribution for Unix platforms
==============================================

Copyright (C) 2002-2005 RealVNC Ltd.  All Rights Reserved.

And finally the most useful thing is probably the source rpm
http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/src/xorg-x11-Xvnc-7.1-41.src.rpm

Let me know how else I can help!
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-03-16 16:57:58 UTC
(In reply to comment #4)
Err, they aren't using a cvs version of vnc. (it doesn't exist, btw). They were using a cvs version of xorg-server, which is needed to build it nowadays.

And according to that commit, their vnc didn't work with xorg-server-1.1(that is, xorg-7.1) and that's what they fixed. They use the same patches as us. Which are the patches from Redhat/Fedora.

Fedora doesn't use xorg-server-1.2.0 to build it yet. Probably the patches they/we use to build with xorg-server-1.1.1 won't work with 1.2.0.
Comment 6 Ilya Eremin 2007-03-16 18:57:07 UTC
hmmm I will try vnc on my openSuSe today then, see if it works and which version of xserver they are using (I am sure its pre-1.3). If it works, then is it possible to use that source rpm in gentoo?
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-04-02 13:15:41 UTC
(In reply to comment #6)
> hmmm I will try vnc on my openSuSe today then, see if it works and which
> version of xserver they are using (I am sure its pre-1.3). If it works, then is
> it possible to use that source rpm in gentoo?
> 

What's the result?

Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2007-04-18 13:36:07 UTC
vnc-4.1.2-r2 fixes this.

Removing us from cc.
Comment 9 Melendro 2007-05-04 10:43:35 UTC
(real)vnc never worked for me, at least the vnc.so module for xorg. It freezes my machine after connecting with any VNC client and introducing the password.

So I'm stuck with xf4vnc. Is there any chance to solve this problem in xf4vnc?
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2007-05-07 11:31:14 UTC
Probably

http://xf4vnc.sourceforge.net/modular.html
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-11-17 21:32:03 UTC
Useless with any current xorg-server, lets just remove this.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 16:34:40 UTC
Vote.

+1 as per last comment
Comment 13 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-21 20:47:46 UTC
+1, no maintainer willing to work on it for over a year
Comment 14 Ondrej Zary 2008-09-16 08:24:39 UTC
Please DO NOT remove xf4vnc. It contains standalone X VNC server (/usr/X11R6/bin/Xvnc), which is very useful thing and works fine! I use it to run a windows application under Wine on a server - without the need to install xorg. If the vnc.so module is broken, remove it, but PLEASE do not remove xf4vnc.
Comment 15 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-11-19 15:12:23 UTC
(In reply to comment #14)
> Please DO NOT remove xf4vnc. It contains standalone X VNC server
> (/usr/X11R6/bin/Xvnc), which is very useful thing and works fine! I use it to
> run a windows application under Wine on a server - without the need to install
> xorg. If the vnc.so module is broken, remove it, but PLEASE do not remove
> xf4vnc.
> 

Ondrej,
I'm not sure how to accomplish that. You could maybe move this package to a public overlay (sunrise) ? Leaving something broken in the tree or masked indefinately is not really an option here. Is there anything else that fills this need for you? At any rate, leaving open for a while longer..please update this bug with more info. thx
Comment 16 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-14 23:05:00 UTC
No update so removed, please utilize the Sunrise project if desired.

http://www.gentoo.org/proj/en/qa/treecleaners/#doc_chap7
Comment 17 Ondrej Zary 2009-01-03 22:24:39 UTC
Created attachment 177278 [details]
ebuild for Xvnc only

This ebuild installs only Xvnc from xf4vnc.
Comment 18 Ondrej Zary 2009-10-06 14:30:16 UTC
xf4vnc-xnvc is now completely broken with jpeg-7 update as it's linked with libjpeg.so.62 which no longer exists. It does not matter much as Xvnc is also included in tightvnc - I switched to that version and it seems to work fine.
Comment 19 Samuli Suominen (RETIRED) gentoo-dev 2009-10-06 14:39:02 UTC
(In reply to comment #18)
> xf4vnc-xnvc is now completely broken with jpeg-7 update as it's linked with
> libjpeg.so.62 which no longer exists. It does not matter much as Xvnc is also
> included in tightvnc - I switched to that version and it seems to work fine.
> 

You can still get libjpeg.so.62 from media-libs/jpeg-compat... Just saying.
Comment 20 m3q 2009-11-05 10:36:34 UTC
It seems that xf4vnc is still removed. Any chance of getting it back in portage tree? It seems to be only (AFAIK) vnc which has working RENDER extension - which allows qt4/kde4 apps to look normal (without artifacts). Or maybe someone knows replacement, which also has RENDER extension?