You are not logged in.

#1 2020-10-01 09:23:31

DarioP
Member
From: Geneva
Registered: 2011-01-05
Posts: 165

TigerVNC 1.11.0-5 vncserver no longer accepts command line options?

Hello, I have updated tigervnc from 1.10.1-2 to 1.11.0-5 and it seem to no longer accept any command line option.

I can do:

vncserver :1

and the server will start with default opts, but if I pass any other argument on the command line (like -geometry or -kill, even -h) the result is always:

usage: vncserver <display>

Anyone experiencing the same?

Last edited by DarioP (2020-10-01 09:24:16)

Offline

#2 2020-10-01 09:58:46

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: TigerVNC 1.11.0-5 vncserver no longer accepts command line options?

Yes, tigervnc had some major changes in it's latest release; vncserver in particular has "gotten a major redesign to be compatible with modern distributions".

https://github.com/TigerVNC/tigervnc/re … ag/v1.11.0


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-10-01 10:11:43

DarioP
Member
From: Geneva
Registered: 2011-01-05
Posts: 165

Re: TigerVNC 1.11.0-5 vncserver no longer accepts command line options?

I saw that page earlier but I couldn't imagine that it would mean: <yeah, we dropped the command line parsing for "compatibility reasons">

I guess the arch wiki page needs a major rework as well, as command line options are still used in many tips and tricks, unless they decide to backtrace their (inconsiderate - IMHO) steps.

Last edited by DarioP (2020-10-01 10:12:17)

Offline

#4 2020-10-01 11:08:28

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: TigerVNC 1.11.0-5 vncserver no longer accepts command line options?

My understanding is that vncserver is being nerfed so people move over to the new systemd-managed vncsession setup (which, to their credit, works a lot more reliably for me than the old vncserver+xconfig set up).

The headless server part of the wiki has already been rewritten, but it does seem like there is a lot of stale information further down the page. Feel free to contribute to the rewrite process.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2020-10-02 17:52:30

DarioP
Member
From: Geneva
Registered: 2011-01-05
Posts: 165

Re: TigerVNC 1.11.0-5 vncserver no longer accepts command line options?

WorMzy wrote:

new systemd-managed vncsession setup

Sorry, I spent ten minutes googling without any relevant result.
Would you mind point me to some docs about this?

Offline

#6 2020-10-02 18:03:30

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: TigerVNC 1.11.0-5 vncserver no longer accepts command line options?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2020-10-02 18:26:14

DarioP
Member
From: Geneva
Registered: 2011-01-05
Posts: 165

Re: TigerVNC 1.11.0-5 vncserver no longer accepts command line options?

Ahhh ok. I have been having a very similar setup for a couple of years, but at the time I put the server options in the service file.
I will have to clean the service file and move the options to the conf file.

Offline

#8 2020-10-02 19:39:05

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: TigerVNC 1.11.0-5 vncserver no longer accepts command line options?

Yeah, if you have an override in /etc/systemd/system you will likely need to remove it -- note the purple box warning at the bottom of that section about direct calls to /usr/bin/vncserver, the new service (installed to /usr/lib/systemd/system/vncserver@.service) calls /usr/bin/vncsession-start instead and if you override this you will likely have problems.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB