Red Hat Bugzilla – Bug 179635
receiving X Error when running vnc under anaconda
Last modified: 2013-04-30 19:33:15 EDT
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?
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):
strace vncconfig -display :32 -connect 192.168.3.30:5932 2>log
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.
Created attachment 129999 [details]
FYI: I also see this - but on 32-bit machines. Here is the screenshot - a bit
different error codes.
Looks like a completely separate issue. vnc is actually running in your case.
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
Attaching a patch which follows the approach of vnc-64bit.patch - that is, make
sure xorg-server.h gets included before the X defs
Created attachment 133424 [details]
*** Bug 188294 has been marked as a duplicate of this bug. ***
I just tried the patch and it seems to work. I get clipboard propagation again yay!
*** Bug 206116 has been marked as a duplicate of this bug. ***
(In reply to comment #6)
> Created an attachment (id=133424) 
Thank you for patch