problem while trying to upgrade to Bullseye following your blog post Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by Joulinar »

hmm on RealVNC I was not able to replicate the behaviour. For me it was working on 7.5 without issues.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
manilx
Posts: 124
Joined: Mon Dec 07, 2020 11:02 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by manilx »

Joulinar wrote: Mon Aug 30, 2021 12:01 am hmm on RealVNC I was not able to replicate the behaviour. For me it was working on 7.5 without issues.
Tried this on the 2 pie’s. Uninstalled tiger installed real. Tried to connect to port 5900 and no go.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by Joulinar »

pls share again once RealVNC is installed

Code: Select all

journalctl -u vncserver.service
ss -tulpn | grep LISTEN
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
manilx
Posts: 124
Joined: Mon Dec 07, 2020 11:02 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by manilx »

Joulinar wrote: Mon Aug 30, 2021 10:03 am pls share again once RealVNC is installed

Code: Select all

journalctl -u vncserver.service
ss -tulpn | grep LISTEN
Ok, tested again.
Uninstalled working TigerVNC (after the mod of the config file). Installed realVNC. Tried connecting to port 5900.
Could not connect.

Code: Select all

root@Unify:~# journalctl -u vncserver.service
Journal file /var/log/journal/9290cc6d05c648b1ad37b19873f26fd1/system.journal is truncated, ignoring file.
-- Journal begins at Mon 2021-08-30 08:50:50 WEST, ends at Mon 2021-08-30 09:07:49 WEST. --
Aug 30 08:51:15 Unify systemd[1]: Started Manage VNC Server (DietPi).
Aug 30 08:51:15 Unify systemd[666]: pam_unix(login:session): session opened for user root(uid=0) by (uid=0)
Aug 30 09:05:52 Unify systemd[1]: Stopping Manage VNC Server (DietPi)...
Aug 30 09:05:52 Unify systemd[5221]: pam_unix(login:session): session opened for user root(uid=0) by (uid=0)
Aug 30 09:05:52 Unify vncserver[5221]: [FAILED] No supported VNC server installed
Aug 30 09:05:52 Unify systemd[1]: vncserver.service: Control process exited, code=exited, status=1/FAILURE
Aug 30 09:05:52 Unify systemd[1]: vncserver.service: Failed with result 'exit-code'.
Aug 30 09:05:52 Unify systemd[1]: Stopped Manage VNC Server (DietPi).
Aug 30 09:07:49 Unify systemd[1]: Started Manage VNC Server (DietPi).
Aug 30 09:07:49 Unify systemd[6984]: pam_unix(login:session): session opened for user root(uid=0) by (uid=0)
Aug 30 09:07:49 Unify systemd[1]: vncserver.service: Main process exited, code=exited, status=1/FAILURE
Aug 30 09:07:49 Unify systemd[1]: vncserver.service: Failed with result 'exit-code'.

Code: Select all

ss -tulpn | grep LISTEN
tcp   LISTEN 0      4096                  0.0.0.0:10000      0.0.0.0:*    users:(("miniserv.pl",pid=6966,fd=5))
tcp   LISTEN 0      1024        192.168.1.51%eth0:25552      0.0.0.0:*    users:(("zerotier-one",pid=552,fd=17))
tcp   LISTEN 0      1024        192.168.1.51%eth0:25553      0.0.0.0:*    users:(("zerotier-one",pid=552,fd=19))
tcp   LISTEN 0      128                 127.0.0.1:28017      0.0.0.0:*    users:(("mongod",pid=337,fd=10))
tcp   LISTEN 0      128                   0.0.0.0:22         0.0.0.0:*    users:(("sshd",pid=668,fd=3))
tcp   LISTEN 0      4096                127.0.0.1:8125       0.0.0.0:*    users:(("netdata",pid=6428,fd=37))
tcp   LISTEN 0      4096             192.168.1.51:19999      0.0.0.0:*    users:(("netdata",pid=6428,fd=4))
tcp   LISTEN 0      1024        192.168.1.51%eth0:9993       0.0.0.0:*    users:(("zerotier-one",pid=552,fd=15))
tcp   LISTEN 0      1024                127.0.0.1:9993       0.0.0.0:*    users:(("zerotier-one",pid=552,fd=6))
tcp   LISTEN 0      128                 127.0.0.1:27017      0.0.0.0:*    users:(("mongod",pid=337,fd=9))
tcp   LISTEN 0      128                 127.0.0.1:27117      0.0.0.0:*    users:(("mongod",pid=2213,fd=7))
tcp   LISTEN 0      5                     0.0.0.0:5901       0.0.0.0:*    users:(("Xtigervnc",pid=707,fd=7))
tcp   LISTEN 0      100                         *:8880             *:*    users:(("java",pid=1054,fd=167))
tcp   LISTEN 0      100                         *:8080             *:*    users:(("java",pid=1054,fd=163))
tcp   LISTEN 0      128                      [::]:22            [::]:*    users:(("sshd",pid=668,fd=4))
tcp   LISTEN 0      100                         *:8443             *:*    users:(("java",pid=1054,fd=205))
tcp   LISTEN 0      4096                    [::1]:8125          [::]:*    users:(("netdata",pid=6428,fd=36))
tcp   LISTEN 0      50                          *:6789             *:*    users:(("java",pid=1054,fd=196))
tcp   LISTEN 0      1024                    [::1]:9993          [::]:*    users:(("zerotier-one",pid=552,fd=7))
tcp   LISTEN 0      100                         *:8843             *:*    users:(("java",pid=1054,fd=221))
tcp   LISTEN 0      5                        [::]:5901          [::]:*    users:(("Xtigervnc",pid=707,fd=8))
manilx
Posts: 124
Joined: Mon Dec 07, 2020 11:02 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by manilx »

