Bug 1881752 - dnf install tigervnc-server does not install /usr/bin/vncserver. Reports "Failed to preset unit: Unit file xvnc.service does not exist"
Summary: dnf install tigervnc-server does not install /usr/bin/vncserver. Reports "Fa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tigervnc
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-23 02:44 UTC by Steve King
Modified: 2020-11-13 01:30 UTC (History)
3 users (show)

Fixed In Version: tigervnc-1.11.0-6.fc33 tigervnc-1.11.0-6.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-05 00:15:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve King 2020-09-23 02:44:21 UTC
Description of problem:
On fresh and update-to-date installation of Fedora 32 x86_64, dnf install tigervnc-server reports "complete!" but does not not install /usr/bin/vncserver.  During installation, the message:
"Failed to preset unit: Unit file xvnc.service does not exist"
appears in the console output.


Version-Release number of selected component (if applicable): 1.11.0-1.fc32


How reproducible:
Try to install tigervnc-server on a fresh F32 installation.

Steps to Reproduce:
1.  Install Fedora 32 x86_64 Workstation
2.  sudo dnf update
3.  sudo dnf install tigervnc-server

Actual results:
which vncserver reports no such executable

Expected results:
tigervnc-server should install all vncserver components

Additional info:
Apparently systemd service renaming is the source of this sort of problem.

Comment 1 Jan Grulich 2020-09-23 05:41:12 UTC
The error message "Failed to preset unit: Unit file xvnc.service does not exist" is an issue in the spec file, I will fix that. The missing vncserver is expected as Tigervnc is supposed to be started over systemd now. There is a newer build of Tigervnc providing /usr/bin/vncserver, but it's just a script that will tell you to read HOWTO.md document.

Comment 2 Fedora Update System 2020-09-23 06:57:57 UTC
FEDORA-2020-7f2dcfe858 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7f2dcfe858

Comment 3 Fedora Update System 2020-09-23 06:58:08 UTC
FEDORA-2020-98137c59f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

Comment 4 Steve King 2020-09-23 14:15:13 UTC
Systemd start implies tigernvc-server users require root privilege, correct?  If so, that's a step backward in usability.

Comment 5 Steve King 2020-09-23 14:15:52 UTC
Thanks for the speedy update to the install problem.

Comment 6 Fedora Update System 2020-09-23 15:24:52 UTC
FEDORA-2020-7f2dcfe858 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7f2dcfe858`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7f2dcfe858

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-09-23 17:21:07 UTC
FEDORA-2020-98137c59f8 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-98137c59f8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Steve King 2020-09-23 17:32:12 UTC
Applied patch as directed on F32.  Executing /usr/bin/vncserver gives:

Please read /usr/share/doc/tigervnc/HOWTO.md for more information.

However, /usr/share/doc/tigervnc/HOWTO.md was not installed.

Comment 9 Steve King 2020-09-23 17:35:04 UTC
Other than missing HOWTO, install script errors are now gone.

Comment 10 Steve King 2020-09-23 21:15:28 UTC
Fedora documentation here still refers to /usr/bin/vncserver.
https://docs.fedoraproject.org/en-US/Fedora/24/html/System_Administrators_Guide/ch-TigerVNC.html

Comment 11 Fedora Update System 2020-09-24 06:06:57 UTC
FEDORA-2020-7f2dcfe858 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7f2dcfe858

Comment 12 Fedora Update System 2020-09-24 06:07:20 UTC
FEDORA-2020-98137c59f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

Comment 13 Jan Grulich 2020-09-24 06:07:33 UTC
(In reply to Steve King from comment #8)
> Applied patch as directed on F32.  Executing /usr/bin/vncserver gives:
> 
> Please read /usr/share/doc/tigervnc/HOWTO.md for more information.
> 
> However, /usr/share/doc/tigervnc/HOWTO.md was not installed.

Thanks for spotting this, it should be fixed with the next build.

Comment 14 Fedora Update System 2020-09-24 13:32:42 UTC
FEDORA-2020-7f2dcfe858 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7f2dcfe858`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7f2dcfe858

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2020-09-24 14:51:20 UTC
FEDORA-2020-98137c59f8 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-98137c59f8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Steve King 2020-09-25 04:20:02 UTC
Looking good now!  Confirmed install looks clean and howto exists.

New /usr/share/doc/tigervnc/howto.md was clear and provided useful warnings for common pitfalls.  Following directions in the howto, the vncserver started fine.

A few minor requests for the HOWTO:
1) How do users know if they have a vncserver already running?  Previously was vncserer -list.
2) How do users kill their VNC session?  Previously was vncserver -kill :n
3) Confirm users should copy /etc/tigervnc/vncserver-config-defaults to their ~/.vnc/config and modify to suit.

Thanks for the help!

Comment 17 Jan Grulich 2020-09-25 05:25:37 UTC
Everything goes through systemd so:

> A few minor requests for the HOWTO:
> 1) How do users know if they have a vncserver already running?  Previously
> was vncserer -list.

systemctl status vncserver@:x

> 2) How do users kill their VNC session?  Previously was vncserver -kill :n

systemctl stop vncserver@:x

> 3) Confirm users should copy /etc/tigervnc/vncserver-config-defaults to
> their ~/.vnc/config and modify to suit.

Well, this step is not necessary unless they want specific configuration.

I will update the HOWTO with the information above. Thank you.

Comment 18 Fedora Update System 2020-09-29 13:59:14 UTC
FEDORA-2020-7f2dcfe858 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7f2dcfe858

Comment 19 Fedora Update System 2020-09-29 14:00:48 UTC
FEDORA-2020-98137c59f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

Comment 20 Fedora Update System 2020-09-30 01:09:50 UTC
FEDORA-2020-7f2dcfe858 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7f2dcfe858`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7f2dcfe858

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2020-09-30 01:21:35 UTC
FEDORA-2020-98137c59f8 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-98137c59f8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2020-10-05 00:15:21 UTC
FEDORA-2020-7f2dcfe858 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2020-11-13 01:30:43 UTC
FEDORA-2020-98137c59f8 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.