TigerVNC for UI access of server

Aashiqz

New Member
Joined
Apr 13, 2023
Messages
1
Reaction score
0
Credits
17
Hello All,

I am trying to start TigerVNC for the UI access of a server. I am new to the linux world.
I followed the following steps but when I try to run the systemctl start command I get the following error
Please help

sudo systemctl daemon-reload
sudo systemctl enable vncserver@:1.service
sudo systemctl start vncserver@:1.service

This is the file that I have

[Unit]
Description=VNC server daemon

[Service]
Type=forking
User=%i
ExecStart=/usr/bin/tigervncserver -geometry 1920x1080 -depth 24 -localhost no -name %i
ExecStop=/usr/bin/tigervncserver -kill %i

[Install]
WantedBy=multi-user.target

This is the error I see

Failed to start vncserver@:1.service: Unit vncserver@:1.service has a bad unit file setting.
See system logs and 'systemctl status vncserver@:1.service' for details.
 

Members online


Latest posts

Top