Bug Tracker item #3290864, was opened at 2011-04-21 03:45
Message generated for change (Comment added) made by dcommander
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3290864&group_id=254363

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: UN*X version
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Franz Sirl (fsirl)
Assigned to: Adam Tkac (atkac)
Summary: No keyrepeat with 1.0.90 on SLES11SP1 (with solution)

Initial Comment:
My first try to use tigervnc-1.0.90 on SLES11SP1 worked, but caused the 
infamous key repeat problem.
After some trying I found out that essentially xorg-7.4 != xorg-7.4 :-). Since 
I build with this command:

sh ../tigervnc-1.0.90/unix/build-xorg build -version 7.4 -static

it seems that the choice of packages in unix/download-xorg-7.4 is incompatible 
with SLES11SP1 xorg-7.4.
I investigated the versions that were really in use on SLES11SP1 and came up 
with the attached patch (make sure you clean ~/.tigervnc-xorg-7.4 before you 
rerun build-xorg. After applying the patch everything worked like a charm and I 
didn't have a single problem (with a tigervnc-1.0.90 client on win7-x64) since 
then.

Though I changed a few packages to use, my guess is that the input-proto and 
xorg-xserver ones are the most relevant changes.

Hope this helps,
Franz


----------------------------------------------------------------------

>Comment By: D. R. Commander (dcommander)
Date: 2011-04-29 18:13

Message:
Patch has been applied and new binaries uploaded:

http://www.virtualgl.org/DeveloperInfo/TigerVNCPreReleases

An important note, however, is that if you're building with -static, you
are not using the Xorg libraries on your system.  You are statically
linking with a completely isolated build of the Xorg libraries.  Thus,
there should not be any possibility of conflict between your system's Xorg
libraries and the ones being used to build Xvnc.

That being said, the key repeat bug was apparently a bug in the X server
itself.

See this thread regarding building a dynamically linked version of Xvnc
with the pre-installed Xorg libraries:

https://sourceforge.net/mailarchive/forum.php?thread_name=4DB942AE.1080708%40nagafix.co.uk&forum_name=tigervnc-devel


----------------------------------------------------------------------

Comment By: D. R. Commander (dcommander)
Date: 2011-04-27 14:01

Message:
Adam, please see my comment below.  I think we have a disconnect with
regards to how build-xorg is supposed to be used.  We probably need to add
a new option to build-xorg that causes it to build against the system's X11
libraries, rather than installing the Xorg 7.4 libs.  The current
assumption is that if someone uses build-xorg, their system doesn't have
recent enough libraries to build TigerVNC.


----------------------------------------------------------------------

Comment By: Adam Tkac (atkac)
Date: 2011-04-27 08:47

Message:
I'm 99% sure this is issue in the xserver itself. Thank you for your patch,
it will help me with bisecting the patch for this issue.

----------------------------------------------------------------------

Comment By: Franz Sirl (fsirl)
Date: 2011-04-21 07:12

Message:
Then I have to report that tigervnc-1.0.90 is totally unusable against
xorg-x11-Xvnc-7.4-27.30.1.x86_64 from SLES11SP1. Colors are off, mouse
input doesn't work, keyboard input crashes Xvnc, vncconfig doesn't start.
So what other choice do I have than to use build-xorg to build a Xvnc
compatible with tigervnc-1.0.90?

Some Xvnc logging in case that helps:
21/04/2011 13:59:48 Xvnc version X.org/xf4vnc custom version
21/04/2011 13:59:48 Copyright (C) 2001-2004 Alan Hourihane.
21/04/2011 13:59:48 Copyright (C) 2000-2004 Constantin Kaplinsky
21/04/2011 13:59:48 Copyright (C) 1999 AT&T Laboratories Cambridge
21/04/2011 13:59:48 All Rights Reserved.
21/04/2011 13:59:48 See http://www.tightvnc.com/ for information on
TightVNC
21/04/2011 13:59:48 See http://xf4vnc.sf.net for xf4vnc-specific
information
21/04/2011 13:59:48 Desktop name 'ds1:33 (fsirl)' (ds1:33)
21/04/2011 13:59:48 Protocol versions supported: 3.7, 3.3
21/04/2011 13:59:48 Listening for VNC connections on TCP port 5933
21/04/2011 13:59:48 Listening for HTTP connections on TCP port 5833
21/04/2011 13:59:48   URL http://ds1:5833
startkde: Starting up...
(EE) config/hal: NewInputDeviceRequest failed (2)
(EE) config/hal: NewInputDeviceRequest failed (2)
....
21/04/2011 14:05:17 Got VNC connection from client 10.100.10.17
21/04/2011 14:05:17 Using protocol version 3.7
21/04/2011 14:05:21 Full-control authentication passed by 10.100.10.17
21/04/2011 14:05:21 Pixel format for client 10.100.10.17:
21/04/2011 14:05:21   8 bpp, depth 8
21/04/2011 14:05:21   true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
21/04/2011 14:05:21   no translation needed
21/04/2011 14:05:21 Enabling full-color cursor updates for client
10.100.10.17
21/04/2011 14:05:21 rfbProcessClientNormalMessage: ignoring unknown
encoding -223
21/04/2011 14:05:21 rfbProcessClientNormalMessage: ignoring unknown
encoding -308
21/04/2011 14:05:21 rfbProcessClientNormalMessage: ignoring unknown
encoding -307
21/04/2011 14:05:21 Using tight encoding for client 10.100.10.17
21/04/2011 14:05:21 Using copyrect encoding for client 10.100.10.17
21/04/2011 14:05:21 rfbProcessClientNormalMessage: ignoring unknown
encoding 16
21/04/2011 14:05:21 Enabling LastRect protocol extension for client
10.100.10.17
21/04/2011 14:05:21 Using image quality level 8 for client 10.100.10.17


----------------------------------------------------------------------

Comment By: D. R. Commander (dcommander)
Date: 2011-04-21 03:51

Message:
You're misunderstanding the purpose of build-xorg.  It is designed to build
a cross-compatible version of Xvnc for systems which do not have recent
enough Xorg libraries.  If your system is already running Xorg 7.4, then
you instead need to be building against the libraries that your system
provides.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3290864&group_id=254363

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to