This project provides a Dockerized VNC desktop environment for running WeChat on Linux, optimized for Chinese users.
- Auto-launches WeChat in a web-accessible VNC desktop
- Chinese language and font support
- Persistent config/data storage
- HTTP basic authentication support (optional)
-
Build and run the container:
docker compose up --build
Access the VNC desktop via your browser at
http://localhost:3000. -
Authentication: To enable HTTP basic auth, set
CUSTOM_USERandPASSWORDindocker-compose.yml. -
Chinese Language Support: The container is pre-configured for Chinese locale and fonts. If you need other locales, adjust the
LC_ALLenvironment variable. -
Input Method (IME) & Clipboard Sync:
- IME Input Mode:
- After launching the VNC desktop, open the settings menu (gear icon) in the web UI.
- Enable "IME Input Mode" to use local input methods.
- Clipboard Sync:
- In the same settings menu, enable both "Sync clipboard to container" and "Sync clipboard to client" for bidirectional clipboard sharing.
- These settings are per-browser and may need to be enabled each session.
- IME Input Mode:
- All WeChat data is stored in the
wechat_datadirectory on your host, mapped to/configin the container. For example, a file received in WeChat will be saved under./wechat_data/xwechat_files/wxid_<XXX>/msg/file/<DATE>/<FILE_NAME>.
- If WeChat does not launch, check the Docker logs for errors.
- For font or input issues, verify the settings in the web UI and ensure your host system supports Chinese input.
This image is based on the linuxserver/kasmvnc image. For more customization options of KasmVNC, refer to:
Linuxserver.io provides a variety of mods which can be customized further. You can refer to the linuxserver/docker-mods repository to apply additional mods, such as internationalization, cloudflared, and etcher.
