Sam Varshavchik writes:
> But something is still broken. I went through the motions, set
> session=xfce, but then something is still broken with systemd.
> systemctl start vncserver@:1 results in:
>
> Feb 24 11:30:33
monster.email-scan.com systemd[1]: Starting
> vncserver@:1.service - Remote desktop service (VNC)…
> Feb 24 11:30:34
monster.email-scan.com systemd[1]: Started
> vncserver@:1.service - Remote desktop service (VNC).
> Feb 24 11:30:35
monster.email-scan.com systemd[1]:
> vncserver@:1.service: Deactivated successfully.
>
> That's it, no further diagnostics, and nothing is listening on port 5901.
... and that was because even xfce is not going to work. The reason was
dumped into ~/.vnc/*log:
/usr/bin/startxfce4: X server already running on display :1
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
xfce4-session-Message: 11:40:42.960: SSH authentication agent is already
running
xinit: connection to X server lost
So this is not a Gnome limitation, but a systemd limitation.
It's an X limitation or an operating system limitation if you really
want to call it that. There can only be one X server on a port. Change
the display number.
I run a VNC server with openbox using systemd and it works fine.