Я новичок в Linux и только начал использовать ubuntu 14.04. Я пытаюсь запустить imwheel процесс при запуске, отредактировав файл rc.local. Возможно, я делаю что-то неправильно, и мне нужно вводить путь к программе отдельно от имени, как в терминале?
, когда я пытаюсь выполнить проверку, выполнив:
sudo service rc.local start
Я получаю сообщение ниже: INFO:
imwheel started (pid=4906)
Could not open display, check shell DISPLAY variable, and export or setenv it!
rc.local файл:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
imwheel
exit 0