VNCserver - autostart Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
myroman

Re: VNCserver - autostart

Post by myroman »

But when I autostart with vncserver I can't connect via vncciewer. But when I autostart with automatic login and manualy start vncserver it works ok with vncviewer...
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: VNCserver - autostart

Post by Fourdee »

myroman wrote:But when I autostart with vncserver I can't connect via vncciewer. But when I autostart with automatic login and manualy start vncserver it works ok with vncviewer...
Could be the vnc viewer you are using doesn't support the resolution or depth of the vnc server?

Try the following, will load vncserver with 640x480 after boot:

Code: Select all

cat << _EOF_ > /DietPi/dietpi/.vncserver_settings
640
480
16
_EOF_
reboot
If that fails, please try using a desktop PC with realvnc viewer: https://www.realvnc.com/download/viewer/
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