Bug 1727860

Summary: vncserver -list returncode always indicates error
Product: Red Hat Enterprise Linux 8 Reporter: Martin Krajnak <mkrajnak>
Component: tigervncAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.1CC: tpelka
Target Milestone: rcKeywords: TestBlocker
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 21:23:58 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: 1678350    

Description Martin Krajnak 2019-07-08 11:44:14 UTC
Description of problem:
No matter what number of sessions I am running, the returncode is always 1,
which is confusing as it should an indication that something went wrong.

Version-Release number of selected component (if applicable):
tigervnc-server-1.9.0-9.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1.$ vncserver -list

Actual results:

TigerVNC server sessions:

X DISPLAY #	PROCESS ID
:1		7350
:99		8411
:2		8976
:3		13999
:4		14549
$ echo $?
1


Expected results:
should return 0 or be more descriptive about the error

Additional info:

Comment 1 Jan Grulich 2019-07-10 11:40:35 UTC
Shouldn't be a problem to fix.

Comment 4 Martin Krajnak 2019-07-12 11:36:15 UTC
tigervnc-1.9.0-10.el8.x86_64

Comment 6 errata-xmlrpc 2019-11-05 21:23:58 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.

https://access.redhat.com/errata/RHBA-2019:3481