(05-05-2016, 09:06 AM)JCMPine64 Wrote: I posted a question on how to turn off the gui, since I'm building a headless server:
Why turning the GUI off? There exist ONLY 2 real OS images, all the others (these are the featured ones on wiki.pine64.org) are manipulated/crappy ones that contain more bugs.
1) Longsleep's original Ubuntu Xenial: http://forum.pine64.org/showthread.php?tid=376
2) Longsleep's original Arch Linux image: http://forum.pine64.org/showthread.php?tid=343 (WTF! A mod moved the thread somewhere around -- it's close to unbelievable how shitty this forum is administrated)
Both are headless and the former already contains all fixes. For the latter it's necessary to execute the basic updates.
Code:
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_fix_whatever.sh)
The 'featured' OS images in the wiki suffer from wrong settings (both containing stuff in /etc/network/interfaces as well as adding a network-manager -- those get in conflict and that's the reason you run in the problem this thread is about) and lack documentation.
A while ago the Pine64 people provided also that much outdated OS images there that absolutely useless threads like this popped up. A whole thread about an issue that has been fixed by the only active developer weeks ago. And it's only the Pine64 people's fault since they did not update the stuff in the Wiki. Now they do it wrong again, take others' OS images, update/add this or that and provide it without proper versioning information.
When today anyone reports a software related bug it's close to impossible to deal with that since we devs would have to download bloated OS images from the Wiki first to check what has been probably messed up. This is just an insane waste of time and efforts.
Use longsleep's 160 MB original Xenial image, update it using the aforementioned scripts from time to time and stay away from the bloated/crappy featured stuff from the Wiki!
This is how your headless server behaves when you use the featured 'Xubuntu' image. SoC temperature up to 90°C and full CPU utilisation since ressource intensive screensavers are running (you NEVER activate these screensavers on a small ARM based development board unless you have GPU drivers ready so that this graphical intensive stuff can run on the GPU cores with minimal load. And that's just one of the many flaws the featured OS images show):