DietPi for Odroid XU3/4

User avatar
rooted
Posts: 10370
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 801 times
Been thanked: 657 times
Contact:

Re: DietPi for Odroid XU3/4

Post by rooted »

Fourdee wrote:
rooted wrote:Test 5 is a no go, no output on the screen.


The setterm command did remove the cursor (while running test 3). Back to test 3 and all is well.
Thanks Rooted, finally getting somewhere lol :D

If you can also please run these tests i'd be extremely grateful:
I have no problem helping you until we get the issue resolved ;)

Test 6 - Works perfectly.

Code: Select all

root@DietPi:~# cat << _EOF_ > /etc/systemd/system/dietpi-cloudshell.service
> [Unit]
> Description=dietpi-cloudshell on main screen
>
> [Service]
> Type=forking
> StandardOutput=tty
> TTYPath=/dev/tty1
>
> ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off
>
> ExecStart=/bin/bash -c '/DietPi/dietpi/dietpi-cloudshell 1 &'
>
> ExecStop=/usr/bin/setterm --reset
> ExecStop=/bin/bash -c '/DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day!'
>
> [Install]
> WantedBy=multi-user.target
> _EOF_
root@DietPi:~# systemctl daemon-reload
root@DietPi:~#
root@DietPi:~# #Grab updated cloudshell
root@DietPi:~# wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
--2016-12-19 09:08:55--  https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48981 (48K) [text/plain]
Saving to: ‘/DietPi/dietpi/dietpi-cloudshell’

/DietPi/dietpi/diet 100%[==================>]  47.83K  --.-KB/s   in 0.08s

2016-12-19 09:08:55 (588 KB/s) - ‘/DietPi/dietpi/dietpi-cloudshell’ saved [48981/48981]

root@DietPi:~#
root@DietPi:~# systemctl stop dietpi-cloudshell
root@DietPi:~# systemctl start dietpi-cloudshell
root@DietPi:~# systemctl status dietpi-cloudshell -l
● dietpi-cloudshell.service - dietpi-cloudshell on main screen
   Loaded: loaded (/etc/systemd/system/dietpi-cloudshell.service; enabled)
   Active: active (running) since Mon 2016-12-19 09:08:55 CST; 1s ago
  Process: 7931 ExecStop=/bin/bash -c /DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day! (code=exited, status=0/SUCCESS)
  Process: 7929 ExecStop=/usr/bin/setterm --reset (code=exited, status=0/SUCCESS)
  Process: 7943 ExecStart=/bin/bash -c /DietPi/dietpi/dietpi-cloudshell 1 & (code=exited, status=0/SUCCESS)
  Process: 7940 ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off (code=exited, status=0/SUCCESS)
 Main PID: 7944 (dietpi-cloudshe)
   CGroup: /system.slice/dietpi-cloudshell.service
           ├─7944 /bin/bash /DietPi/dietpi/dietpi-cloudshell 1
           └─8022 sleep 0.2

Dec 19 09:08:55 DietPi systemd[1]: Started dietpi-cloudshell on main screen.
root@DietPi:~#
Test 7 - Works perfectly

Code: Select all

root@DietPi:~# cat << _EOF_ > /etc/systemd/system/dietpi-cloudshell.service
> [Unit]
> Description=dietpi-cloudshell on main screen
>
> [Service]
> Type=forking
> StandardOutput=tty
>
> ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off
>
> ExecStart=/bin/bash -c '/DietPi/dietpi/dietpi-cloudshell 1 &> /dev/tty1 &'
>
> ExecStop=/usr/bin/setterm --reset
> ExecStop=/bin/bash -c '/DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day!'
>
> [Install]
> WantedBy=multi-user.target
> _EOF_
root@DietPi:~# systemctl daemon-reload
root@DietPi:~#
root@DietPi:~# #Grab updated cloudshell
root@DietPi:~# wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
--2016-12-19 09:12:32--  https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48981 (48K) [text/plain]
Saving to: ‘/DietPi/dietpi/dietpi-cloudshell’

