Bug 1879739 - Add a /usr/bin/vncserver script that points users to new instructions
Summary: Add a /usr/bin/vncserver script that points users to new instructions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tigervnc
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1879740 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-16 20:50 UTC by Ben Cotton
Modified: 2020-11-13 01:30 UTC (History)
7 users (show)

Fixed In Version: tigervnc-1.11.0-6.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-13 01:30:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ben Cotton 2020-09-16 20:50:53 UTC
tigervnc-1.10.90-1 changed how users launch the VNC server. Since this was included in stable Fedora releases, we should at least provide a /usr/bin/vncserver script that points users to the new directions.

See https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/thread/C7YFCJOQ4AT2TPRK4YQ4LSJ2FXB377D3/ for an example of user confusion.

Realistically, we shouldn't ship these kinds of changes post-release, but since this is out we can minimize the user impact by providing a script. For F33 and Rawhide, this isn't necessary, although we should include this in the release notes.

Comment 1 Fedora Update System 2020-09-17 10:32:36 UTC
FEDORA-2020-98137c59f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

Comment 2 Jan Grulich 2020-09-17 10:34:46 UTC
*** Bug 1879740 has been marked as a duplicate of this bug. ***

Comment 3 Michael Setzer II 2020-09-17 13:05:50 UTC
Seems they are taking something that works just fine, and making it more complicated for no real benefit.
I've copied the Xvnc command that the vncserver ends up running, and if forced, will just go with that.
Looked at the documentation, and it seems to be a lot of stuff to do. 
Additionally, they earlier came up with another method that was mentioned, but I tried it, and about halve the time it wouldn't start the vnc session, so went back to the old vncserver :xx method that always worked. Started with Redhat 9 long ago, and gone thru all the versions on Fedora, but perhaps need to look at other distros...

Comment 4 Jan Grulich 2020-09-17 14:25:44 UTC
(In reply to Michael Setzer II from comment #3)
> Seems they are taking something that works just fine, and making it more
> complicated for no real benefit.
> I've copied the Xvnc command that the vncserver ends up running, and if
> forced, will just go with that.
> Looked at the documentation, and it seems to be a lot of stuff to do. 
> Additionally, they earlier came up with another method that was mentioned,
> but I tried it, and about halve the time it wouldn't start the vnc session,
> so went back to the old vncserver :xx method that always worked. Started
> with Redhat 9 long ago, and gone thru all the versions on Fedora, but
> perhaps need to look at other distros...

This is upstream change, it's not what we came up with. Switching to another distribution won't fix your problem unfortunately.

Comment 5 Fedora Update System 2020-09-17 15:04:58 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 6 Michael Setzer II 2020-09-17 15:53:26 UTC
Not sure exactly what you mean by upstream. I'm on the tigervnc list, and it just had a post from a user that had the same problem with vncserver being gone.
I replied and gave him the info about this bug link.

It seems that the vncserver just links to Xvnc, so I've copied the complete command that it has running after the vncserver loads, so think I should be able to run that directly.

I've also seen the note mentions just gnome, but I run the vncserver using xfce not gnome, so not sure what this upstream change is going to do. Force everyone to use it with gnome only.

The saved command is:
/usr/bin/Xvnc :xx -auth /home/user/.Xauthority -desktop machine.dyndns.org:xx (user) -fp catalogue:/etc/X11/fontpath.d -geometry 1600x845 -pn -rfbauth /home/user/.vnc/passwd -rfbport 59xx -rfbwait 30000

changed port and user and machine info

Will see what happens. Have an old notebook with fc32 on it, perhaps play with it on that. But know a number of people that remote access to machine with vnc, and if machine is rebooted after the update, they will loose the vnc access completely.

Comment 7 Jan Grulich 2020-09-18 05:51:46 UTC
(In reply to Michael Setzer II from comment #6)
> Not sure exactly what you mean by upstream. I'm on the tigervnc list, and it
> just had a post from a user that had the same problem with vncserver being
> gone.
> I replied and gave him the info about this bug link.
> 
> It seems that the vncserver just links to Xvnc, so I've copied the complete
> command that it has running after the vncserver loads, so think I should be
> able to run that directly.
 
Yes, vncserver was just a wrapper around Xvnc. The reason why it changed now to using systemd (which was sort of supported even before) is that using systemd you get a proper/valid session for your DE. For example GNOME will misbehave most like if you run it this way, like not being able to unlock the session because of no PAM initialization etc.


> I've also seen the note mentions just gnome, but I run the vncserver using
> xfce not gnome, so not sure what this upstream change is going to do. Force
> everyone to use it with gnome only.
> 

You can use xfce of course, just change session=xfce in the configuration. The name should match desktop file name in /use/share/xsessions.

> The saved command is:
> /usr/bin/Xvnc :xx -auth /home/user/.Xauthority -desktop
> machine.dyndns.org:xx (user) -fp catalogue:/etc/X11/fontpath.d -geometry
> 1600x845 -pn -rfbauth /home/user/.vnc/passwd -rfbport 59xx -rfbwait 30000
> 
> changed port and user and machine info
> 

This should still work just fine.

Comment 8 George Petasis 2020-09-19 21:00:06 UTC
Well, that was a shock, to update a package and get a system collapse (I use my Fedora box only through vnc!).

I have followed the instructions for adapt to the new start-up, but it runs only when session=gnome.
Setting session=plasma you get a black screen!

https://bugzilla.redhat.com/show_bug.cgi?id=1880773

Comment 9 Fedora Update System 2020-09-22 10:48:07 UTC
FEDORA-2020-98137c59f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

Comment 10 Thomas Boroske 2020-09-23 10:15:56 UTC
I enabled the advisory from testing, installed via dnf update

Now /usr/bin/vncserver is a binary pointing me to: /usr/share/doc/tigervnc/HOWTO.md

However, that file does not exist. Instead the directory holds a README.rst containing
an intro to tigevnc which again references vncserver as a wrapper skript (as it used to be).

Comment 11 Fedora Update System 2020-09-23 17:21:03 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 12 Fedora Update System 2020-09-24 06:07:14 UTC
FEDORA-2020-98137c59f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

Comment 13 Fedora Update System 2020-09-24 14:51:16 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 14 Fedora Update System 2020-09-29 14:00:42 UTC
FEDORA-2020-98137c59f8 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-98137c59f8

Comment 15 Fedora Update System 2020-09-30 01:21:32 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 Fedora Update System 2020-11-13 01:30:38 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.