I am using my Raspberry Pi to set up a print station in a remote location, and I am using Google Cloud Print to send prints from my home. Everything works fine when I am booted to desktop on RPi, but when I use raspi-config to set it to boot into non-GUI mode, the prints don't get sent to CUPS.
One thing I've noted is that as soon as I use
vncserver command on RPi to create a virtual desktop, the printing starts working again.
However, after that, even if I kill the virtual display using
vncserver -kill :<display number>, it continues to work.
This makes me think that Chromium's services do not start until a display is created.
Am I thinking in the right direction? If so, how do I get this working without booting into GUI? The sole reason I don't want to have GUI is to reduce resource and thereby power usage.
One option is to have a shell script at startup to run
vncserver command, wait and then kill the display, but I want to keep that as a last option.