Hello,
Today I was trying out the vnc_server package from @jschlatow and noticed that it wasn’t working when requires_password was set to “yes”. Even having a passwd file next to the config file.
From the logs it reported a warning about missing route to the passwd and then error obtaining ROM from parent (or smth. like that).
Looking into runtime file I noticed that indeed it has no route to passwd.
Trying to solve it I just went to the local depot and added it manually, hoping this will work out.
...
<start name="vnc_server" caps="1000">
<resource name="RAM" quantum="130M"/>
<route>
<service name="ROM" label="config">
<child name="fs_rom" label="vnc.config"/>
</service>
<service name="ROM" label="passwd">
<child name="fs_rom" label="passwd"/>
</service>
<service name="Nic">
<parent label="vnc"/>
</service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
...
(Note the second <service>…</service> entry)
After re-deploying the vnc_server it worked! ![]()
So in case you need to have a password protected vnc_server you have to manually add a route to the runtime file after the package is extracted. ![]()
Cheers!