Here is the output from TigerVNC install and RealVNC install:

Code: Select all

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Uninstalling TigerVNC Server: desktop for remote connection

dbus-user-session set to automatically installed.
[ INFO ] DietPi-Software | APT purge for: tigervnc-* x11vnc realvnc-vnc-server, please wait...
(Reading database ... 111082 files and directories currently installed.)
Removing tigervnc-standalone-server (1.11.0+dfsg-2) ...
Removing libfile-readbackwards-perl (1.05-2) ...
Removing x11vnc (0.9.16-7) ...
Removing libvncserver1:armhf (0.9.13+dfsg-2) ...
Removing libvncclient1:armhf (0.9.13+dfsg-2) ...
Removing liblzo2-2:armhf (2.10-2) ...
Removing tk (8.6.11+1) ...
Removing tk8.6 (8.6.11-2) ...
Removing tcl (8.6.11+1) ...
Removing tcl8.6 (8.6.11+dfsg-1) ...
Removing libtk8.6:armhf (8.6.11-2) ...
Removing tigervnc-common (1.11.0+dfsg-2) ...
Removing libtcl8.6:armhf (8.6.11+dfsg-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for libc-bin (2.31-13+rpi1) ...
(Reading database ... 110644 files and directories currently installed.)
Purging configuration files for tk8.6 (8.6.11-2) ...
Purging configuration files for tcl8.6 (8.6.11+dfsg-1) ...
Purging configuration files for tigervnc-standalone-server (1.11.0+dfsg-2) ...
Purging configuration files for tigervnc-common (1.11.0+dfsg-2) ...
[  OK  ] DietPi-Software | APT purge for: tigervnc-* x11vnc realvnc-vnc-server
Removed /etc/systemd/system/multi-user.target.wants/vncserver.service.

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Finalise uninstall

[ INFO ] DietPi-Software | APT autopurge, please wait...
[  OK  ] DietPi-Software | APT autopurge
[  OK  ] DietPi-Software | systemctl daemon-reload
[  OK  ] DietPi-Software | Free space check: path=/ | available=54139 MiB | required=500 MiB
[  OK  ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata
[  OK  ] DietPi-Software | Checking network connectivity
[  OK  ] DietPi-Software | Checking DNS resolver
[  OK  ] Network time sync | Completed
[ SUB1 ] DietPi-Services > unmask
[  OK  ] DietPi-Services | unmask : netdata
[  OK  ] DietPi-Services | unmask : webmin
[  OK  ] DietPi-Services | unmask : cron
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : webmin
[  OK  ] DietPi-Services | stop : netdata
[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt
[  OK  ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[  OK  ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[ INFO ] DietPi-Software | APT update, please wait...
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 http://download.zerotier.com/debian/bullseye bullseye InRelease
Hit:3 https://archive.raspberrypi.org/debian bullseye InRelease
Ign:5 https://download.webmin.com/download/repository sarge InRelease
Hit:4 https://dl.ubnt.com/unifi/debian stable InRelease
Hit:6 https://download.webmin.com/download/repository sarge Release
Reading package lists...
[  OK  ] DietPi-Software | APT update

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Checking for prerequisite software


 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Installing RealVNC Server: desktop for remote connection

[ INFO ] DietPi-Software | APT install for: realvnc-vnc-server, please wait...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package realvnc-vnc-server.
(Reading database ... 110636 files and directories currently installed.)
Preparing to unpack .../realvnc-vnc-server_6.7.4.43891_armhf.deb ...
Unpacking realvnc-vnc-server (6.7.4.43891) ...
Setting up realvnc-vnc-server (6.7.4.43891) ...
Updating /etc/pam.d/vncserver
Updating /etc/pam.conf... done
Looking for font path... not found.
Generating private key... done
Installed systemd unit for VNC Server in Service Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-x11-serviced.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-x11-serviced.service

Installed systemd unit for VNC Server in Virtual Mode daemon
Start or stop the service with:
  systemctl (start|stop) vncserver-virtuald.service
Mark or unmark the service to be started at boot time with:
  systemctl (enable|disable) vncserver-virtuald.service

Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.0-1) ...
Processing triggers for mailcap (3.69) ...
[  OK  ] DietPi-Software | APT install for: realvnc-vnc-server
[ SUB1 ] DietPi-Services > stop
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : webmin
[  OK  ] DietPi-Services | stop : netdata

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Configuring RealVNC Server: desktop for remote connection

[  OK  ] DietPi-Software | systemctl daemon-reload
[  OK  ] DietPi-Software | systemctl enable vncserver
[  OK  ] DietPi-Software | chmod +x /usr/local/bin/vncserver
[  OK  ] DietPi-Software | mkdir -p /root/.vnc
[  OK  ] DietPi-Software | chmod +x /root/.vnc/xstartup
[  OK  ] DietPi-Software | systemctl daemon-reload
[ SUB1 ] DietPi-Services > dietpi_controlled
[  OK  ] DietPi-Services | dietpi_controlled : netdata
[  OK  ] DietPi-Services | dietpi_controlled : webmin
[  OK  ] DietPi-Services | dietpi_controlled : cron

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Installation completed
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by Joulinar »

TigerVNC is running on port 5901. Are you sure you have it removed?

Code: Select all

tcp   LISTEN 0      5                     0.0.0.0:5901       0.0.0.0:*    users:(("Xtigervnc",pid=707,fd=7))
tcp   LISTEN 0      5                        [::]:5901          [::]:*    users:(("Xtigervnc",pid=707,fd=8))
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
manilx
Posts: 124
Joined: Mon Dec 07, 2020 11:02 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by manilx »

Joulinar wrote: Mon Aug 30, 2021 10:11 am TigerVNC is running on port 5901. Are you sure you have it removed?

Code: Select all

tcp   LISTEN 0      5                     0.0.0.0:5901       0.0.0.0:*    users:(("Xtigervnc",pid=707,fd=7))
tcp   LISTEN 0      5                        [::]:5901          [::]:*    users:(("Xtigervnc",pid=707,fd=8))
See above.
manilx
Posts: 124
Joined: Mon Dec 07, 2020 11:02 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by manilx »

Code: Select all

┌─────────────────────────────────────────────────┤ DietPi-Software ├──────────────────────────────────────────────────┐
                            │ Use the spacebar to select the software you would like to remove:                                                    │
                            │                                                                                                                      │
                            │    [ ] 0    OpenSSH Client: Feature-rich SSH, SFTP and SCP client                                                    │
                            │    [ ] 3    MC: midnight commander, powerful file manager                                                            │
                            │    [ ] 5    ALSA: Advanced Linux Sound Architecture                                                                  │
                            │    [ ] 6    X.Org X Server: aka X11 - X Window System implementation                                                 │
                            │    [ ] 10   iftop: displays bandwidth usage information                                                              │
                            │    [ ] 11   IPTraf: interactive colorful ip lan monitor                                                              │
                            │    [ ] 23   LXDE: ultra lightweight desktop                                                                          │
                            │    [ ] 65   Netdata: real-time performance monitoring                                                                │
                            │    [ ] 67   Firefox: web browser for desktop                                                                         │
                            │    [ ] 103  DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot                             │
                            │    [ ] 105  OpenSSH Server: Feature-rich SSH server with SFTP and SCP support                                        │
                            │    [ ] 115  Webmin: web interface system management                                                                  │
                            │    [ ] 120  RealVNC Server: desktop for remote connection
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by Joulinar »

try to remove every VNC software you have. Reboot. Ensure no VNC process running, install RealVNC.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
manilx
Posts: 124
Joined: Mon Dec 07, 2020 11:02 am

Re: problem while trying to upgrade to Bullseye following your blog post

Post by manilx »

Joulinar wrote: Mon Aug 30, 2021 10:14 am try to remove every VNC software you have. Reboot. Ensure no VNC process running, install RealVNC.
I don't have any VNC software running. Ay least I don't know which one.
I only installed Tiger and now Real.

Don't know what else to do.
Post Reply