#2068·tigervnc

w0vncserver as service dont work for each user?

Author: mildokCreated Feb 16, 2026Updated Sep 3, 2026
Labelsenhancement

Hi, thank you for ur program! Tigervnc realy amazing!

I have KDE Plasma btw.

Could you tell me - how should I create a system service for w0vncservice?

I made like this: vim /etc/systemd/system/w0vncserver.service

[Unit]
Description=TigerVNC Wayland Server
After=network-online.target
# Requires=wayland-session.target # Or relevant compositor target
Requires=graphical.target # Or relevant compositor target

[Service]
Type=simple
User=user
Environment=XDG_RUNTIME_DIR=/run/user/500
ExecStart=/usr/local/bin/w0vncserver -QueryConnect=0 -RememberDisplayChoice=always -rfbauth /home/user/.vnc/passwd
Restart=on-failure
RestartSec=1s

[Install]
WantedBy=multi-user.target

But, ofcourse, it works only for user "user" with ID 500. And if another user logged - its will not work.

How should I make a service: /etc/systemd/system/w0vncserver.service I wanna make in this folder: /etc/systemd/system/ For users cant disable it.

And if this will be worked on user log in stage(for lightdm as I understand) - it will be perfect.

I did try to search in wiki, but found only for x0vncserver: [https://github.com/TigerVNC/tigervnc/wiki/Systemd-unit-for-x0vncserver]

Thanks anyone for help, sorry for my English, and Iam newbie in Linux.