Upgraded to 20.04 and now my VNC connection no longer works...

Bo Berglund bo.berglund at gmail.com
Fri Mar 5 20:36:46 UTC 2021


On Fri, 5 Mar 2021 17:05:36 +0000, Colin Law <clanlaw at gmail.com> wrote:

>On Fri, 5 Mar 2021 at 16:59, Bo Berglund <bo.berglund at gmail.com> wrote:
>> ...
>> Is there a command to check the availability of a package in the apt repository
>> without actually installing it?
>>
>
>colin at tigger:~$ apt policy tigervnc
>N: Unable to locate package tigervnc
>
>colin at tigger:~$ apt policy x11vnc
>x11vnc:
>  Installed: (none)
>  Candidate: 0.9.16-3
>  Version table:
>     0.9.16-3 500
>        500 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
>
>That doesn't tell you whether it is contained in another package.  I
>find the best way then is to google for
>install tigervnc ubuntu

Thanks for pointing me to this command!
I tested it on my upgraded laptop which is running now Ubuntu Mate 20.04 LTS:

$ apt policy tigervnc-standalone-server
tigervnc-standalone-server:
  Installed: (none)
  Candidate: 1.10.1+dfsg-3
  Version table:
     1.10.1+dfsg-3 500
        500 http://se.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

$ apt policy x11vnc
x11vnc:
  Installed: (none)
  Candidate: 0.9.16-3
  Version table:
     0.9.16-3 500
        500 http://se.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

$ apt policy tightvncserver
tightvncserver:
  Installed: (none)
  Candidate: 1.3.10-0ubuntu5
  Version table:
     1.3.10-0ubuntu5 500
        500 http://se.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

$ apt policy vnc4server
vnc4server:
  Installed: (none)
  Candidate: (none)
  Version table:

So the vnc4server I had installed before the dist-upgrade is the only one not
available...

But the vnc4server config files are still present so should I find and remove
them before installing TigerVNC?

According to my notes I edited these 2 files when in stalling vnc4server:

$HOME/.vnc/xstartup
/etc/systemd/system/vncserver at .service



-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list