/DietPi/dietpi/diet 100%[==================>]  47.83K  --.-KB/s   in 0.08s

2016-12-19 09:12:33 (584 KB/s) - ‘/DietPi/dietpi/dietpi-cloudshell’ saved [48981/48981]

root@DietPi:~#
root@DietPi:~# systemctl stop dietpi-cloudshell
root@DietPi:~# systemctl start dietpi-cloudshell
root@DietPi:~# systemctl status dietpi-cloudshell -l
● dietpi-cloudshell.service - dietpi-cloudshell on main screen
   Loaded: loaded (/etc/systemd/system/dietpi-cloudshell.service; enabled)
   Active: active (running) since Mon 2016-12-19 09:12:33 CST; 2s ago
  Process: 9691 ExecStop=/bin/bash -c /DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day! (code=exited, status=0/SUCCESS)
  Process: 9689 ExecStop=/usr/bin/setterm --reset (code=exited, status=0/SUCCESS)
  Process: 9700 ExecStart=/bin/bash -c /DietPi/dietpi/dietpi-cloudshell 1 &> /dev/tty1 & (code=exited, status=0/SUCCESS)
  Process: 9697 ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off (code=exited, status=0/SUCCESS)
 Main PID: 9701 (dietpi-cloudshe)
   CGroup: /system.slice/dietpi-cloudshell.service
           ├─9701 /bin/bash /DietPi/dietpi/dietpi-cloudshell 1
           └─9786 sleep 0.2

Dec 19 09:12:33 DietPi systemd[1]: Started dietpi-cloudshell on main screen.
root@DietPi:~#
Test 8 - doesn't work.

Code: Select all

 
root@DietPi:~# cat << _EOF_ > /etc/systemd/system/dietpi-cloudshell.service
> [Unit]
> Description=dietpi-cloudshell on main screen
>
> [Service]
> Type=simple
> StandardOutput=tty
>
> ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off
>
> ExecStart=/bin/bash -c '/DietPi/dietpi/dietpi-cloudshell 1'
>
> ExecStop=/usr/bin/setterm --reset
> ExecStop=/bin/bash -c '/DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day!'
>
> [Install]
> WantedBy=multi-user.target
> _EOF_
root@DietPi:~# systemctl daemon-reload
root@DietPi:~#
root@DietPi:~# #Grab updated cloudshell
root@DietPi:~# wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
--2016-12-19 09:15:36--  https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48981 (48K) [text/plain]
Saving to: ‘/DietPi/dietpi/dietpi-cloudshell’

/DietPi/dietpi/diet 100%[==================>]  47.83K  --.-KB/s   in 0.09s

2016-12-19 09:15:37 (561 KB/s) - ‘/DietPi/dietpi/dietpi-cloudshell’ saved [48981/48981]

root@DietPi:~#
root@DietPi:~# systemctl stop dietpi-cloudshell
root@DietPi:~# systemctl start dietpi-cloudshell
root@DietPi:~# systemctl status dietpi-cloudshell -l
● dietpi-cloudshell.service - dietpi-cloudshell on main screen
   Loaded: loaded (/etc/systemd/system/dietpi-cloudshell.service; enabled)
   Active: active (running) since Mon 2016-12-19 09:15:37 CST; 3s ago
  Process: 11316 ExecStop=/bin/bash -c /DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day! (code=exited, status=0/SUCCESS)
  Process: 11314 ExecStop=/usr/bin/setterm --reset (code=exited, status=0/SUCCESS)
  Process: 11321 ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off (code=exited, status=0/SUCCESS)
 Main PID: 11324 (dietpi-cloudshe)
   CGroup: /system.slice/dietpi-cloudshell.service
           ├─11324 /bin/bash /DietPi/dietpi/dietpi-cloudshell 1
           └─11410 sleep 0.2

Dec 19 09:15:37 DietPi systemd[1]: Started dietpi-cloudshell on main screen.
root@DietPi:~#


Test 9 - Works perfectly

