Bug 5045 - tigervnc-server-module is missing GetMaster symbol
Summary: tigervnc-server-module is missing GetMaster symbol
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA2-32-OK MGA2-64-OK
Keywords: PATCH, validated_update
Depends on: 10181
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-21 19:53 CET by Bill Randle
Modified: 2013-09-19 10:26 CEST (History)
11 users (show)

See Also:
Source RPM: tigervnc-1.1.0-1.mga2.src.rpm
CVE:
Status comment:


Attachments
tiger vnc xorg 111 patch (fedora tigervnc-1.1.0-5.fc18) (6.22 KB, patch)
2012-06-17 10:13 CEST, Arnaud GIBERT
Details | Diff

Description Bill Randle 2012-03-21 19:53:43 CET
Description of problem:
[   163.626] (II) LoadModule: "vnc"
[   163.634] (II) Loading /usr/lib/xorg/modules/extensions/libvnc.so
[   163.635] (EE) Failed to load /usr/lib/xorg/modules/extensions/libvnc.so: /usr/lib/xorg/modules/extensions/libvnc.so: undefined symbol: GetMaster
[   163.635] (II) UnloadModule: "vnc"
[   163.635] (II) Unloading vnc
[   163.635] (EE) Failed to load module "vnc" (loader failed, 7)


Version-Release number of selected component (if applicable):
1.1.0-1.mga2

How reproducible:
100% consistent


Steps to Reproduce:
1. Install tigervnc-server-module
2. include Load "vnc" line in xorg.conf
3. restart Xserver and view Xorg.0.log file

Seems to be a common problem as a Google search turned up similar problem with Fedora 16, which now has rebuilt package to solve the problem.
Comment 1 Bill Randle 2012-03-28 18:47:56 CEST
Changing priority to High, as this is very important to my usage, as the system this is installed on is remote. I also looked at some alternatives, such as x11vnc but it does not seem to be as smooth as Xvnc (as used on a Mageia 1 system). I hope someone will rebuild this package soon.

Priority: Normal => High

Comment 2 Marja Van Waes 2012-05-26 13:03:11 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 3 Arnaud GIBERT 2012-06-13 19:29:16 CEST
The same bug seems to be corected for Fedora :
https://bugzilla.redhat.com/show_bug.cgi?id=744881

This bug is still valid for Mageia 2.

CC: (none) => arnaud

Comment 4 Arnaud GIBERT 2012-06-17 10:13:44 CEST
Created attachment 2468 [details]
tiger vnc xorg 111 patch (fedora tigervnc-1.1.0-5.fc18)

This xorg 111 patch version don't use unexported GetMaster function.
Comment 5 Arnaud GIBERT 2012-06-17 10:17:59 CEST
I've apply this patch against the last mageia tiger-vnc package.
You can test the result here: ftp://ftp.rx3.org/pub/arc/pkg/tiger_vnc/1.1.0/

On my mageia/2 it seems to work.
More tests are needed.
Manuel Hiebel 2012-06-17 15:41:18 CEST

Keywords: NEEDINFO => PATCH
CC: (none) => dmorganec, fundawang
Whiteboard: (none) => MGA2TOO

Comment 6 Vladimir Gurevich 2013-05-10 08:29:11 CEST
The problem resurfaced in Mageia 3. Currently running Cauldron for Mageia 3.

CC: (none) => mageia

Comment 7 Arnaud GIBERT 2013-05-11 23:47:14 CEST
IMHO, this bugs has never been officially corrected: the patch I've proposed has never been release...
One year later on my Mageia 2, it's run smoothly.

Hardware: i586 => All

Comment 8 Samuel Verschelde 2013-08-26 15:01:48 CEST
I had a look at the package in cauldron: patches already have been synced from Fedora so the cauldron version should work now. 

I'll see if I can provide update candidates for MGA2 and MGA3.

Keywords: (none) => NEEDINFO

Samuel Verschelde 2013-08-26 15:04:17 CEST

Keywords: NEEDINFO => (none)

Comment 9 Samuel Verschelde 2013-08-26 15:19:59 CEST
See bug #10181
The update Alfonso Vera is preparing should fix you problem at the same time.

CC: (none) => bersuit.vera, stormi

Comment 10 Vincent D 2013-09-04 00:23:58 CEST
Same problem here, and unable to find and compile some .src.rpm for mageia 3 (x64): in any case (original or Comment 5 version) xserver110.patch fails.

What is the status of this bug ? Is there a good rpm somewhere ?

CC: (none) => vincent.dema+mageia

Alfonso Vera 2013-09-07 23:47:00 CEST

CC: (none) => juan.baptiste
Assignee: bugsquad => bersuit.vera

