You are not logged in.
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
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".
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
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
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
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
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
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
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