Code: Select all

 
root@DietPi:~# cat << _EOF_ > /etc/systemd/system/dietpi-cloudshell.service
> [Unit]
> Description=dietpi-cloudshell on main screen
>
> [Service]
> Type=simple
> StandardOutput=tty
>
> ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off
>
> ExecStart=/bin/bash -c '/DietPi/dietpi/dietpi-cloudshell 1 &> /dev/tty1'
>
> ExecStop=/usr/bin/setterm --reset
> ExecStop=/bin/bash -c '/DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day!'
>
> [Install]
> WantedBy=multi-user.target
> _EOF_
root@DietPi:~# systemctl daemon-reload
root@DietPi:~#
root@DietPi:~# #Grab updated cloudshell
root@DietPi:~# wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
--2016-12-19 09:17:24--  https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48981 (48K) [text/plain]
Saving to: ‘/DietPi/dietpi/dietpi-cloudshell’

/DietPi/dietpi/diet 100%[==================>]  47.83K  --.-KB/s   in 0.07s

2016-12-19 09:17:29 (725 KB/s) - ‘/DietPi/dietpi/dietpi-cloudshell’ saved [48981/48981]

root@DietPi:~#
root@DietPi:~# systemctl stop dietpi-cloudshell
root@DietPi:~# systemctl start dietpi-cloudshell
root@DietPi:~# systemctl status dietpi-cloudshell -l
● dietpi-cloudshell.service - dietpi-cloudshell on main screen
   Loaded: loaded (/etc/systemd/system/dietpi-cloudshell.service; enabled)
   Active: active (running) since Mon 2016-12-19 09:17:29 CST; 2s ago
  Process: 12415 ExecStop=/bin/bash -c /DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day! (code=exited, status=0/SUCCESS)
  Process: 12413 ExecStop=/usr/bin/setterm --reset (code=exited, status=0/SUCCESS)
  Process: 12420 ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off (code=exited, status=0/SUCCESS)
 Main PID: 12423 (bash)
   CGroup: /system.slice/dietpi-cloudshell.service
           ├─12423 /bin/bash -c /DietPi/dietpi/dietpi-cloudshell 1 &> /dev/tty1
           ├─12424 /bin/bash /DietPi/dietpi/dietpi-cloudshell 1
           └─12509 sleep 0.2

Dec 19 09:17:29 DietPi systemd[1]: Started dietpi-cloudshell on main screen.
root@DietPi:~#
Test 10 - Works perfectly

Code: Select all

root@DietPi:~# cat << _EOF_ > /etc/systemd/system/dietpi-cloudshell.service
> [Unit]
> Description=dietpi-cloudshell on main screen
>
> [Service]
> Type=simple
> StandardOutput=tty
> TTYPath=/dev/tty1
>
> ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off
>
> ExecStart=/bin/bash -c '/DietPi/dietpi/dietpi-cloudshell 1'
>
> ExecStop=/usr/bin/setterm --reset
> ExecStop=/bin/bash -c '/DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day!'
>
> [Install]
> WantedBy=multi-user.target
> _EOF_
root@DietPi:~# systemctl daemon-reload
root@DietPi:~#
root@DietPi:~# #Grab updated cloudshell
root@DietPi:~# wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
--2016-12-19 09:19:01--  https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48981 (48K) [text/plain]
Saving to: ‘/DietPi/dietpi/dietpi-cloudshell’

/DietPi/dietpi/diet 100%[==================>]  47.83K  --.-KB/s   in 0.08s

2016-12-19 09:19:01 (598 KB/s) - ‘/DietPi/dietpi/dietpi-cloudshell’ saved [48981/48981]

