You are not logged in.
Hi Everyone,
When I run:
sudo systemctl start vncserver@:1.serviceI expect a vnc server to be listening on port 5901. This isn't happening.
When I run:
sudo systemctl status vncserver@:1.servicethe output is:
○ vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/usr/lib/systemd/system/vncserver@.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Sun 2022-01-02 23:48:29 PST; 2min 51s ago
Process: 3608 ExecStart=/usr/bin/vncsession-start :1 (code=exited, status=0/SUCCESS)
Main PID: 3615 (code=exited, status=0/SUCCESS)
CPU: 22ms
Jan 02 23:48:29 Mossy systemd[1]: Starting Remote desktop service (VNC)...
Jan 02 23:48:29 Mossy systemd[1]: Started Remote desktop service (VNC).
Jan 02 23:48:29 Mossy systemd[1]: vncserver@:1.service: Deactivated successfully.Lacking any error messages to work with, where should I look for clues?
Thanks for your help,
Dave
Offline
~/.vnc/*.log
There should be a file named '<hostname>:1.log'.
Offline
There is a log:
[dave@Mossy ~]$ cat .vnc/Mossy\:1.log
VNC authentication enabled, but no password file created.I'm trying to vnc through ssh, as described in the wiki for TigerVNC. I have not been able to make a vnc connection because I can't get the vnc server to stay running.
Offline
Don't want to necrobump this thread, but for me I just had to run the following WITHOUT sudo
systemctl start vncserver@:1I get the error if I run with sudo.
Offline