I have container with GUI under Fedora 22
The service vncserver@:0 fails ar boot, always

systemctl status vncserver@:0

Jul 02 15:07:19 voice1 systemd[1]: Starting Remote desktop service (VNC)...
Jul 02 15:07:19 voice1 systemd[1]: vncserver@:0.service: control process
exited, code=exited status=29
Jul 02 15:07:19 voice1 systemd[1]: Failed to start Remote desktop service
(VNC).
Jul 02 15:07:19 voice1 systemd[1]: Unit vncserver@:0.service entered failed
state.
Jul 02 15:07:19 voice1 systemd[1]: vncserver@:0.service failed.

This is the service file

[Unit]
Description=Remote desktop service (VNC)
After=xdm syslog.target network.target network-online.target
Wants=network-online.target

[Service]
Type=forking
# Clean any existing files in /tmp/.X11-unix environment
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/sbin/runuser -l falves -c "/usr/bin/vncserver %i"
PIDFile=/home/falves/.vnc/%H%i.pid
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'

[Install]
WantedBy=multi-user.target

What might be happening that vnc fails.
If I execute manually,
systemctl start vncserver@:0

it does start fine.
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to