root@DietPi:~#
root@DietPi:~# systemctl stop dietpi-cloudshell
root@DietPi:~# systemctl start dietpi-cloudshell
root@DietPi:~# systemctl status dietpi-cloudshell -l
● dietpi-cloudshell.service - dietpi-cloudshell on main screen
   Loaded: loaded (/etc/systemd/system/dietpi-cloudshell.service; enabled)
   Active: active (running) since Mon 2016-12-19 09:19:01 CST; 2s ago
  Process: 13328 ExecStop=/bin/bash -c /DietPi/dietpi/func/dietpi-notify 0 DietPi-Cloudshell terminated, have a nice day! (code=exited, status=0/SUCCESS)
  Process: 13326 ExecStop=/usr/bin/setterm --reset (code=exited, status=0/SUCCESS)
  Process: 13333 ExecStartPre=/usr/bin/setterm --term linux --blank 0 --powersave off --cursor off (code=exited, status=0/SUCCESS)
 Main PID: 13336 (dietpi-cloudshe)
   CGroup: /system.slice/dietpi-cloudshell.service
           ├─13336 /bin/bash /DietPi/dietpi/dietpi-cloudshell 1
           └─13421 sleep 0.2

Dec 19 09:19:01 DietPi systemd[1]: Started dietpi-cloudshell on main screen.
root@DietPi:~#

Fourdee
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.
Has thanked: 0
Been thanked: 8 times
Contact:

Re: DietPi for Odroid XU3/4

Post by Fourdee »

rooted wrote:Test 10 - Works perfectly
Thank you Rooted, really appreciate the time you made for these tests.

I believe Test 10 is the best solution, using simple service type and declaring TTY path. I'll get this updated in DietPi, will be fixed for next release v140.

Thanks again!
http://DietPi.com - Lightweight justice for your Odroid.
DietPi web hosting is powered by http://MyVirtualServer.com

Falko2000
Posts: 5
Joined: Tue Nov 08, 2016 9:24 pm
languages_spoken: english
ODROIDs: 1x XU4, 2x C2
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Falko2000 »

Hi guys,

thanks for that wonderful thing DietPi. I have installed it on my XU4, and it is running very smoothly.

I thought i d test the Mate dekstop, installed it and it works BUT only with the root user, i cannot switch to another user, i cannot find the "user & group" administrative options. i did install gnome-system-tools and now the "Users & Group" options are available. But if i click on it, a new screen appears, apparently to add/change users, but it is greyed out, cursor turns into a "clock" symbols and that is is.
System does not hang.

So the system logs me in as root automatically when starting the desktp, and i cannot change/switch to another user-

Can you help me on that, please ?

Many thanks,
Holger / Falko

User avatar
rooted
Posts: 10370
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 801 times
Been thanked: 657 times
Contact:

Re: DietPi for Odroid XU3/4

Post by rooted »

Just add a user from command line.

Code: Select all

useradd

Falko2000
Posts: 5
Joined: Tue Nov 08, 2016 9:24 pm
languages_spoken: english
ODROIDs: 1x XU4, 2x C2
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Falko2000 »

Hi rooted

i had added a user much earlier already, i am logging in with that user via ssh into the XU4.
So that would not solve the issue.

Fourdee
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.
Has thanked: 0
Been thanked: 8 times
Contact:

Re: DietPi for Odroid XU3/4

Post by Fourdee »

Falko2000 wrote:Hi rooted

i had added a user much earlier already, i am logging in with that user via ssh into the XU4.
So that would not solve the issue.
Hi,

DietPi does not currently support underprivileged accounts for desktop at this time. This is due to the way we autostart the desktop and automatically login the root account, without the need for additional packages and resources.

This is something we may look at implementing in the future.
http://DietPi.com - Lightweight justice for your Odroid.
DietPi web hosting is powered by http://MyVirtualServer.com

Falko2000
Posts: 5
Joined: Tue Nov 08, 2016 9:24 pm
languages_spoken: english
ODROIDs: 1x XU4, 2x C2
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Falko2000 »

Hi Fourdee,

thanks for the quick answer.
I can work with that alright.

Thanks again for your great work with DietPi.

Have a great evening and thanks again.

Kindest regards

Holger / Falko

Blin
Posts: 5
Joined: Thu Nov 10, 2016 12:29 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Blin »

Any chance of adding other hosting panels to you software list ( ispconfig,sentora,vestacp )

