Vnc server

Having issues with your DietPi installation, or, found a bug? Post it here.
matteos1
Posts: 30
Joined: Fri May 06, 2016 11:22 am

Vnc server

Post by matteos1 »

After upgrade to v 118 ditepi cannot Connect to vnc and Give this error too many authentication failures. There is a method to resolve this?
Attachments
image.png
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: Vnc server

Post by Fourdee »

matteos1 wrote:After upgrade to v 118 ditepi cannot Connect to vnc and Give this error too many authentication failures. There is a method to resolve this?
Hi Matteos,

Apologies, but I need to ask :) Have you rebooted the system after updating?

Also, if the issue reoccurs after reboot, please send us a bugreport so we can investigate:

Code: Select all

dietpi-bugreport
Simply follow the onscreen instructions and reply with the generated Reference CODE.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
matteos1
Posts: 30
Joined: Fri May 06, 2016 11:22 am

Re: Vnc server

Post by matteos1 »

Yes i have restarted But always The same
matteos1
Posts: 30
Joined: Fri May 06, 2016 11:22 am

Re: Vnc server

Post by matteos1 »

I send with Reference CODE: aef7d562-d02e-4b9b-a57c-93e9a6a9b5a0-1
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: Vnc server

Post by Fourdee »

matteos1 wrote:I send with Reference CODE: aef7d562-d02e-4b9b-a57c-93e9a6a9b5a0-1
Thanks.

It looks like VNC is running ok:

Code: Select all

Xtightvnc :0 -desktop X -auth /root/.Xauthority -geometry 1280x720 -depth 16 -rfbwait 120000 -rfbauth /root/.vnc/passwd -rfbport 5900 -fp /usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi/ -co /etc/X11/rgb
So lets try and reset the vnc server password:

Code: Select all

#Kill current
vncserver -kill :0

#Change password (enter a new one)
vncpasswd

#Reboot is probably best, or, try running vncserver now:
vncserver :0 -geometry 1280x720 -depth 16
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
matteos1
Posts: 30
Joined: Fri May 06, 2016 11:22 am

Re: Vnc server

Post by matteos1 »

Perfect now work
matteos1
Posts: 30
Joined: Fri May 06, 2016 11:22 am

Re: Vnc server

Post by matteos1 »

sorry for the problem but after a small time appear newly error that are too many authentication failures
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: Vnc server

Post by Fourdee »

matteos1 wrote:sorry for the problem but after a small time appear newly error that are too many authentication failures
What VNC client are you using?
Are you connecting over the internet?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
matteos1
Posts: 30
Joined: Fri May 06, 2016 11:22 am

Re: Vnc server

Post by matteos1 »

Vnc and I'm connect to internet
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: Vnc server

Post by Fourdee »

matteos1 wrote:Vnc and I'm connect to internet
I'am just wondering if your VNC server is receiving too many failed authentications, from other sources (eg: not you). Looks like a failsafe to prevent abuse.

Any chance you could upload the VNC logfile? This may contain the information we need.

Its located in:

Code: Select all

$HOME/.vnc/*.log
So if your hostname is DietPi, the log file should be located here:

Code: Select all

/root/.vnc/DietPi:0.log
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply