DietPi for Odroid XU3/4

Moderators: odroid, mdrjr

Re: DietPi for Odroid XU3/4

Unread postby rooted » Tue Dec 20, 2016 12:20 am

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:~#
User avatar
rooted
 
Posts: 5908
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english

Re: DietPi for Odroid XU3/4

Unread postby Fourdee » Tue Dec 20, 2016 12:54 am

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
User avatar
Fourdee
 
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.

Re: DietPi for Odroid XU3/4

Unread postby Falko2000 » Sun Jan 08, 2017 5:00 am

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
Falko2000
 
Posts: 5
Joined: Tue Nov 08, 2016 9:24 pm
languages_spoken: english
ODROIDs: 1x XU4, 2x C2

Re: DietPi for Odroid XU3/4

Unread postby rooted » Sun Jan 08, 2017 5:23 am

Just add a user from command line.

Code: Select all
useradd
User avatar
rooted
 
Posts: 5908
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english

Re: DietPi for Odroid XU3/4

Unread postby Falko2000 » Sun Jan 08, 2017 5:54 am

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.
Falko2000
 
Posts: 5
Joined: Tue Nov 08, 2016 9:24 pm
languages_spoken: english
ODROIDs: 1x XU4, 2x C2

Re: DietPi for Odroid XU3/4

Unread postby Fourdee » Sun Jan 08, 2017 6:10 am

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
User avatar
Fourdee
 
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.

Re: DietPi for Odroid XU3/4

Unread postby Falko2000 » Sun Jan 08, 2017 6:19 am

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
Falko2000
 
Posts: 5
Joined: Tue Nov 08, 2016 9:24 pm
languages_spoken: english
ODROIDs: 1x XU4, 2x C2

Re: DietPi for Odroid XU3/4

Unread postby Blin » Sat Apr 08, 2017 9:37 pm

Any chance of adding other hosting panels to you software list ( ispconfig,sentora,vestacp )
Blin
 
Posts: 5
Joined: Thu Nov 10, 2016 12:29 am
languages_spoken: english
ODROIDs: XU4

Re: DietPi for Odroid XU3/4

Unread postby daozeyu » Fri Jan 26, 2018 6:30 pm

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
daozeyu
 
Posts: 8
Joined: Mon Nov 27, 2017 11:38 am
languages_spoken: english
ODROIDs: XU4, C2

Re: DietPi for Odroid XU3/4

Unread postby Fourdee » Sun Jan 28, 2018 2:46 am

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
User avatar
Fourdee
 
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.

Re: DietPi for Odroid XU3/4

Unread postby daozeyu » Tue Jan 30, 2018 11:58 am

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.
daozeyu
 
Posts: 8
Joined: Mon Nov 27, 2017 11:38 am
languages_spoken: english
ODROIDs: XU4, C2

Re: DietPi for Odroid XU3/4

Unread postby Satanic666 » Fri Feb 23, 2018 6:27 am

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?
Satanic666
 
Posts: 14
Joined: Wed Feb 14, 2018 11:28 pm
languages_spoken: english
ODROIDs: Xu4

Re: DietPi for Odroid XU3/4

Unread postby Fourdee » Fri Feb 23, 2018 7:05 am

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/issues/926#issuecomment-310918133
http://DietPi.com - Lightweight justice for your Odroid.
DietPi web hosting is powered by http://MyVirtualServer.com
User avatar
Fourdee
 
Posts: 298
Joined: Fri Apr 03, 2015 5:01 am
languages_spoken: english
ODROIDs: C1 / C2 / XU4 + Cloudshell.

Re: DietPi for Odroid XU3/4

Unread postby Satanic666 » Fri Feb 23, 2018 7:12 am

it is a kernel issue? Or do i have to tune the smb.conf?
https://www.samba.org/samba/docs/old/Sa ... speed.html
Satanic666
 
Posts: 14
Joined: Wed Feb 14, 2018 11:28 pm
languages_spoken: english
ODROIDs: Xu4

Re: DietPi for Odroid XU3/4

Unread postby meveric » Fri Feb 23, 2018 7:39 am

Fourdee wrote:We use the stable 3.x kernel by default, you can try the 4.9 kernel below:
https://github.com/Fourdee/DietPi/issues/926#issuecomment-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.
User avatar
meveric
 
Posts: 9455
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

Re: DietPi for Odroid XU3/4

Unread postby oldchap » Tue Apr 17, 2018 5:51 pm

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.
oldchap
 
Posts: 36
Joined: Mon Aug 07, 2017 3:27 pm
languages_spoken: english

Re: DietPi for Odroid XU3/4

Unread postby Hominidae » Mon May 21, 2018 6:17 pm

...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
Hominidae
 
Posts: 203
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: DietPi for Odroid XU3/4

Unread postby igorpec » Fri Jun 15, 2018 8:04 pm

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
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools
User avatar
igorpec
 
Posts: 249
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+

Re: DietPi for Odroid XU3/4

Unread postby Hominidae » Sat Jun 23, 2018 8:54 pm

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?
Hominidae
 
Posts: 203
Joined: Sun Sep 07, 2014 2:34 am
languages_spoken: english
ODROIDs: XU3, C1

Re: DietPi for Odroid XU3/4

Unread postby rooted » Sat Jun 23, 2018 11:56 pm

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
User avatar
rooted
 
Posts: 5908
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english

Re: DietPi for Odroid XU3/4

Unread postby bookiboo » Tue Jul 03, 2018 5:04 am

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
bookiboo
 
Posts: 2
Joined: Fri May 22, 2015 8:42 am
languages_spoken: english
ODROIDs: XU3 Lite

Previous

Return to Other OS

Who is online

Users browsing this forum: No registered users and 4 guests