VNCserver - autostart Topic is solved

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

VNCserver - autostart

Post by myroman »

Hi!

I have installed DietPi on my Orange PI PC. BTW, I am newbie in linux world.

When I selected VNCserver as autostart option (on boot/reboot) the VNC server is startet but after few seconds it crashes.

When I select manual login on autostart and then manualy start VNC server it works OK.

Is there something I forgot to do (I installed all the software automaticaly as selected on first installation).

And one more quiestion, how can I monitor CPU temp?

Thanx in advnace!
thad

Re: VNCserver - autostart

Post by thad »

You can find cpu temperature with the command:

Code: Select all

cpu
myroman

Re: VNCserver - autostart

Post by myroman »

Well, now I feel stupid! :)
Thanx!
Now just to resolve problem with vncserver autostart.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: VNCserver - autostart

Post by Fourdee »

myroman wrote:Well, now I feel stupid! :)
Thanx!
Now just to resolve problem with vncserver autostart.
Hi Myroman,

Thanks for the report.
I will setup my testbed here with your OPI/VNC installation and see if I can replicate the issue. I'll be in touch.
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.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: VNCserver - autostart

Post by Fourdee »

Fourdee wrote:
I will setup my testbed here with your OPI/VNC installation and see if I can replicate the issue. I'll be in touch.
Seems to be working for me, does not crash:
opi_vnc.png
I will need to see your system setup/configuration. Could you please run the following command:

Code: Select all

dietpi-bugreport
Follow the onscreen instructions. When the text document appears, press CTRL+X to cancel (we don't need it :) ). You will be given a reference CODE, please put it in your reply.
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.
myroman

Re: VNCserver - autostart

Post by myroman »

Thanx for Your help. Here is reference code;
8ac2451e8073-0
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: VNCserver - autostart

Post by Fourdee »

myroman wrote:Thanx for Your help. Here is reference code;
8ac2451e8073-0
Everything looks in order.

Few questions:
- What commands are you running to manually start VNC server?
- You said the VNC server crashes after a few seconds. Is this after you have connected with a VNC viewer? If so, which VNC viewer are you using?
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.
myroman

Re: VNCserver - autostart

Post by myroman »

I manualy start with "vncserver" conmand.
I use android client VNC viewer, but server crushes before I even connect.
I will try tomorow to run bugreport with vncserver as autostart option. Today i run bugreport with manual login option.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: VNCserver - autostart

Post by Fourdee »

myroman wrote:I manualy start with "vncserver" conmand.
I use android client VNC viewer, but server crushes before I even connect.
I will try tomorow to run bugreport with vncserver as autostart option. Today i run bugreport with manual login
option.
The Autostart option runs the following command:

Code: Select all

vncserver :0 -geometry 1280x720 -depth 16
Might be worth manually running the above command and see if it crashes.
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.
myroman

Re: VNCserver - autostart

Post by myroman »

I tried above but does not crashes.
When I put vncserver autostart option vnc server is not started. And then I start GUI with startx and one error appears:
"GDBus.error.org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject"
Does it have any relation with vncserver not starting?
New reference code from bugreport: 8ac2451e8073-1
Post Reply