Labels

Linux (6) OpenCV (4) Deep Learning (3) MATLAB (3) Mac OS X (3) Windows (2) C# (1) Node JS (1)

2014年6月3日 星期二

Fix vncserver error "code=exited, status=2/INVALIDARGUMENT" on Fedora

Sometimes if you didn't shutdown your Fedora server cleanly, you will encounter the following error when restarting vncserver:

vncserver.service - LSB: start|stop|restart|try-restart|status|force-reload vncserver
  Loaded: loaded (/etc/rc.d/init.d/vncserver)
  Active: failed since Tue, 03 Jun 2014 11:08:08 -0400; 2h 14min ago
Process: 2145 ExecStart=/etc/rc.d/init.d/vncserver start (code=exited, status=2/INVALIDARGUMENT)

  CGroup: name=systemd:/system/vncserver.service

To solve this issue, just go to  /tmp/.X11-unix and remove directories X[1-9]. Don't remove X0, that's your console session. You will be cool again!

沒有留言:

張貼留言