daozeyu
Posts: 8
Joined: Mon Nov 27, 2017 11:38 am
languages_spoken: english
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by daozeyu »

Hi Fourdee,

Great work on DietPi, I really like its lightweight Debian design and with all the tools installed within itself.

I met up with a problem. How do I make the OS create another VNCserver automatically at startup?

Currently, on startup, I have VNC server running which I can remote into port 5901, but I wish it to create another VNC server on port 5902.
Any shortcuts to it? any file which I can try edit the settings. I am manually starting VNCserver myself which I am reducing the step.

My installed VNC is tightvnc.

Thanks in advance

Fourdee
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.
Has thanked: 0
Been thanked: 8 times
Contact:

Re: DietPi for Odroid XU3/4

Post by Fourdee »

daozeyu wrote:Hi Fourdee,

Great work on DietPi, I really like its lightweight Debian design and with all the tools installed within itself.

I met up with a problem. How do I make the OS create another VNCserver automatically at startup?

Currently, on startup, I have VNC server running which I can remote into port 5901, but I wish it to create another VNC server on port 5902.
Any shortcuts to it? any file which I can try edit the settings. I am manually starting VNCserver myself which I am reducing the step.

My installed VNC is tightvnc.

Thanks in advance
Hi,

You'll need to edit our custom vncserver autostart script file:

Code: Select all

nano /usr/local/bin/vncserver
As for adding multiple screens, i'am unsure. But the above file runs during DietPi boot to autostart the vncserver.

Not shared display by default, so you'll want to edit around the following line:

Code: Select all

$BINARY_FP :$DISPLAY -geometry $WIDTH'x'$HEIGHT -depth $DEPTH
Unested, but it should just be a case of adding another line for display 2:

Code: Select all

 $BINARY_FP :2 -geometry $WIDTH'x'$HEIGHT -depth $DEPTH
Then connect via IP, EG: 192.168.0.1:1 or 192.168.0.1:2
http://DietPi.com - Lightweight justice for your Odroid.
DietPi web hosting is powered by http://MyVirtualServer.com

daozeyu
Posts: 8
Joined: Mon Nov 27, 2017 11:38 am
languages_spoken: english
ODROIDs: XU4, C2
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by daozeyu »

Fourdee wrote: Hi,

You'll need to edit our custom vncserver autostart script file:

Code: Select all

nano /usr/local/bin/vncserver
As for adding multiple screens, i'am unsure. But the above file runs during DietPi boot to autostart the vncserver.

Not shared display by default, so you'll want to edit around the following line:

Code: Select all

$BINARY_FP :$DISPLAY -geometry $WIDTH'x'$HEIGHT -depth $DEPTH
Unested, but it should just be a case of adding another line for display 2:

Code: Select all

 $BINARY_FP :2 -geometry $WIDTH'x'$HEIGHT -depth $DEPTH
Then connect via IP, EG: 192.168.0.1:1 or 192.168.0.1:2
Thanks Fourdee for your reply.

I have taken a look at

Code: Select all

nano /usr/local/bin/vncserver
but sad to say.. I am not an expert at coding. I understand it is the DietPi configurations that is opening the VNC server rather than the VNC app itself.
It would be of much help if any of your friends will be able to help.

I am at wits end to automate the creation of extra vncservers. I used the odroid for educational purposes and I need each student to remote into the Odroid for tests. at least 2-3 windows will be of much help.

Hope you can provide some guidance if possible.

Satanic666
Posts: 14
Joined: Wed Feb 14, 2018 11:28 pm
languages_spoken: english
ODROIDs: Xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Satanic666 »

Wow, nice OS! Best one! Fits for me...

BUT;)

what about SMB speed? With the same Hardware (Odroid USB HDD) i got on Ubuntu Mate 100MB/s...... now i have 6MB/s.
Did everything you told: Drive Manager -> Move DietpiData to HDD.....

What the Issue?

Fourdee
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.
Has thanked: 0
Been thanked: 8 times
Contact:

Re: DietPi for Odroid XU3/4

