Ran 'do-release-upgrade' and now TigerVNC won't run....
Jeffrey Walton
noloader at gmail.com
Tue Mar 14 18:51:23 UTC 2023
On Tue, Mar 14, 2023 at 2:38 PM Bo Berglund <bo.berglund at gmail.com> wrote:
>
> So I have started over by completely removing the TigerVNC server and the
> associated configuration files and then installing it again.
>
> I have followed a tutorial about installing TigerVNC on Ubuntu 22.04/20.04 which
> you can find here:
>
> https://bytexd.com/how-to-install-configure-vnc-server-on-ubuntu/
>
> Now the server works but I have noted:
>
> 1) The /etc/vnc.conf file is NOT used!
> This is where I had configurations..
>
> 2) The vncserver needs to be told on the command line NOT to close the LAN
> connection....
>
> 3) The service file needs to set all configuration items.
>
> 4) A simpler ~/.vnc/xsession file is used, I think there is something in my old
> such file that caused the errors...
Oh, that's kind of sneaky:
> 1) The /etc/vnc.conf file is NOT used!
> This is where I had configurations..
I think the FreeDesktop folks are using a different filesystem layout,
and it does not include config files in /etc. I think the location is
XDG_CONFIG_HOME and XDG_CONFIG_DIRS, if I am reading [1] correctly. I
think XDG_CONFIG_HOME is similar to GNU's standard directory
sysconfdir.[2] (sysconfdir would typically be /etc.)
But my XDG_CONFIG_HOME is empty:
$ echo $XDG_CONFIG_HOME
$
And:
$ echo $XDG_CONFIG_DIRS
/home/jwalton/.config/kdedefaults:/etc/xdg/xdg-plasma:/etc/xdg
Maybe the TigerVNC Release Notes say something about it.
[1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
[2] https://www.gnu.org/prep/standards/standards.html#Directory-Variables
Jeff
More information about the ubuntu-users
mailing list