Hi
I have a system with fedora17 installed. i am trying to start vncserver to this server. following packages is installed for this:
tigervnc-server-minimal-1.3.0-16.el6.i686.rpm
tigervnc-1.1.0-5.fc17.i686.rpm
tigervnc-server-1.2.80-0.6.20121126svn5015.fc18.i686.rpm
changed made to /etc/systemd/system/vncserver@:1.service as follows:
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.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
rncit -c "/usr/bin/vncserver %i
-geometry 1280x1024"
ExecStop=/sbin/runuser -l
rncit -c "/usr/bin/vncserver -kill %i"
rncit is username here.
[Install]
WantedBy=multi-user.target
[root@127~]# iptables --list | grep 5901
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5901
when I try to start the vncserver, getting the following error:
[root@127 ~]#
systemctl start vncserver@:1.service
Job failed. See system journal and 'systemctl status' for details.
system log for vnc:
[root@127 ~]# tail -f /var/log/messages | grep vnc
Sep 27 13:40:12 localhost systemd[1]:
vncserver@:1.service: control process exited, code=exited status=98
Sep 27 13:40:13 localhost systemd[1]: Unit
vncserver@:1.service entered failed state.
Sep 27 13:47:28 localhost systemd[1]:
vncserver@:1.service: control process exited, code=exited status=98
Sep 27 13:47:28 localhost systemd[1]: Unit
vncserver@:1.service entered failed state
can any one help me to get what is wrong with service?
Thanks and Regards