Post by Fourdee »

Satanic666 wrote:Wow, nice OS! Best one! Fits for me...

BUT;)

what about SMB speed? With the same Hardware (Odroid USB HDD) i got on Ubuntu Mate 100MB/s...... now i have 6MB/s.
Did everything you told: Drive Manager -> Move DietpiData to HDD.....

What the Issue?
Hi,

We use the stable 3.x kernel by default, you can try the 4.9 kernel below:
https://github.com/Fourdee/DietPi/issue ... -310918133
http://DietPi.com - Lightweight justice for your Odroid.
DietPi web hosting is powered by http://MyVirtualServer.com

Satanic666
Posts: 14
Joined: Wed Feb 14, 2018 11:28 pm
languages_spoken: english
ODROIDs: Xu4
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Satanic666 »

it is a kernel issue? Or do i have to tune the smb.conf?
https://www.samba.org/samba/docs/old/Sa ... speed.html

User avatar
meveric
Posts: 12102
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 89 times
Been thanked: 667 times
Contact:

Re: DietPi for Odroid XU3/4

Post by meveric »

Fourdee wrote:We use the stable 3.x kernel by default, you can try the 4.9 kernel below:
https://github.com/Fourdee/DietPi/issue ... -310918133
by now it's Kernel 4.14 no longer 4.9 ;)

@Satanic666
there are some performance tweaking that can be done both on the smb.conf as well as to the OS itself. They were discussed in the forums and are hopefully easy to find.
Basically some optimization, using always big cores and such.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

oldchap
Posts: 89
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english
Has thanked: 0
Been thanked: 2 times
Contact:

Re: DietPi for Odroid XU3/4

Post by oldchap »

I do not have wifi, only USB broardband.
Is there any way I can crank up Diet pi by downloading XFCE or LXDE, extracting the packages and placing everything in their correct directory and changing something in what ever 'boot' file to kick start Diet pi.
OR downloading modem manager and a terminal to boot to the terminal so as to do 'apt-get' to get a desktop.

Just as well you are on Odroid forum, could not sign up to Diet pi. Took me 2 goes to to get the first question, I answered DietPi/fusion, I was ready to give up then.
"Which command is used to configure sound cards/WiFi and other system settings in DietPi?:"
I would have loved to get that far, why dont you ask 'whats the yellow colour of the yellow desktop' to spoil the spambots.

Hominidae
Posts: 203
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Hominidae »

...really nice work...kudos to the developers and contributors.

When looking for a Debian Stretch Distro (in need for Docker, mosquitto, Blynk and more) to replace the painful Armbian/OMV Setup on my XU3 to run from emmc, I found this.
Though OMV is not supported, I tried and tested with Webmin and plain SAMBA setup...works like a charm.

One minor flaw is that webmin would not install, although being listed in the optimized software catalog.
When trying to install webmin, it fails, complaining for the misisng base perl package.
After manual installation of perl with good old "apt-get install perl", the next try for webmin install went through.

...now into installing Docker and the rest of the services I need..

Keep up the good work!

greetz,
Hominidae

igorpec
Posts: 1120
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: bash,c++,python
Has thanked: 74 times
Been thanked: 170 times
Contact:

Re: DietPi for Odroid XU3/4

Post by igorpec »

Hominidae wrote:replace the painful Armbian/OMV Setup
OMV Armbian installation is bulky and comes with a lot of junk and you really can't install anything on top of that unless you are an expert. That is certainly not an Armbian issue.

We provide cleanest possible Debian/Ubuntu here:
https://www.armbian.com/odroid-xu4

Hominidae
Posts: 203
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by Hominidae »

hmmm...OMV on the XU3/XU4 was the reason to try Armbian for the majority of non-experts here, I'd like to say.

And AFAIK emmc install is still not working on Armbian, is it?

User avatar
rooted
Posts: 10370
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 801 times
Been thanked: 657 times
Contact:

Re: DietPi for Odroid XU3/4

Post by rooted »

