Linux (with GUI) release

https://github.com/MiSTer-devel/Main_MiSTer/wiki

Moderators: Mug UK, Zorro 2, Greenious, spiny, Sorgelig, Moderator Team

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Tue Mar 27, 2018 5:27 pm

Sorgelig wrote:I suggest even better - make a LUbuntu 16.04 LTS (same as Terasic's one) installation from scratch. I believe there should be LUbuntu armhf installer.
I just don't want to participate to it as i have many other tasks already.


Sounds like a great plan. Let me look into it. How did you make the base image for the MiSTer side? Was it also a subset of LUbuntu?

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Tue Mar 27, 2018 6:09 pm

alanswx wrote:Sounds like a great plan. Let me look into it. How did you make the base image for the MiSTer side? Was it also a subset of LUbuntu?

No. It's buildroot. It's completely different approach used for embedded locked down systems.

Locutus73
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 135
Joined: Wed Feb 07, 2018 6:13 pm

Re: Linux (with GUI) release

Postby Locutus73 » Tue Mar 27, 2018 8:58 pm

alanswx wrote:I suggest we build a shell script that we can put into github with the changes.

Interesting. Some years ago I managed to install a full blown Debian on my old Sharp Zaurus using debootstrap (from its embedded Linux). Maybe it could be used in order to prepare a script that can be launched from standard MiSTer Linux (through ssh) in order to prepare a brand new root image file from scratch.
Speaking of full Linux MiSTer core, if I recall correctly (I’m not home these days), Terasic’s Linux did not show anything on screen until Lxde is launched; I mean no video output from terminal. Is it so with current Linux core?

Locutus73

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Fri Mar 30, 2018 11:44 pm

I've added volume control to sound card, so no pulseaudio is required anymore.

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Tue Apr 03, 2018 3:53 am

This isn't fully working yet, and I don't have the timezone or wpa_supplicant figured out yet. But it does seem to boot Lubuntu in x windows. More to come, if you want to get an idea of how I am pulling it together see the github WIP:
https://github.com/alanswx/Linux_LubuntuMiSTer

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Tue Apr 03, 2018 5:45 am

I've added modification to existing Terasic image, so ftpd/sshd/wpa/timezone are working fine and reflect original MiSTer settings.
I will release update image soon.
But i agree we need to start it from scratch. I didn't test your scripts yet. I guess it will need some discussion and clarification how to build the image.

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Tue Apr 03, 2018 4:04 pm

Sorgelig wrote:But i agree we need to start it from scratch. I didn't test your scripts yet. I guess it will need some discussion and clarification how to build the image.


I will keep working on it and let you know when it is worth walking through.I will try to document the readme better. Where can I grab the latest image?

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Tue Apr 03, 2018 6:53 pm

alanswx wrote:Where can I grab the latest image?

i didn't release it yet.

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Thu Apr 05, 2018 11:55 pm

I finally fixed a bunch of bugs in the scripts. If you run this on a debian based system, it will create an arm image. It doesn't have any additions for wifi,ftp,etc. It creates a mister account that can sudo, with the password mister.

I had a problem that the latest version of firefox doesn't seem to run on arm ubuntu 16. So I told the apt to freeze an old version. I also added a version of chromium. If you want to add any packages, they go in the multistrap.conf file.

This also mounts the SD card as /media/fat/ so that it matches the MiSTer distribution.

If you attach any configuration files you changed, or somehow get me the couple of pieces I need to finish setting up the image the way you want it, I will make the changes.

https://github.com/alanswx/Linux_LubuntuMiSTer

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Thu Apr 05, 2018 11:55 pm



For some reason the sound doesn't seem to work. Any suggestions would be great!

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Fri Apr 06, 2018 6:03 am

alanswx wrote:If you attach any configuration files you changed, or somehow get me the couple of pieces I need to finish setting up the image the way you want it, I will make the changes.

script and changes required for standard linux image are here:
https://github.com/MiSTer-devel/Linux_I ... tor_MiSTer

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Fri Apr 06, 2018 3:29 pm

Sorgelig wrote:script and changes required for standard linux image are here:
https://github.com/MiSTer-devel/Linux_I ... tor_MiSTer


This is helpful. It looks like:

1) proftpd.conf
- i need to setup ftp access. I think that I would modify it to use the mister user instead of root - i didn't set a password for the root user
- should the ftp be able to get to the mister user, as well as the /media/fat/ ? or just /media/fat? I need to think about the permissions
2) localtime should link to /media/fat/timezone
3) I need to get the network interface working with the wifi usb. I need to get my wifi usb working in general! I have some more coming from aliexpress

Anything else?

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Fri Apr 06, 2018 6:08 pm

Since MiSTer linux and full linux are on the same physical device, i would prefer to use the same login and password for ftp/ssh, i.e. user: root, pass:1
I understand you have your own thought about root access - that's fine - you can do it. In this case i will use my own version of linux since i don't want to care about user rights on this embedded system which is just a toy.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Fri Apr 06, 2018 6:13 pm

about /mount/fat mounting:
Originally it's automounted inside the kernel if boot device is loop. If boot device is physical partition then it won't be mounted as there is no clue what to mount.

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Fri Apr 06, 2018 8:47 pm

Sorgelig wrote:about /mount/fat mounting:
Originally it's automounted inside the kernel if boot device is loop. If boot device is physical partition then it won't be mounted as there is no clue what to mount.


I seem to have this working correctly, it comes up with /media/fat based on an fstab that I have:

Code: Select all

/dev/mmcblk0p1  /media/fat/ fat defaults 0 0


I understand the root/1 thing. I will make the change, it should be super simple. That will make the FTP easier and the same. I can put some comments in the script if people want to do it a different way.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Sat Apr 07, 2018 5:06 pm

New Desktop Linux release.
Here is the Wiki page: https://github.com/MiSTer-devel/Main_Mi ... ktop-Linux

- New parameters has been added (see Wiki)
- Multiple configs per RBF.
- ftp/ssh work. Same login and pass as for MiSTer Linux.
- timezone follows MiSTer Linux.
- Many improvements in frame buffer.
- Native audio volume control. Pulse audio is not required anymore.

Release includes updated Linux image with all fixes incorporated.
Release doesn't include installer as current MiSTer Linux release already supports multiboot. Make sure you've updated the MiSTer Linux to today's release.

alanswx
Atariator
Atariator
Posts: 29
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Postby alanswx » Mon Apr 09, 2018 5:38 pm

I fixed a few more problems in my version:

https://github.com/alanswx/Linux_LubuntuMiSTer

I still can't get the sound to work in your image or mine, I am not sure why. I added a root/1 password, but I left mister/mister as well. We can pull it out easily enough. We can pull it out easily enough

I added mc as a package to load so it will have midnight commander installed. You need to log in with "other" when it boots into the gui. The ssh and ftp works - i copied your configuration files over into the "extras" folder in this repo

Feel free to send me other fixes, I want to make it exactly as you wish.

Sorgelig
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2071
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Postby Sorgelig » Mon Apr 09, 2018 6:26 pm

I've read somewhere that audio is muted on linux by default. So, did you check the volume control on my image?
Do you get any error regarding the sound?
Did you try analog audio output?


Return to “MiSTer”

Who is online

Users browsing this forum: No registered users and 3 guests