Load atv without screen

I download and install Apple TV 1 image from here:
http://download.osmc.tv/installers/diskimages/OSMC_TGT_appletv_20171001-HDD.img.gz

Everything is work fine but only with monitor connected thought HDMI port.
When monitor is disconnected from Apple TV system is not booting.

The goal is to use Apple TV + OSMC to play music with remote control thought mobile app.
The question is how I can boot system with OSMC without monitor? Is it possible? Thanx!

The device should boot heedlessly without any problems.

Hi. This can’t be!! I have 3pcs. not one of them is not loaded. What is your version of osmc? I’ll try to put as yours! But I think osmc is not loaded, video card doesn’t know what resolution to choose and what is the frequency of the screen!

How do you determine that OSMC (I assume you mean Kodi the mediacenter) is not loaded?

Can you ssh into osmc and run sudo systemctl status mediacenter and report the output

Not only OSMC is not loaded, I think whole system is not loaded without connected monitor. After ATV is ON and pass some time I can’t see the device in the list of connected devices on router. And the led (toslink) on ATV’s box doest’t light. But when the monitor is connected everything is ok, system boot as expected, it appears in connected devices on router and the led (toslink) is lights on.

I’ve run my ATV as a headless server for some months and had no problem booting. Usually, after a reboot I would stop the GUI with ‘sudo systemctl stop mediacenter’ but it was not necessary either way.

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Dec 10 15:32:30 2017 from 10.0.1.12
osmc@osmc:~$ sudo systemctl status mediacenter

  • mediacenter.service - media center application
    Loaded: loaded (/lib/systemd/system/mediacenter.service; enabled)
    Active: active (running) since Sun 2017-12-10 16:00:36 MSK; 4min 54s ago
    Main PID: 1457 (mediacenter)
    CGroup: /system.slice/mediacenter.service
    |-1457 /bin/bash /usr/bin/mediacenter
    |-2021 sudo -u osmc xinit /usr/lib/kodi/kodi.bin --standalone -fs …
    `-2028 xinit /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /va…

Dec 10 16:05:21 osmc mediacenter[1457]: (EE)
Dec 10 16:05:21 osmc mediacenter[1457]: Fatal server error:
Dec 10 16:05:21 osmc mediacenter[1457]: (EE) no screens found(EE)
Dec 10 16:05:21 osmc mediacenter[1457]: (EE)
Dec 10 16:05:21 osmc mediacenter[1457]: Please consult the The X.Org Foundat…t
Dec 10 16:05:21 osmc mediacenter[1457]: at http://wiki.x.org
Dec 10 16:05:21 osmc mediacenter[1457]: for help.
Dec 10 16:05:21 osmc mediacenter[1457]: (EE) Please also check the log file …
Dec 10 16:05:21 osmc mediacenter[1457]: (EE)
Dec 10 16:05:21 osmc mediacenter[1457]: (EE) Server terminated with error (1…
Hint: Some lines were ellipsized, use -l to show in full.
osmc@osmc:~$

Looks to me that OSMC and also Kodi is running. What makes you believe it is not running?

Kodi Remotу (app) can not connect to the server, (with the screen everything connects right away).
Atv1 does not illuminate the toslink

Hi, please try to connect Kodi Remot (app) without a monitor, or is it a problem for me?

Whats the output of netstat -tln

root@osmc:/home/osmc# netstat -tuln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:1445 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:1641 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:36666 0.0.0.0:* LISTEN
tcp6 0 0 ::1:9090 :::* LISTEN
tcp6 0 0 :::111 :::* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::6000 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::36666 :::* LISTEN
tcp6 0 0 :::36667 :::* LISTEN
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:781 0.0.0.0:*
udp 0 0 0.0.0.0:8745 0.0.0.0:*
udp 0 0 127.0.0.1:9777 0.0.0.0:*
udp 0 0 0.0.0.0:52294 0.0.0.0:*
udp 0 0 0.0.0.0:1900 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 10.0.1.19:123 0.0.0.0:*
udp 0 0 127.0.0.1:123 0.0.0.0:*
udp 0 0 0.0.0.0:123 0.0.0.0:*
udp6 0 0 :::5353 :::*
udp6 0 0 :::50426 :::*
udp6 0 0 :::781 :::*
udp6 0 0 :::111 :::*
udp6 0 0 ::1:123 :::*
udp6 0 0 :::123 :::*

Looks like your remote should work.
What happens if you connect from your browser to your OSMC device

Sorry entered the command with the screen, the right answer.
osmc @ osmc: ~ $ netstat -tln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 ::: 111 ::: * LISTEN
tcp6 0 0 ::: 22 ::: * LISTEN
osmc @ osmc: ~ $

Web interface without monitor http://10.0.0.19:8080

Can not reflect the page!

Web interface without monitor http://10.0.1.19:8080

Can not reflect the page!

Well not directly related to your problem but it loks you have configured the webinterface on port 80 not 8080

I could agree with you! But why then with the connected monitor Web Interface works? And a mobile application too?

I checked the setting HTTP 8080!

I also noticed if you boot up with the monitor all work even if it is then turned off. But to the situation for me it is not very convenient ((((

If this is the goal, isn’t OSMC overkill on such a system where resources (256mb RAM) are so limited? Why not just run Linux with mpd?

MPD I ran but I’m not satisfied with the sound quality. On kodi Sound is much better!