Starting tightvncserver manually from a terminal works fine. To start it @reboot I am using crontab -e with the following command:
@reboot sleep 20 && /usr/bin/tightvncserver
The path is correct, I tested it using which tightvncserver
, but it does not work.
I am new to cron, so I do not have experience. What comes to my mind, that there is trouble with the users. Cron does not know, which user should execute this command.
Any help is appreciated!
systemd
OS).