# Linux version info and install instructions

**URL:** <https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098>\
**Category:** General RealDash discussion\
**Created:** [November 9, 2021, 12:52pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098 "2021-11-09T12:52:20Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![corvolt](https://forum.realdash.net/user_avatar/forum.realdash.net/corvolt/32/707_2.png) [@corvolt](https://forum.realdash.net/u/corvolt)\
**Post date:** [December 24, 2021, 5:28am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/21 "2021-12-24T05:28:12Z")

</div>

Who me? I haven’t even tried yet, I just looked up some pi fast boot stuff before learning about Realdash, but I want to say you can see boot times in the sun 10 second range easily, sub 6 may be tricky.

[https://youtu.be/yxj8ynXXgbk](https://youtu.be/yxj8ynXXgbk)

[https://youtu.be/gp6XW-fGVjo](https://youtu.be/gp6XW-fGVjo)

---

<div class="post-metadata">

**Author:** ![nemiro](https://forum.realdash.net/letter_avatar_proxy/v4/letter/n/d2c977/32.png) [@nemiro](https://forum.realdash.net/u/nemiro)\
**Post date:** [December 24, 2021, 7:25am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/22 "2021-12-24T07:25:35Z")

</div>

Having to boot to the desktop is the time killer, though. Booting to CLI is what you can get done fast.

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [December 26, 2021, 6:51am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/23 "2021-12-26T06:51:08Z")

</div>

Dietpi Success. Both Xfce and LXDE. Not only that it looks like it’s running pretty smoothly. I can only judge it based on the opening animation at the moment. Haven’t hooked it up in my car yet.

Quick video. Moving in the garage.  
[https://youtu.be/V\_xKGLZc79w](https://youtu.be/V_xKGLZc79w)

xxx The unfortunate part is that I cannot navigate to load my configuration.   
Fixed by installing kdialog  
  
  
As for getting it to run smoothly is that I installed Amiberry. Launched through it and then returned to the regular launcher. Not sure what this does, but it sped up Realdash, which was pretty laggy before.  
Some of my piberry config settings.  
CPU/GPU split is 96:Camera  
0 overclocking.  
CPU Governer: ondemand  
CPU Throttle Up: 50%  
Ondemand Sample Rate: 25ms  
Ondemand Down Factor: 40  
ARM Initial Turbo: 20s  
Swap File: 1075MB /var/swap  
I2C Freq: 100khz

For some reason I couldn’t auto start “startx” as user. I had to add the user to the root group. Also, I created a custom start script with only a “startx” entry. Then, I had to chmod /var/lib/dietpi-autostart/custom.sh  
 ![screenshot.png](https://forum.realdash.net/uploads/default/original/1X/5ecac6c1009773035ae48ccc21130f97524fe5d6.png)

---

<div class="post-metadata">

**Author:** ![langoo](https://forum.realdash.net/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@langoo](https://forum.realdash.net/u/langoo)\
**Post date:** [December 26, 2021, 1:57pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/24 "2021-12-26T13:57:05Z")

</div>

> [@](#):
>
> Dietpi Success. Both Xfce and LXDE. Not only that it looks like it’s running pretty smoothly. I can only judge it based on the opening animation at the moment. Haven’t hooked it up in my car yet.
> 
> Quick video. Moving in the garage.  
> [https://youtu.be/V\_xKGLZc79w](https://youtu.be/V_xKGLZc79w)
> 
> xxx The unfortunate part is that I cannot navigate to load my configuration.   
> Fixed by installing kdialog  
>   
>   
> As for getting it to run smoothly is that I installed Amiberry. Launched through it and then returned to the regular launcher. Not sure what this does, but it sped up Realdash, which was pretty laggy before.  
> Some of my piberry config settings.  
> CPU/GPU split is 96:Camera  
> 0 overclocking.  
> CPU Governer: ondemand  
> CPU Throttle Up: 50%  
> Ondemand Sample Rate: 25ms  
> Ondemand Down Factor: 40  
> ARM Initial Turbo: 20s  
> Swap File: 1075MB /var/swap  
> I2C Freq: 100khz
> 
> For some reason I couldn’t auto start “startx” as user. I had to add the user to the root group. Also, I created a custom start script with only a “startx” entry. Then, I had to chmod /var/lib/dietpi-autostart/custom.sh

Why not use the regular RasbianOS image which is tested for RealDash?

Did you made RealDash start without an desktop started before, looks like you have an desktop on the screenshot?

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [December 27, 2021, 5:22am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/25 "2021-12-27T05:22:29Z")

</div>

> [@](#):
>
> Why not use the regular RasbianOS image which is tested for RealDash?
> 
> Did you made RealDash start without an desktop started before, looks like you have an desktop on the screenshot?

Rasbian is too laggy. I’m trying to install this in my car as my dash. I have an Android tablet in there now, but it overheats easily and it doesn’t automatically turn on/off with the car. It used to, but Google changed something with one of the updates which seems to block this. Plus, I’ll be able to plug directly into my ECU via CAN instead of Bluetooth. The tablet refuses to charge and connect via usb.

I originally tried to get it running without a desktop gui, but as realdashdev stated, that isn’t possible at the moment. Hopefully, the team can get that worked out as it’ll make this boot up quickly and have more resources available.

 ![fkCIFdnR28hBEjl0_8O6mijSTLAPKPZgJA24NzuxP9FJIuaGMUCmZrumXvcJWuI6TzI0KSnkqN-4m93ksqokxU9IxhTgUQgaAauFzwDqAm57IlYnPSqAHoDypNxyFI2Nc_0TAmYnutDkjoxCDebb4sU__dwprebBPWK8VmMizMjvBj7SBeKUUjPcJlTv9s91-nrLZNRKr13bZhpUAKKxGeGgQDfGdloN.jpeg](https://forum.realdash.net/uploads/default/original/1X/2281048f45cd6cf9595680532c7bb8b7ff43fdc8.jpeg)

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [December 27, 2021, 7:36am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/26 "2021-12-27T07:36:24Z")

</div>

Got it booting straight into Realdash.

I ended up adding .xsession under the user account. Below is the code. Unfortunately, it’s not saving my settings. It does remember my login, but I have to log in each time. I also don’t have a mouse cursor, but I’m pretty sure that’s because I didn’t call it out in xsession.  
Also, it looks like none of the folders for a user is included with a Dietpi image. That could be a reason why it’s not saving.

Youtube video of the boot.  
[https://youtu.be/mzHVpFqlK-4](https://youtu.be/mzHVpFqlK-4)

Code

```plaintext
xrandr --output HDMI1 --mode 1280x800
xrandr --fb 1280x800
xset -dpms s off
realdash

```

---

<div class="post-metadata">

**Author:** ![langoo](https://forum.realdash.net/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@langoo](https://forum.realdash.net/u/langoo)\
**Post date:** [December 27, 2021, 7:48am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/27 "2021-12-27T07:48:56Z")

</div>

> [@](#):
>
> Got it booting straight into Realdash.
> 
> I ended up adding .xsession under the user account. Below is the code. Unfortunately, it’s not saving my settings. It does remember my login, but I have to log in each time. I also don’t have a mouse cursor, but I’m pretty sure that’s because I didn’t call it out in xsession.  
> Also, it looks like none of the folders for a user is included with a Dietpi image. That could be a reason why it’s not saving.
> 
> Youtube video of the boot.  
> [https://youtu.be/mzHVpFqlK-4](https://youtu.be/mzHVpFqlK-4)
> 
> Code
> 
> ```plaintext
> xrandr --output HDMI1 --mode 1280x800
> xrandr --fb 1280x800
> xset -dpms s off
> realdash
> 
> ```

Good progress, maybe can help developers fixing the last parts to get settings persistent between boots 😉

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [December 28, 2021, 5:49am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/28 "2021-12-28T05:49:27Z")

</div>

Got it figured out. DietPi really restricts users. I found in the xsession logs that it couldn’t create any of the folders.

I created the main folder  
/home/psedog/Documents/Realdash

Then all of the subfolders  
camera, datalogs descfiles, dyno, settings, tripdiary

I also fixed all the permissions as the user didn’t have permissions… So odd.

Note: if you want to exit realdash and go back to the command prompt, just hit Esc.

I have other projects around the house at the moment (Honey Do’s), so connecting it in the car will come later.

[https://youtu.be/9USYzIptwdA](https://youtu.be/9USYzIptwdA)

Edit:  
I have fixed the curser and gotten rid of xsession commands that didn’t work and/or weren’t required. It now takes just over 20seconds from applying power to opening. Now, the question is how to activate the full version? I purchased it on Google’s app store. Do I need to buy a subscription now?

```plaintext
xrandr --fb 1280x800
xsetroot -cursor_name left_ptr
realdash

```

---

<div class="post-metadata">

**Author:** ![langoo](https://forum.realdash.net/letter_avatar_proxy/v4/letter/l/ed655f/32.png) [@langoo](https://forum.realdash.net/u/langoo)\
**Post date:** [December 28, 2021, 6:51pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/29 "2021-12-28T18:51:54Z")

</div>

Did you have to install a desktop manager or do you run without LXDE or XFCE?

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [December 28, 2021, 10:28pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/30 "2021-12-28T22:28:11Z")

</div>

> [@](#):
>
> Did you have to install a desktop manager or do you run without LXDE or XFCE?

You have to have a desktop environment installed. We are using that environment here, but not the whole desktop.

Note: I tried this method with Raspian, but it was still sluggish. DietPi seems to be the best option for Raspberry Pi.

---

<div class="post-metadata">

**Author:** ![nemiro](https://forum.realdash.net/letter_avatar_proxy/v4/letter/n/d2c977/32.png) [@nemiro](https://forum.realdash.net/u/nemiro)\
**Post date:** [December 29, 2021, 8:30pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/31 "2021-12-29T20:30:57Z")

</div>

Any chance you would offer up an image of what you have working?

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [January 1, 2022, 5:42pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/32 "2022-01-01T17:42:19Z")

</div>

Alright. So, I figured out how to get this working on Raspbian. It’s smooth and no longer has permissions issues.  
I’m not going to upload an image. That would get out of date quickly and I’d be redistributing software. Not my lane 🙂  
I did create a Github. All the instructions are there. Raspi settings are the same as the first post in this thread except for the GPU memory.  
[https://github.com/psedog/Raspi-realdash](https://github.com/psedog/Raspi-realdash)

If you have any suggestions or issues, let me know. Working through this with you.

Notes:  
I wanted to have my script enable the graphics options, but haven’t figured out how to do that reliably yet. Also, Raspbian defaults to 64MB for GPU memory. It seems to be running smoothly this way.  
Edit: Occasional crash in the garage. I’ve changed the GPU memory to 128.  
Edit 2: Still an occasional crash in the garage. I don’t think it’s the video memory.

---

<div class="post-metadata">

**Author:** ![cel\_turbo](https://forum.realdash.net/user_avatar/forum.realdash.net/cel_turbo/32/9_2.png) [@cel\_turbo](https://forum.realdash.net/u/cel_turbo)\
**Post date:** [January 2, 2022, 5:35am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/33 "2022-01-02T05:35:30Z")

</div>

> [@](#):
>
> Alright. So, I figured out how to get this working on Raspbian. It’s smooth and no longer has permissions issues.  
> I’m not going to upload an image. That would get out of date quickly and I’d be redistributing software. Not my lane 🙂  
> I did create a Github. All the instructions are there. Raspi settings are the same as the first post in this thread except for the GPU memory.  
> [GitHub - psedog/Raspi-realdash: Realdash on a Raspberry Pi 3B](https://github.com/psedog/Raspi-realdash)
> 
> If you have any suggestions or issues, let me know. Working through this with you.
> 
> Notes:  
> I wanted to have my script enable the graphics options, but haven’t figured out how to do that reliably yet. Also, Raspbian defaults to 64MB for GPU memory. It seems to be running smoothly this way.  
> Edit: Occasional crash in the garage. I’ve changed the GPU memory to 128.  
> Edit 2: Still an occasional crash in the garage. I don’t think it’s the video memory.

Good work, good evolution.  
I followed your tutorial, but I was only able to add the files through the Raspberry OS itself, on windons I couldn’t access the SD card folders.  
I changed the resolution in the xsession file to 1920x720 to use ultrawide screen, it worked.  
It’s pretty fluid on RPI3, but it takes about 30 seconds to start.

Thank you very much for your contribution.

---

<div class="post-metadata">

**Author:** ![nemiro](https://forum.realdash.net/letter_avatar_proxy/v4/letter/n/d2c977/32.png) [@nemiro](https://forum.realdash.net/u/nemiro)\
**Post date:** [January 2, 2022, 3:43pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/34 "2022-01-02T15:43:11Z")

</div>

> [@](#):
>
> Alright. So, I figured out how to get this working on Raspbian. It’s smooth and no longer has permissions issues.  
> I’m not going to upload an image. That would get out of date quickly and I’d be redistributing software. Not my lane 🙂  
> I did create a Github. All the instructions are there. Raspi settings are the same as the first post in this thread except for the GPU memory.  
> [GitHub - psedog/Raspi-realdash: Realdash on a Raspberry Pi 3B](https://github.com/psedog/Raspi-realdash)
> 
> If you have any suggestions or issues, let me know. Working through this with you.
> 
> Notes:  
> I wanted to have my script enable the graphics options, but haven’t figured out how to do that reliably yet. Also, Raspbian defaults to 64MB for GPU memory. It seems to be running smoothly this way.  
> Edit: Occasional crash in the garage. I’ve changed the GPU memory to 128.  
> Edit 2: Still an occasional crash in the garage. I don’t think it’s the video memory.

Thank you for setting this up! I agree, a github is the right approach. Looking forward to everything that comes from this!  
  
  
Hopefully the RD guys can get this working without the desktop. Doing that would drastically cut boot times, and that begins to take RD from a cool thing to a viable, deployable, everyday use dashboard.

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [January 2, 2022, 4:16pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/35 "2022-01-02T16:16:37Z")

</div>

> [@](#):
>
> I followed your tutorial, but I was only able to add the files through the Raspberry OS itself, on windons I couldn’t access the SD card folders.  
> I changed the resolution in the xsession file to 1920x720 to use ultrawide screen, it worked.

Good stuff. I use Linux, so I didn’t realize you couldn’t access it through Windows.  
Since your resolution is so high, you might need to bring up your GPU memory. You’ll have to play with it to see.

> [@](#):
>
> Hopefully the RD guys can get this working without the desktop. Doing that would drastically cut boot times, and that begins to take RD from a cool thing to a viable, deployable, everyday use dashboard.

.  
Hopefully, they can, but I understand if it ends up not being worth the R&D required. Getting connections like CAN working is of higher importance IMHO. If we need faster boot times, we’ll need to upgrade to better devices, lol.

---

<div class="post-metadata">

**Author:** ![cel\_turbo](https://forum.realdash.net/user_avatar/forum.realdash.net/cel_turbo/32/9_2.png) [@cel\_turbo](https://forum.realdash.net/u/cel_turbo)\
**Post date:** [January 2, 2022, 8:16pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/36 "2022-01-02T20:16:08Z")

</div>

> [@](#):
>
> Good stuff. I use Linux, so I didn’t realize you couldn’t access it through Windows.  
> Since your resolution is so high, you might need to bring up your GPU memory. You’ll have to play with it to see.
> 
> Hopefully, they can, but I understand if it ends up not being worth the R&D required. Getting connections like CAN working is of higher importance IMHO. If we need faster boot times, we’ll need to upgrade to better devices, lol.

Ok I will test other values.  
I tested CAN network reading with USB-CAN Analyzer, it worked normally connected to USB.

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [January 3, 2022, 1:12am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/37 "2022-01-03T01:12:09Z")

</div>

> [@](#):
>
> Ok I will test other values.  
> I tested CAN network reading with USB-CAN Analyzer, it worked normally connected to USB.

I saw another post about USB working. I wouldn’t have bought the Hat version if I knew that ahead of time. Mine is Hat, so… lol.  
I can’t get my Bluetooth OBD2 adapter working for some reason. It sees it and I can add it, but then no data comes across. It works on my tablet no problem 😕  
Ultimately, I want to go CAN to the Pi, I just haven’t pulled up the carpet to get to my ECU yet.

---

<div class="post-metadata">

**Author:** ![smwoodward](https://forum.realdash.net/letter_avatar_proxy/v4/letter/s/a587f6/32.png) [@smwoodward](https://forum.realdash.net/u/smwoodward)\
**Post date:** [January 3, 2022, 3:50am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/38 "2022-01-03T03:50:25Z")

</div>

im trying to install this on a khadas vim 3 that is running the desktop version of ubuntu 18 and all of the dependencies are there, but when installing it says there are dependency problems. can anyone help out on this?

---

<div class="post-metadata">

**Author:** ![psedog](https://forum.realdash.net/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@psedog](https://forum.realdash.net/u/psedog)\
**Post date:** [January 3, 2022, 6:24am UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/39 "2022-01-03T06:24:41Z")

</div>

> [@](#):
>
> im trying to install this on a khadas vim 3 that is running the desktop version of ubuntu 18 and all of the dependencies are there, but when installing it says there are dependency problems. can anyone help out on this?

I’m pretty sure Ubuntu 18 for Arm is 64bit. For Arm, you need a 32bit OS.

---

<div class="post-metadata">

**Author:** ![smwoodward](https://forum.realdash.net/letter_avatar_proxy/v4/letter/s/a587f6/32.png) [@smwoodward](https://forum.realdash.net/u/smwoodward)\
**Post date:** [January 3, 2022, 2:25pm UTC](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098/40 "2022-01-03T14:25:50Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > im trying to install this on a khadas vim 3 that is running the desktop version of ubuntu 18 and all of the dependencies are there, but when installing it says there are dependency problems. can anyone help out on this?
> 
> I’m pretty sure Ubuntu 18 for Arm is 64bit. For Arm, you need a 32bit OS.

It does appear that the ubuntu version for the vim3 is 64 bit.

[Previous page](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098.md?page=1)

[Next page](https://forum.realdash.net/t/linux-version-info-and-install-instructions/1098.md?page=3)
