I have the vnc module enabled in my xorg.conf. If I use VNC from the beginning
of an X session, everything works fine. If I use X on the console for a while
and then connect to that same session via VNC, the session crashes...
Version-Release number of selected component (if applicable):
How reproducible:
Close to 100%. I have been doing this on 3 machines - a work machine with RHEL5
and two home machines with CentOS 5 and see this on all 3 (even though xorg.conf
are all somewhat different).
Steps to Reproduce:
1. Include the vnc module in xorg.conf
2. Restart X and use in on the console for a while
3. Make sure the right VNC parameters are enabled to allow VNC logins (use
vncconfig, if necessary)
4. Open a VNC connection to the X session.
Actual results:
X.org crashes. Here is the crash report in Xorg.0.log on the RHEL5 machine with
all updates:
Description of problem:
I have the vnc module enabled in my xorg.conf. If I use VNC from the beginning
of an X session, everything works fine. If I use X on the console for a while
and then connect to that same session via VNC, the session crashes...
Version-Release number of selected component (if applicable):
vnc-server- 4.1.2-9. el5 server- Xorg-1. 1.1-48. 13.0.1. el5
xorg-x11-
How reproducible:
Close to 100%. I have been doing this on 3 machines - a work machine with RHEL5
and two home machines with CentOS 5 and see this on all 3 (even though xorg.conf
are all somewhat different).
Steps to Reproduce:
1. Include the vnc module in xorg.conf
2. Restart X and use in on the console for a while
3. Make sure the right VNC parameters are enabled to allow VNC logins (use
vncconfig, if necessary)
4. Open a VNC connection to the X session.
Actual results:
X.org crashes. Here is the crash report in Xorg.0.log on the RHEL5 machine with
all updates:
Backtrace: Xorg(xf86SigHan dler+0x81) [0x80bc1b1] so.6(memcpy+ 0x1c) [0x4af9ca6c] xorg/modules/ libfb.so( fbBlt+0x90e) [0x3fb39e] xorg/modules/ libfb.so( fbBltStip+ 0x73) [0x3fb8c3] xorg/modules/ libfb.so( fbGetImage+ 0x23a) [0x40b11a] xorg/modules/ libxaa. so [0x1be2a2] xorg/modules/ extensions/ libvnc. so(_ZN14Xserver Desktop10grabRe gionERKN3rfb6Re gionE+0x12a) xorg/modules/ extensions/ libvnc. so(_ZN3rfb11VNC ServerST11check UpdateEv+ 0x1b7) xorg/modules/ extensions/ libvnc. so(_ZN3rfb16VNC SConnectionST22 writeFramebuffe rUpdateEv+ 0x5c) xorg/modules/ extensions/ libvnc. so(_ZN3rfb16VNC SConnectionST24 framebufferUpda teRequestERKNS_ 4RectEb+ 0xbf) xorg/modules/ extensions/ libvnc. so(_ZN3rfb10SMs gReader28readFr amebufferUpdate RequestEv+ 0x14f) xorg/modules/ extensions/ libvnc. so(_ZN3rfb12SMs gReaderV37readM sgEv+0x14a) xorg/modules/ extensions/ libvnc. so(_ZN3rfb11SCo nnection10proce ssMsgEv+ 0x14f) xorg/modules/ extensions/ libvnc. so(_ZN3rfb16VNC SConnectionST15 processMessages Ev+0x48) xorg/modules/ extensions/ libvnc. so(_ZN3rfb11VNC ServerST18proce ssSocketEventEP N7network6Socke tE+0x3f) xorg/modules/ extensions/ libvnc. so(_ZN14Xserver Desktop13wakeup HandlerEP6fd_ seti+0xd4) xorg/modules/ extensions/ libvnc. so [0x2893ec] Xorg(WakeupHand ler+0x59) [0x808c169] Xorg(WaitForSom ething+ 0x1b9) [0x81a0849] Xorg(Dispatch+ 0x8d) [0x8087f9d] Xorg(main+ 0x485) [0x806fa35] so.6(__ libc_start_ main+0xdc) [0x4af44dec] Xorg(FontFileCo mpleteXLFD+ 0x1e9) [0x806ed71]
0: /usr/bin/
1: [0x302420]
2: /lib/libc.
3: /usr/lib/
4: /usr/lib/
5: /usr/lib/
6: /usr/lib/
7: /usr/bin/Xorg [0x81088e8]
8: /usr/bin/Xorg [0x815b2a3]
9: /usr/bin/Xorg [0x811d4fd]
10:
/usr/lib/
[0x291c9a]
11:
/usr/lib/
[0x29d457]
12:
/usr/lib/
[0x2ac8ec]
13:
/usr/lib/
[0x2ad1ef]
14:
/usr/lib/
[0x2b3bcf]
15:
/usr/lib/
[0x2a83da]
16:
/usr/lib/
[0x2a7d7f]
17:
/usr/lib/
[0x2abf18]
18:
/usr/lib/
[0x29d20f]
19:
/usr/lib/
[0x291154]
20: /usr/lib/
21: /usr/bin/
22: /usr/bin/
23: /usr/bin/
24: /usr/bin/
25: /lib/libc.
26: /usr/bin/
Fatal server error:
Caught signal 11. Server aborting
Expected results:
VNC session starts
Additional info:
My xorg.conf:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "Mitsubishi"
ModeLine "1800x1350" 299.67 1800 1968 2168 2480 1350 1351 1354 1397
-hsync -vsync
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection
Section "Screen"
Virtual 1800 1350
Identifier "Screen0"
Device "Videocard0"
Monitor "Mitsubishi"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Module"
SubSection "vnc"
# XXX: Do not know why, but these options do not get picked up
Option "SecurityTypes" "VncAuth"
Option "PasswordFile" "/root/.vnc/passwd"
Option "Localhost" "true"
Option "AlwaysShared" "true"
EndSubSection
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
Load "type1"
Load "record"
Load "dri"
Load "drm"
EndSection