Bug 179635 - receiving X Error when running vnc under anaconda
Summary: receiving X Error when running vnc under anaconda
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vnc
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: David Lawrence
URL:
Whiteboard:
: 188294 206116 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-01 20:01 UTC by Chris Lumens
Modified: 2013-04-30 23:33 UTC (History)
7 users (show)

Fixed In Version: 4.1.2-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-25 13:10:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
strace error output running vncconfig on x86_64 (15.25 KB, text/plain)
2006-02-03 19:31 UTC, magaoaye
no flags Details
Screenshot (72.27 KB, image/jpeg)
2006-05-25 17:37 UTC, Konrad Rzeszutek
no flags Details
vnc-vnconnect-on-x86_64.patch (496 bytes, patch)
2006-08-01 18:07 UTC, Mark McLoughlin
no flags Details | Diff

Description Chris Lumens 2006-02-01 20:01:05 UTC
anaconda supports a VNC mode so the installation may be viewed remotely.  We run
the following command to set this up:

/usr/bin/vncconfig -display :1 -connect <remote host>

We are immediately getting the following error message back:

X Error: BadLength
 Request Major Code 134 (VNC-EXTENSION)
 Request Minor code 7 ()
 Error Serial #7
 Current Serial #7

I've only tested i386, x64_64, and ppc64.  Only x86_64 displays this problem. 
What would be useful in debugging this?

Comment 1 magaoaye 2006-02-03 19:31:44 UTC
Created attachment 124116 [details]
strace error output running vncconfig on x86_64

Would STRACE help? I attached my strace output above FYI  
(assumed: display 32, viewer: 192.168.3.30):
command execeute:

strace vncconfig -display :32 -connect 192.168.3.30:5932  2>log

Comment 2 Jason Tibbitts 2006-04-19 20:26:58 UTC
This is causing me much pain as well.  I am capable of patching anaconda and
rebuilding the installation images if necessary and would be happy to test in
any way necessary.

Comment 3 Konrad Rzeszutek 2006-05-25 17:37:37 UTC
Created attachment 129999 [details]
Screenshot

FYI: I also see this - but on 32-bit machines. Here is the screenshot - a bit
different error codes.

Comment 4 Jason Tibbitts 2006-05-25 18:19:57 UTC
Looks like a completely separate issue.  vnc is actually running in your case.

Comment 5 Mark McLoughlin 2006-08-01 18:06:03 UTC
Okay, I think I've figured this out.

Problem was with vncExtInit.cc and dix/dispatch.c compiled with differently laid
out ClientRec structures.

With dix/dispatch.c, _XSERVER64 was defined causing Mask to be a unsigned int
(i.e. CARD32) whereas vncExtInit.cc without _XSERVER64 making Mask be an
unsigned long.

Attaching a patch which follows the approach of vnc-64bit.patch - that is, make
sure xorg-server.h gets included before the X defs




Comment 6 Mark McLoughlin 2006-08-01 18:07:37 UTC
Created attachment 133424 [details]
vnc-vnconnect-on-x86_64.patch

Comment 7 Mark McLoughlin 2006-08-02 08:20:10 UTC
*** Bug 188294 has been marked as a duplicate of this bug. ***

Comment 8 Callum Lerwick 2006-08-02 17:35:08 UTC
I just tried the patch and it seems to work. I get clipboard propagation again yay!

Comment 9 Adam Tkac 2006-10-17 09:38:52 UTC
*** Bug 206116 has been marked as a duplicate of this bug. ***

Comment 10 Adam Tkac 2006-10-25 13:10:50 UTC
(In reply to comment #6)
> Created an attachment (id=133424) [edit]
> vnc-vnconnect-on-x86_64.patch

Thank you for patch




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