Comment 11 Alfonso Vera 2013-09-09 10:44:48 CEST
We have uploaded a patched tigervnc for Mageia 2.


Suggested advisory:
========================

Updated tigervnc packages to fix:

#mga5045: Rebuilt xorg111 patch from Fedora
#mga10181: Changes the java classes path /usr/share/tigervnc/classes to /usr/share/vnc/classes

This update also add BuildRequires: jpackage-utils

References:
========================
https://bugs.mageia.org/show_bug.cgi?id=10181
https://bugs.mageia.org/show_bug.cgi?id=5045

Updated packages in core/updates_testing:
========================
tigervnc-1.1.0-3.1.mga2.x86_64
tigervnc-server-1.1.0-3.1.mga2.x86_64
tigervnc-server-module-1.1.0-3.1.mga2.x86_64
tigervnc-java-1.1.0-3.1.mga2.x86_64

Source RPMs:
tigervnc-1.1.0-3.1.mga2.src.rpm

Assignee: bersuit.vera => qa-bugs

Comment 12 Vincent D 2013-09-09 19:57:50 CEST
Precompiled packages work fine for Mageia 3.

But compilation of tigervnc-1.1.0-3.1.mga3.src.rpm fails ending by:

  CC       Xvnc-buildtime.o
  CXXLD    Xvnc
../../xkb/.libs/libxkb.a(ddxLoad.o): In function `Sha1Asc':
/home/vins/tmp/rpmbuild/BUILD/tigervnc-1.1.0/unix/xserver/xkb/ddxLoad.c:105: undefined reference to `SHA1_Init'
/home/vins/tmp/rpmbuild/BUILD/tigervnc-1.1.0/unix/xserver/xkb/ddxLoad.c:109: undefined reference to `SHA1_Update'
/home/vins/tmp/rpmbuild/BUILD/tigervnc-1.1.0/unix/xserver/xkb/ddxLoad.c:113: undefined reference to `SHA1_Final'
collect2: error: ld returned 1 exit status


Anyway thank you for the upload !
Comment 13 Alfonso Vera 2013-09-09 22:58:57 CEST
Hi Vicent:
I can't reproduce your problem :-(

I build done 
mga2: tigervnc-1.1.0-3.1.mga2.src.rpm 
mga3: tigervnc-1.1.0-3.1.mga3.src.rpm 
    
rpmbuild --rebuild tigervnc-1.1.0-3.1.mgaX.src.rpm 

ftp://fr2.rpmfind.net/linux/mageia/distrib/2/SRPMS/core/updates_testing/
ftp://fr2.rpmfind.net/linux/mageia/distrib/3/SRPMS/core/updates_testing/
Comment 14 Samuel Verschelde 2013-09-10 10:21:02 CEST
Vincent, the Mageia 3 update candidate should be discussed in bug #10181, this one is now for the Mageia 2 update.

About your build problem, make sure you use openjdk-devel in version 1.6

Version: Cauldron => 2
Whiteboard: MGA2TOO => (none)

Comment 15 Dave Hodgins 2013-09-11 04:32:40 CEST
Is tigervnc-server-module intended only for headless servers?

I'm testing under virtualbox, using the procdure at
http://forums.fedoraforum.org/showthread.php?t=229781
and having the module loaded stops X from being displayed in
the guest.

I can ssh into it, and use vncviewer 127.0.0.1:5902, though so far only
see a black screen with the clipboard options, and the option to send
the primary selection to viewers.

If I don't load the module in Xorg.conf, then the script from
https://bugs.mageia.org/show_bug.cgi?id=10181#c11
works, so both the guest and the vncviewer can work with the same screen.

CC: (none) => davidwhodgins
Whiteboard: (none) => feedback

Comment 16 Dave Hodgins 2013-09-11 05:20:33 CEST
Looks like the problem in comment 15 is only under VirtualBox.

I tested on real hardware, and it's working.  I'll test x86_64 tomorrow.

Whiteboard: feedback => MGA2-32-OK

Comment 17 Dave Hodgins 2013-09-12 02:12:51 CEST
Advisory 5045.adv committed to svn.

Testing complete on x86_64.

I'll hold off validating this update until Mageia 3 has been tested too.

Whiteboard: MGA2-32-OK => MGA2-32-OK MGA2-64-OK

claire robinson 2013-09-16 10:12:09 CEST

Depends on: (none) => 10181

Comment 18 Dave Hodgins 2013-09-17 00:04:55 CEST
Validating the update.

Someone from the sysadmin team please push 5045.adv to updates.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 19 Thomas Backlund 2013-09-19 10:26:45 CEST
Update pushed:
http://advisories.mageia.org/MGAA-2013-0103.html

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.