[SOLVED] Ubuntu 18.04 on HC2?

Moderators: mdrjr, odroid

[SOLVED] Ubuntu 18.04 on HC2?

Unread postby pastaflower » Mon Jul 23, 2018 3:44 am

I'm trying to install Ubuntu 18.04 on my HC2. Basically any Ubuntu edition would do. The closest I found was the Mate and Minimal images for XU4 which seem to boot fine, and my HC2 shows up fine with an IP address in my router's web-interface.

My question is now: How do I actually log in to the HC2, not being able to hook up a screen? I read that the SSH server is indeed installed and enabled by default, but logging in as root over SSH is disabled by default. Hence, SSH'ing as user root/pass odroid doesn't work, and for me neither does user odroid / pass odroid (even though release notes seem to suggest there is a user odroid by default).

I was not able to find an Ubuntu 18.04 image specifically for the HC1/2; is there one? How else will I be able to get Ubuntu 18.04 on my HC2?
Last edited by pastaflower on Mon Jul 23, 2018 6:40 am, edited 1 time in total.
pastaflower
 
Posts: 2
Joined: Mon Jul 23, 2018 3:19 am
languages_spoken: english
ODROIDs: HC2

Re: Ubuntu 18.04 on HC2?

Unread postby pastaflower » Mon Jul 23, 2018 6:39 am

Update:
Ok, in my experience it is possible to SSH into the HC2 using user odroid / password odroid when running the Ubuntu 18.04 Mate image for XU4, but not when running the Minimal image.

This means my problem is solved. For others needing to run Ubuntu 18.04 on an HC1 or HC2 with the Mate image, you can disable loading of xorg and the GUI on boot (no need for that on a headless setup) by executing:

Code: Select all
sudo systemctl set-default multi-user.target && sudo reboot
pastaflower
 
Posts: 2
Joined: Mon Jul 23, 2018 3:19 am
languages_spoken: english
ODROIDs: HC2

Re: [SOLVED] Ubuntu 18.04 on HC2?

Unread postby bbolin » Fri Sep 14, 2018 11:43 am

Why would you install a desktop on something that is meant to be headless?

https://odroid.in/ubuntu_18.04lts/
ubuntu-18.04-4.14-minimal-odroid-xu4-20180531.img.xz
bbolin
 
Posts: 14
Joined: Sun Nov 06, 2016 8:59 am
languages_spoken: english
ODROIDs: ODROID-C2, ODROID-HC2

Re: [SOLVED] Ubuntu 18.04 on HC2?

Unread postby mad_ady » Fri Sep 14, 2018 2:35 pm

You may want to run gui apps either in vnc or xpra and view them over the network. There are even people who run android on it :)
User avatar
mad_ady
 
Posts: 4428
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [SOLVED] Ubuntu 18.04 on HC2?

Unread postby rooted » Fri Sep 14, 2018 5:08 pm

mad_ady wrote:You may want to run gui apps either in vnc or xpra and view them over the network. There are even people who run android on it :)
Headless Android is a thing now?
User avatar
rooted
 
Posts: 5458
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: [SOLVED] Ubuntu 18.04 on HC2?

Unread postby mad_ady » Fri Sep 14, 2018 9:19 pm

Don't ask me why...
User avatar
mad_ady
 
Posts: 4428
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: [SOLVED] Ubuntu 18.04 on HC2?

Unread postby bbolin » Fri Sep 14, 2018 9:26 pm

mad_ady wrote:Don't ask me why...


Why not? It's fun just to see the answer
bbolin
 
Posts: 14
Joined: Sun Nov 06, 2016 8:59 am
languages_spoken: english
ODROIDs: ODROID-C2, ODROID-HC2

Re: [SOLVED] Ubuntu 18.04 on HC2?

Unread postby mad_ady » Fri Sep 14, 2018 9:54 pm

Well, you'll have to ask those who use it. I'm just reporting from what I heard... So I have no idea. :D
User avatar
mad_ady
 
Posts: 4428
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1


Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 2 guests