Hominidae wrote:hmmm...OMV on the XU3/XU4 was the reason to try Armbian for the majority of non-experts here, I'd like to say.

And AFAIK emmc install is still not working on Armbian, is it?
It is but you may have to boot from SD with eMMC attached then run a command that will update the bootloader on eMMC

bookiboo
Posts: 2
Joined: Fri May 22, 2015 8:42 am
languages_spoken: english
ODROIDs: XU3 Lite
Has thanked: 0
Been thanked: 0
Contact:

Re: DietPi for Odroid XU3/4

Post by bookiboo »

Hello all,

I am having problems starting the X server on the latest build of DietPi.

I am using an XU3 Lite.

It says: (EE) No screens found
Server terminated with an error (1). Closing log file.

The part of the file /var/log/Xorg.0.log shows: ( I'm typing this manually from the screen on my other computer)

Code: Select all

[    510.157]  (II) ARMSOC: Driver for ARM Mali compatible chipsets
[    510.157]  (WW) Falling back to old probe method for armsoc
[    510.157]  (ii) No BusID or DriverName specified - opening /dev/dri/card0
[    510.157]  (EE) ERROR: Cannot set the DRM interface version.
[    510.157]  (EE) ERROR: Cannot open a connection with the DRM - Permission denied
[    510.157]  (EE) No devices detected
[    510.157]  (EE)
Fatal server error:
[    510.157]  (EE) no screens found (EE)
Could you tell me can I how to start the X interface please?

Thanks for your help

User avatar
MichaIng
Posts: 85
Joined: Wed Apr 10, 2019 4:44 am
languages_spoken: english german
Has thanked: 18 times
Been thanked: 24 times
Contact:

Re: DietPi for Odroid XU3/4

Post by MichaIng »

Hey guys, if anyone lands here, I created new DietPi threads on all Odroids subforums: viewtopic.php?f=96&t=40389

EhsanRoid
Posts: 4
Joined: Sun May 01, 2016 6:45 pm
languages_spoken: English
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: DietPi for Odroid XU3/4

Post by EhsanRoid »

Hi Fourdee,

At first thanks for the great job about the DietPi it is really amazing, I know this post is new (ends of 2020) and the last post was in 2018 but I like impressive performance of DietPi so I still searching on any post, information about it.
Anyway, in fact I am new on DietPi and I facing some problems, one of them DietPi did not autologin in root account for display desktop, I did the login config from lightdm.conf file after selected index 16 from autostart menu the UX4 just login in user account and did not login in root account.
I tried also autologin from menu tools too BUT it dose not work for both, I do not understand why!
I am using LXDE desktop environment. I know this is old post but I hope get answer.

Kind regards
Ehsan

Danielsan
Posts: 103
Joined: Thu Dec 27, 2018 5:52 am
languages_spoken: english
ODROIDs: Odroid-XU4 | Odroid-HC4
Has thanked: 35 times
Been thanked: 6 times
Contact:

Re: DietPi for Odroid XU3/4

Post by Danielsan »

Hi guys, I would like to know if DietPi support video HW acceleration and widewine. Thanks in advance!

Danielsan
Posts: 103
Joined: Thu Dec 27, 2018 5:52 am
languages_spoken: english
ODROIDs: Odroid-XU4 | Odroid-HC4
Has thanked: 35 times
Been thanked: 6 times
Contact:

Re: DietPi for Odroid XU3/4

Post by Danielsan »

What unpleasant experience... Slow, sluggish a lot of issues... I already knew that I should avoid to even try it... Every time I try this distro that declares that can do it almost everything it happens always the contrary.

User avatar
MichaIng
Posts: 85
Joined: Wed Apr 10, 2019 4:44 am
languages_spoken: english german
Has thanked: 18 times
Been thanked: 24 times
Contact:

Re: DietPi for Odroid XU3/4

Post by MichaIng »

Hey guys, since Fourdee is not active anymore, please use the new DIetPi thread I linked above, where I am subscribed to (see I'll recognise). I'll answer your posts over there.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests