# Running Zynthian on Seeed Studio reTerminal

**URL:** <https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230>\
**Category:** Hardware\
**Created:** [September 13, 2022, 6:29am UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230 "2022-09-13T06:29:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [September 13, 2022, 6:29am UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/1 "2022-09-13T06:29:07Z")

</div>

I got a Seeed Studio reTerminal running ZynthianOS (latest stable: 2021-09-25)

I had to ‘tweak’ the reTerminal driver install script but I managed to get all up and running (touch, the Hifiberry ADC/DAC and the LCD), but screen orientation is not ok. The reTerminal boots in portrait mode and I cannot get it to rotate, I tried a lot of options/switches in the boot config, but nothing worked for the rotation.

Rotating the console works, however, using this command:

```auto
echo 1 > /sys/class/graphics/fb0/rotate

```

If I look in the Xorg log file I see that eventually the screen used is /dev/fb0.  
Using xrandr gives me “Can’t open display”.

Any idea on how to get the screen rotated? I know my way around Linux for a bit, but I’m not an expert on this stuff…

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [September 13, 2022, 11:43am UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/2 "2022-09-13T11:43:46Z")

</div>

Hi there!

what is seeed studio exactly…?

> **[Seeed Studio Bazaar, The IoT Hardware enabler.](https://www.seeedstudio.com/)**
>
> Electronics products and services for Makers to Engineers. Fusion PCB manufacture, PCB Assembly, CNC milling services and more. Affordable and reliable. Realise your ideas with Seeed Studio.

---

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [September 13, 2022, 3:49pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/3 "2022-09-13T15:49:00Z")

</div>

Seeed Studio offers all kind of hardware… The reTerminal is a CM4-based ‘handheld’ device with integrated touchscreen. It also has a 40-pin rpi-compatible connector.

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [September 14, 2022, 5:25am UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/4 "2022-09-14T05:25:08Z")

</div>

Hi @Meirssv! Welcome to the forum. You arrive with a unique perspective - I don’t think anyone has mentioned using a reTerminal before although there have been several mentions of seeed.

To send a command to manipulate or interface with [x.org](http://x.org) xserver you must first define the DISPLAY environmental variable. This may be done by preceding the command with the variable definition, e.g.

```auto
DISPLAY=:0 xrandr

```

or you can set the variable for the console session by exporting it, e.g.

```auto
export DISPLAY=:0
xrandr

```

---

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [September 14, 2022, 1:05pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/5 "2022-09-14T13:05:54Z")

</div>

> DISPLAY=:0 xrandr

gives me

> Can’t open display :0

---

<div class="post-metadata">

**Author:** ![riban](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/riban/32/2331_2.png) [@riban](https://discourse.zynthian.org/u/riban)\
**Post date:** [September 14, 2022, 2:06pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/6 "2022-09-14T14:06:41Z")

</div>

Are you logged into the Zynthian as root when your run the command? It works for me. Sometimes you may need to export DISPLAY=0.0.

---

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [September 14, 2022, 2:56pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/7 "2022-09-14T14:56:14Z")

</div>

Ok, as root, running

> DISPLAY=:0 xrandr --output default --rotate left --reflect normal

I get

> xrandr: output default cannot use rotation “left” reflection “none”

Changing :0 to :0.0 has the same effect

---

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [September 14, 2022, 3:09pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/8 "2022-09-14T15:09:36Z")

</div>

Yes! We have success…

In a post pretty equal to my issue ([Pi 3 running Manjaro](https://stackoverflow.com/questions/66256142/cant-rotate-default-screen-on-raspberry-pi3-running-manjaro-with-x11)) I did:

> mv /etc/X11/xorg.conf.d/99-fbdev.conf /etc/X11/xorg.conf.d/99-fbdev.conf.old

After that, xrandr identified the screen as DSI-1 and I could rotate it as root with\>

> DISPLAY=:0.0 xrandr --output DSI-1 --rotate right

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [September 14, 2022, 3:17pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/9 "2022-09-14T15:17:44Z")

</div>

And after adding

> Section “Monitor”  
> Identifier “DSI-1”  
> Option “Rotate” “right”  
> EndSection

to /etc/X11/xorg.conf.d/99-calibration.conf and rebooting, the reTerminal booted into Zynthian correctly rotated!

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [September 14, 2022, 3:26pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/10 "2022-09-14T15:26:08Z")

</div>

Pictures…?

---

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [September 14, 2022, 3:33pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/11 "2022-09-14T15:33:43Z")

</div>

Setup is pretty preliminary, I used a Raspberry Pi DOUBLER to be able to both connect the HifiBerry ADC+DAC Pro and the MIDI-hat for the moment, so it’s a bit “how ya doing” 😉

I’m also using the seeed reTerminal extension [E10-1](https://www.seeedstudio.com/reTerminal-E10-1-p-5376.html) cause I’m powering it by a 12V 4A PSU with barrel connector:

 ![20220914_172746](https://discourse.zynthian.org/uploads/default/original/2X/c/c2c7a32dd7bd04864f9d9be0c7e1ada6ec0f99b4.jpeg)

---

<div class="post-metadata">

**Author:** ![jhordies](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jhordies/32/6751_2.png) [@jhordies](https://discourse.zynthian.org/u/jhordies)\
**Post date:** [November 17, 2022, 10:44am UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/12 "2022-11-17T10:44:34Z")

</div>

Hi, my reterminal is on the way and plan on using it with zynthian. Would you mind explaining what you have done to get it working? I will use the hifiberry adc dac stage.  
Thanks!

---

<div class="post-metadata">

**Author:** ![le51](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/le51/32/1706_2.png) [@le51](https://discourse.zynthian.org/u/le51)\
**Post date:** [November 17, 2022, 4:08pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/13 "2022-11-17T16:08:51Z")

</div>

I find this ReTerminal pretty cool.

---

<div class="post-metadata">

**Author:** ![Meirssv](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@Meirssv](https://discourse.zynthian.org/u/Meirssv)\
**Post date:** [November 17, 2022, 4:57pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/14 "2022-11-17T16:57:36Z")

</div>

Hi jhordies!

I will have to look up what I did, because my ‘professional’ workload has temporary increased a lot the last weeks, this ‘hobby’-project was pushed back for now. But I’m planning on getting started again in a couple of weeks when the workload decreases to normal levels again.

Tomorrow, If I find a gap I’ll look into it and give some more details.

---

<div class="post-metadata">

**Author:** ![jhordies](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jhordies/32/6751_2.png) [@jhordies](https://discourse.zynthian.org/u/jhordies)\
**Post date:** [November 17, 2022, 11:14pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/15 "2022-11-17T23:14:18Z")

</div>

That would be great thanks!  
The reterminal arrived today, can’t wait to get it running on zynthian.

---

<div class="post-metadata">

**Author:** ![jhordies](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jhordies/32/6751_2.png) [@jhordies](https://discourse.zynthian.org/u/jhordies)\
**Post date:** [November 23, 2022, 12:09pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/16 "2022-11-23T12:09:14Z")

</div>

Hi again, could you maybe just tell me from the top of your head what you did, I will figure the rest out and document it.  
Thanks!

---

<div class="post-metadata">

**Author:** ![oscaracena](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/oscaracena/32/10846_2.png) [@oscaracena](https://discourse.zynthian.org/u/oscaracena)\
**Post date:** [December 22, 2023, 9:15pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/17 "2023-12-22T21:15:59Z")

</div>

Hi,

I know that this is an old post, but I would like to share that I’m running Zynthian flawlessly in my reTerminal. It needed some minor adjustments, but nothing too complicated. If someone is still interested, I have the process fresh in my mind, and I could write some kind of a guide. Let me know!

Of course, thanks to all the people involved in this wonderful project! 🙂

---

<div class="post-metadata">

**Author:** ![jhordies](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jhordies/32/6751_2.png) [@jhordies](https://discourse.zynthian.org/u/jhordies)\
**Post date:** [December 22, 2023, 9:19pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/18 "2023-12-22T21:19:45Z")

</div>

Hi, that would be great !  
I used my re terminal for another purpose but it is available again now so it could be a nice Xmas toy to play with.  
Thank you 😊

---

<div class="post-metadata">

**Author:** ![oscaracena](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/oscaracena/32/10846_2.png) [@oscaracena](https://discourse.zynthian.org/u/oscaracena)\
**Post date:** [December 22, 2023, 9:59pm UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/19 "2023-12-22T21:59:46Z")

</div>

Good! Let me work on it and send you an update here.  
😉

---

<div class="post-metadata">

**Author:** ![tunagenes](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/tunagenes/32/7279_2.png) [@tunagenes](https://discourse.zynthian.org/u/tunagenes)\
**Post date:** [December 23, 2023, 12:11am UTC](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230/20 "2023-12-23T00:11:42Z")

</div>

Great - I’m very interested in this also, because reTerminal, which I wasn’t aware of till now, is CM4 based, and I want to understand what needs to change to move Zynthian to the CM4.

[Next page](https://discourse.zynthian.org/t/running-zynthian-on-seeed-studio-reterminal/7230.md?page=2)
