VNC GUI Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
User avatar
Joulinar
Posts: 1244
Joined: Fri Nov 15, 2019 11:49 pm

Re: VNC GUI

Post by Joulinar »

Hi,
this I don't understand. What you do you mean by
restart the virtual desktop after every reboot
After reboot the VNC Server is already restarted 8)

Or do you mean that you would need to start the VNC service manual?

Code: Select all

[email protected]:~# systemctl status vncserver
● vncserver.service - Manage VNC Server (DietPi)
   Loaded: loaded (/etc/systemd/system/vncserver.service; enabled; vendor preset: enabled)
   Active: active (exited) since Sun 2020-01-19 17:23:35 CET; 7min ago
 Main PID: 612 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 2229)
   Memory: 0B
   CGroup: /system.slice/vncserver.service

Jan 19 17:23:35 DietPi3 systemd[1]: Started Manage VNC Server (DietPi).
Jan 19 17:23:35 DietPi3 systemd[612]: pam_unix(login:session): session opened for user root by (uid=0)
[email protected]:~#
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

Len
Posts: 11
Joined: Sun Jan 19, 2020 12:33 am

Re: VNC GUI

Post by Len »

The realvpn starts but without a virtual desktop:
Screenshot 2020-01-19 at 18.43.32.png

User avatar
Joulinar
Posts: 1244
Joined: Fri Nov 15, 2019 11:49 pm

Re: VNC GUI

Post by Joulinar »

pls can you restart your system and past the following output

Code: Select all

systemctl status vncserver
lsof -iTCP -sTCP:LISTEN
if lsof is not installed, pls do before

Code: Select all

G_AGI lsof
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

Len
Posts: 11
Joined: Sun Jan 19, 2020 12:33 am

Re: VNC GUI

Post by Len »

Screenshot 2020-01-19 at 19.16.37.png

User avatar
Joulinar
Posts: 1244
Joined: Fri Nov 15, 2019 11:49 pm

Re: VNC GUI

Post by Joulinar »

can you try to connect to your VNC server as follow

Code: Select all

xxx.xxx.xxx.xxx:0
or just
xxx.xxx.xxx.xxx
Do you have autostart enabled for Desktop?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

Len
Posts: 11
Joined: Sun Jan 19, 2020 12:33 am

Re: VNC GUI

Post by Len »

Hi,
works when the pi is connected to a monitor.
When not connected to a monitor the vcn-connection works but only shows: Cannot currently show the desktop.

Desktop autostart is enabeled.
Last edited by Len on Sun Jan 19, 2020 9:02 pm, edited 1 time in total.

User avatar
Joulinar
Posts: 1244
Joined: Fri Nov 15, 2019 11:49 pm

Re: VNC GUI

Post by Joulinar »

pls disable Desktop autostart and set it back to 0 : Manual login (default)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

Len
Posts: 11
Joined: Sun Jan 19, 2020 12:33 am

Re: VNC GUI

Post by Len »

I did and rebooted, connection works, but:
Screenshot 2020-01-19 at 21.15.12.png
Should I change something here?:
Screenshot 2020-01-19 at 21.34.55.png

User avatar
Joulinar
Posts: 1244
Joined: Fri Nov 15, 2019 11:49 pm

Re: VNC GUI

Post by Joulinar »

what IP do you use to connect? I mean what do you enter in the VNC Client as VNC Server?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

Len
Posts: 11
Joined: Sun Jan 19, 2020 12:33 am

Re: VNC GUI

Post by Len »

Working now...
I don't know what changed!? :lol:

I can connect to xx.xx.xx.xx:1
Last edited by Len on Sun Jan 19, 2020 9:03 pm, edited 1 time in total.

Post Reply