For use in embedded applications, on STCK1A8LFC the BIOS has been designed so that after passing the POST, the operating system loader is invoked even if the following devices are not present:
• Video Display.
In this particular case, I suggest editing your GRUB Menu Configuration File '/etc/default/grub'
Change 'GRUB_CMDLINE_LINUX_DEFAULT=' to 'GRUB_CMDLINE_LINUX_DEFAULT="quiet text"
Note: change any timeouts to zero.
Finally, run the command 'update-grub2' as Root (#). If you want to start your default GUI, run 'service lightdm start' as Root(#).
You may get additional relevant information here: startup - Lightdm not starting on boot - Ask Ubuntu *
Please let us know if this resolves the issue.
*Other names and brands may be claimed as the property of others.
My team is also hitting the same issue with no resolution in the past few days. We have attempted following instructions from the following posts without success:
- display manager - How do I disable X at boot time so that the system boots in text mode? - Ask Ubuntu
Although we are successful in getting the Compute Stick to boot without the GUI by following those instruction (and also logging in automatically by adding "-f YOUR_USERNAME" to the /etc/init/tty1.conf line as such: exec /sbin/getty -f YOUR_USERNAME -8 38400 tty1), we have had no success in booting without an HDMI monitor connected.
As long as the monitor is connected, even if the monitor is powered down, the Compute Stick boots and automatically connects to wifi, and we are able to log in via ssh and accomplish the tasks we need to accomplish. However, without a monitor connected, it refuses to boot.
We have tried this running on installations from the following standard ubuntu images: 14.04.3LTS, 14.10, and 15.04. Right now we are running Ian Morrison's (linixium from above links) 14.04.3 "Official unofficial" ISO image with all packages updated and upgraded and attempting next with his 14.10 image. (Many thanks to him for the working wifi driver patch!)
Any help on getting the Compute Stick to boot without being connected to a monitor on any version of Ubuntu would be most welcome! Thanks.
EDIT: I just found this post and am not sure how I missed it earlier, https://communities.intel.com/thread/77784?wapkw=compute+stick+headless. I added "GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT" to my grub file as all other values/settings were already the same. This had no impact on the system behavior; it still boots fine as long as it is connected to a monitor (powered or unpowered), but it does not boot if no monitor is attached...
The search continues.
I've written a script to allow you to boot headless without anything connected to the HDMI. This works on my Windows ICS device running my Ubuntu 14.04.3 LTS ISO installed to eMMC. As an aside, my 14.04.3 LTS ISO is my latest version that supports wifi, bt and audio and which can be updated and upgraded with 'apt-get'. My 14.10 ISO is EOL and should not be used as it was an earlier development and is not supported.
To boot headless download my patch from linuxium-headless-patch.sh - Google Drive and make the script executable by entering 'sudo chmod 700 linuxium-headless-patch.sh' and then run the script by entering 'sudo ./linuxium-headless-patch.sh'.
Basically the script will take how you are currently booted and create a new GRUB configuration file to boot equivalently without graphics that then allows you to boot both with and without a monitor/display device connected to the HDMI port of the ICS.
With a monitor connected pressing Ctrl-Alt-F1 will provide a text-based login screen. Booting without a monitor obviously requires remote access to have been previously set up so as a minimum I suggest installing ssh (enter 'sudo apt-get -y ssh openssh-server' and access remotely with 'ssh <username@IP address>'). If you accidentally lock yourself out modifying GRUB during subsequent editing/experimenting then use my ISO on a USB to regain control.
I am working with the previous poster, mcsauder, so his post summarizes where I am with the Compute Stick. First of all, thank you for all of your posts...they've gotten us a long way.
To put it quickly: as we are using the ICS for an embedded linux solution, we need the ICS to power up without ever connecting anything to the hdmi port. I re-installed the OS using your 14.04 ISO image, then ran the patch in your most recent post on this thread. The compute stick now reboots into a command line login screen when connected to a monitor. From here, I can successfully ssh into it from a separate machine. However, if I power up with the ICS disconnected from the hdmi, it never seems to reach a point where it connects to the network. I've tried this with wifi, and with it plugged in to ethernet via a USB dongle.
I then tried running a sudo update-grub2, thinking that the grub settings had changed, so maybe that was necessary...but then it just loads the GUI automatically, and attempting to re-run your sh script doesn't seem to do anything. I have to remove the /boot/grub/grub.cfg.orig to get the script to run again. Then it exibits the same behavior...booting into command line while a display is connected, and hanging when no display is connected.
To be clear, without any modifications to your linux ISO image, we are able to boot up while connected to HDMI, then disconnect the ICS from HDMI and continue to access it via ssh. However, for our application, it is necessary that we never connect it to a display.
Thanks....and thanks again for your contribution so far.
PS: if it helps...we have updated the BIOS on the ICS to the latest version.
No we were not. We applied the patch that linuxium posted, and saw similar behavior to before. We can boot the ICS while it is plugged into a monitor (even an unpowered monitor). The ICS shows up on the network, and we can SSH into it. Then we can remove it from the monitor and it continues to operate. However, if we power up without an HDMI connection, the blue light comes on, but it does not seem to complete the boot. The USB peripherals do not completely power up, and the ICS does not appear on the network. We cannot, then, SSH into it.
Though I have not tested it myself, we have been told that the desired behavior is possible with a Windows OS, which suggests it is not purely a hardware issue, and that there should be a software or OS solution. We have been unable to find it, though. Any suggestions on how to get the ICS to boot with no HDMI connection would be appreciated.
gsettings set org.gnome.Vino remote-access enabled true
This should allow your Intel® Compute stick to "think" it is attached to a monitor.
Then all you need to do is turn off the device and try booting again witn no monitor/TV attached.
Please try this and let me know if issue persists.
Thanks for the suggestion. Unfortunately, I gave this a try, and it doesn't seem to have changed anything. I've opened the /var/log/syslog, and it doesn't even save an entry for the no-monitor boot attempt. I take this to mean that the OS is never getting control...perhaps there is some hardware limitation prohibiting this use case?
Hi mcgrathm_oz and all,
I apologize for any inconvenience caused by this issue. Intel engineering is currently investigating this issue and we will keep this community thread updated.
Please stay tuned.
Thanks for all the help!
We have tried multiple approaches to getting the network connection running. We have configured /etc/network/interfaces manually by entering our ssid and key. We had mixed results with this approach, so we reinstalled the OS from scratch, and tried the next method. The method that seems to have worked the best is to boot up with a monitor, and choose the network using the GUI. We went into the network-manager and checked the settings settings to ensure that the network was set to connect automatically. Now, when we boot up with a monitor attached (even powered off), it connects to the network automatically. However, it needs to have the display connected.
Our newest development is that we got on Amazon and grabbed one of these http://www.amazon.com/CompuLab-fit-Headless-Display-Emulator/dp/B00FLZXGJ6
This HDMI dummy plug tricks the device into thinking there is a monitor attached. This allows us to boot up the ICS successfully. We'd like to avoid this if possible, but this is a workable solution for the short term.
I am unsure what you mean by 'mixed results' when configuring '/etc/network/interfaces' manually? Quite simply you need to get your network working without running the desktop. The simplest way is to configure it using '/etc/network/interfaces'. Start by booting Ubuntu normally with a desktop and delete all the networking configurations you have made under network-manager with the GUI and get networking using '/etc/network/interfaces' working. Then when networking works automatically, run my script 'linuxium-headless-patch.sh' to boot in 'text' mode and you'll see that you can just power-on the ICS without anything else attached to it and you'll be able to access it remotely using 'ssh' etc.
We are currently investigating this particular situation and will keep this community thread updated.
The current solution you posted Amazon.com: CompuLab Display Emulator (fit-Headless): Computers & Accessories works, however, we are working on a solution for this issue.
Please confirm if you were able to follow linuxium recommendations.