Bug 1116956

Summary: VNC-EXTENSION missed on Xorg server regeneration
Product: Red Hat Enterprise Linux 6 Reporter: Ashish Shah <ashishks>
Component: tigervncAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7CC: psklenar
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tigervnc-1.1.0-15.el6 Doc Type: Bug Fix
Doc Text:
When the last X client disconnects, the X server regenerates and all input devices and extensions are reinitialized. The vnc extension module did not handle this correctly, leaving the vnc extension inactive. This is now correctly handled.
Story Points: ---
Clone Of:
: 1119640 (view as bug list) Environment:
Last Closed: 2014-10-14 04:39:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1119640    

Description Ashish Shah 2014-07-07 17:02:48 UTC
Description of problem:

VNC Extersion is missed upon Xorg server re-generation i.e. when all the clients running on X server exits. 

Version-Release number of selected component (if applicable):
tigervnc-server-module-1.1.0-14.el6.i686
xorg-x11-server-Xorg-1.15.0-15.el6.i686

How reproducible:
Always

Steps to Reproduce:
1. Boot system in runlevel 3
2. Configure xorg.conf to load vnc module
3. Start Xorg and run xterm on it
 Xorg & DISPLAY=:0 xterm
4. In xtern window make sure VNC-EXTENSION is loaded.
 xdpyinfo | grep VNC
5. Try connecting from other system using vncviewer and make sure it works.
6. Exit from xterm and observe server regeneration happeing there. Slight flicker of Xorg due to re-load.
7. Send xterm to this Xorg from ssh session
 DISPLAY=:0 xterm
8. Check if VNC-EXTENSION is displayed on the server.
 xdpyinfo | grep VNC
9. Try connecting again from other system using vncviewer

Actual results:
No VNC-EXTENSION after server regeneration and remote system can not connect to X server over vnc.

Expected results:
VNC-EXTENSION should be retained/re-loaded after server regeneration and remote system should be able to connect to X server over vnc.


Additional info:

Comment 1 Tim Waugh 2014-07-08 15:09:57 UTC
I see the same thing. I think it's caused by the fix for bug #1004093.

With the RHEL-6.6 tigervnc package I can't connect xterm a second time.

Investigating.

Comment 2 Tim Waugh 2014-07-08 15:40:39 UTC
Also happens with Red Hat Enterprise Linux 7.0.

Comment 3 Tim Waugh 2014-07-08 16:05:55 UTC
Reported upstream.

Comment 4 Tim Waugh 2014-07-14 15:50:08 UTC
This is now fixed upstream.

Comment 8 errata-xmlrpc 2014-10-14 04:39:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1412.html