Closed nunziofiore closed 7 years ago
to manage that problem I wrote that :
if you run from a terminal the command I listed in pibakery, you can set the password for vnc by script and in next boot run vncserver, in this way the end user can use vnc client without write ssh or something he doesn't know.
BUT: when I make this instruction in pibakery the password is not setted. It's possible there' s a bug when you use a ">" that pibakery change in " \>\" for xml purpose? How I can avoid this error?
Hi
<<< I read on pibakery web site that there is a block INSTALL VNC SERVER and a RUN VNC SERVER AT PORT >>>
I think that the web site may be out of date. The latest version of Raspbian included a pre-install version of RealVNC https://www.raspberrypi.org/blog/introducing-pixel/
I think that was a change to Pi Bakery following that. It is touched one here https://github.com/davidferguson/pibakery/issues/65
When trying to work through related issues I found the following thread useful https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=161341
Thankyou for your answer @Barry4679 . Do you know why the command
echo password | vncpasswd -f > $HOME/.vnx/passwd
if launched from command line it runs but if I put it as in the picture in a RUN COMMAND block of Pibakery, it seems that is not launched from pibakery? It seems that run command is bugged in some way.
I tried several RUN COMMAND but no one seems to work. I tried also a simple "touch file" but nothing. I think that the commandrun block is bugged
I am not experienced with Linux Nunzio, and I don't have a Raspberry Pi here at the moment.
Look for the PiBakery folder inside the Rpi. There is a run log file there. It may hep you.
On Mon, 20 Feb 2017 at 19:46 Nunzio Fiore notifications@github.com wrote:
Thankyou for your answer @Barry4679 https://github.com/Barry4679 . Do you know why the command
echo password | vncpasswd -f > $HOME/.vnx/passwd
if launched from command line it runs but if I put it as in the picture in a RUN COMMAND block of Pibakery, it seems that is not launched from pibakery? It seems that run command is bugged in some way.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/davidferguson/pibakery/issues/95#issuecomment-281032574, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxFbBTyxwp-I8ye_Fnu-XlpipZbBL1Mks5reWEDgaJpZM4MEi62 .
I made heavy use of the Run command. I had no issues with it. Maybe you are having authority issues? Try changing User to Root.
On Mon, 20 Feb 2017 at 20:34 Barry Mossman bmossman@gmail.com wrote:
I am not experienced with Linux Nunzio, and I don't have a Raspberry Pi here at the moment.
Look for the PiBakery folder inside the Rpi. There is a run log file there. It may hep you.
On Mon, 20 Feb 2017 at 19:46 Nunzio Fiore notifications@github.com wrote:
Thankyou for your answer @Barry4679 https://github.com/Barry4679 . Do you know why the command
echo password | vncpasswd -f > $HOME/.vnx/passwd
if launched from command line it runs but if I put it as in the picture in a RUN COMMAND block of Pibakery, it seems that is not launched from pibakery? It seems that run command is bugged in some way.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/davidferguson/pibakery/issues/95#issuecomment-281032574, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxFbBTyxwp-I8ye_Fnu-XlpipZbBL1Mks5reWEDgaJpZM4MEi62 .
tried both as pi and root but nothing... now I'll retry and I'll read the log that I didn't know that there was one. I'll write something tp you in few hours
Ok I've got the right recipe to avoid the problem. Thank you
Hi I read on pibakery web site that there is a block INSTALL VNC SERVER and a RUN VNC SERVER AT PORT xxxx But I have only that...
how can I have also the other?