DietPi-Docs
DietPi-Docs copied to clipboard
RealVNC | update user + password information
Actually, there is no possibility to specify a user within client app because RealVNC is using a default user. As well we explicitly set global software password and not root user password.
https://dietpi.com/forum/t/realvnc-server-not-working-on-fresh-install/17240
@Joulinar: Does that mean that in the docs we should do this:
- Change the password from
Password = <root password> (default: dietpi)toPassword = <yourGlobalSoftwarePassword> (default: dietpi) - Add a new tab "Server configuration"
- "Server configuration" is comparable to other software packages e.g. to https://dietpi.com/docs/software/hardware_projects/#mosquitto-server-configuration
- Containing the short description of the 5 options from
/boot/dietpi.txt(SOFTWARE_VNCSERVER_WIDTH, SOFTWARE_VNCSERVER_HEIGHT, SOFTWARE_VNCSERVER_DEPTH, SOFTWARE_VNCSERVER_DISPLAY_INDEX, SOFTWARE_VNCSERVER_SHARE_DESKTOP). The basis for this would be this section: https://dietpi.com/docs/software/remote_desktop/#tigervnc-server-config-options (which should be held identical between TigerVNC and RealVNC) - Containing a section about the
vncpasswdresp.tigervncpasswd(e.g. reference to there: https://manpages.debian.org/bookworm/tigervnc-tools/vncpasswd.1.en.html and there: https://help.realvnc.com/hc/en-us/articles/7921930974237-Setting-up-VNC-Password#what-is-vnc-password--0-0)
- Add a reference section like at the TigerVNC section referencing "See also", "Man page", "Source code"
- Additionally adjust the TigerVNC docu section in the same manner
If this is the goal, I could start a proposal for the docu changes.
Suggestion for both VNC servers:
- Quick start
- Client login details
- Network port
- "The network port depends on the virtual desktop index, which defaults to "1". See "Virtual desktop settings" for details."
- "By default this connects to a dedicated virtual desktop environment. For a shared desktop, see the "Shared desktop" section.
- Change password
- Virtual desktop settings
- WIDTH, HEIGHT, DEPTH and DISPLAY_INDEX variables
- Explain how network port relates to display index (index 1 => 5901, index 2 => 5902, ...)
- I would put the enterprise subscription part here, as it affects the virtual desktop mode only. Using their service to spawn a desktop on demand, instead of having one running right from the start, means that above variables also have no effect. We could find out how to change resolution and stuff with their service, if even possible, but can be done any time later.
- Shared desktop
- SHARE_DESKTOP variable
- Explain that in this case, network port is 5900
- View logs
- Service control
- Update
Done