Bug 1212280

Summary: [doc] VNC session initiated using vncserver
Product: [openSUSE] openSUSE Distribution Reporter: Fergal Mc Carthy <fmccarthy>
Component: DocumentationAssignee: Tomáš Bažant <tbazant>
Status: RESOLVED FIXED QA Contact: Frank Sundermeyer <fs>
Severity: Normal    
Priority: P5 - None CC: ext.josef.prazak, tbazant
Version: Leap 15.5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard: https://jira.suse.com/browse/DOCTEAM-1028
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Fergal Mc Carthy 2023-06-13 15:13:47 UTC
VNC session initiated using vncserver:

https://doc.opensuse.org/documentation/leap/reference/single-html/book-reference/index.html#vnc-persistent-vncserver

There doesn't appear to be a vncserver command available in the Leap 15.5 packages:

% cnf vncserver
 vncserver: command not found
% zypper se --provides /usr/bin/vncserver
Loading repository data...
Reading installed packages...
No matching items found.

I upgraded my Leap 15.4 system (which had a working VNC Server environment) to Leap 15.5.

After doing so I was unable to start the vncserver like I normally do because there was no vncserver command installed.
Comment 1 Fergal Mc Carthy 2023-06-13 15:58:21 UTC
Looks like the standalone server has been removed from tigervnc per https://github.com/TigerVNC/tigervnc/issues/1193

Instead we can start user specific standalone sessions using vncsession, e.g.

% sudo vncsession ${USER} :${VNC_DISPLAY_NUMBER}

However this does require that the vncsession command is run with root privileges, e.g. via the sudo command as shown above.
Comment 2 Tomáš Bažant 2023-06-27 13:25:12 UTC
Thank you for reporting this bug!
It is being tracked and processed as part of our queue.
Comment 3 Tomáš Bažant 2023-09-13 07:18:51 UTC
*** Bug 1215105 has been marked as a duplicate of this bug. ***