Linux

Where Does TigerVNC Store Config and Passwords on Linux?

TigerVNC keeps the passwd file and xstartup in ~/.vnc on Linux, with viewer options beside them.

Last updated

TigerVNC centers on ~/.vnc: the passwd file from vncpasswd, xstartup session script, config defaults, and per display logs. Server and viewer share the folder on the same machine.

Back up xstartup and config with the passwords noted separately. The viewer stores its own connection history beside them. Logs rotate per display and help debug black screens. Keep the passwd file at strict permissions since it guards remote access.

Where TigerVNC stores this, by platform

Linux
~/.vnc

passwd, xstartup, config, and display logs. chmod 600 on passwd is expected. Copy scripts and config for migration, regenerate passwords.

Frequently asked questions

How do I set the TigerVNC password?

Run vncpasswd, which writes ~/.vnc/passwd. Restart the server for the display. Copying the file works but keep its tight permissions.

Where are TigerVNC server logs?

Per display log files inside ~/.vnc. Check the matching hostname:number log after failed starts. xstartup errors show there first.

Notice an outdated path? Let us know.