DietPi Does Not Boot to Desktop

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
finchamp
Posts: 8
Joined: Wed Aug 09, 2017 5:35 pm

DietPi Does Not Boot to Desktop

Post by finchamp »

Hello everybody,
I'm using an Orange Pi Plus 2E, with DietPi Orange Pi Plus image on a 16Gb SD card. I followed the directions at http://dietpi.com/phpbb/viewtopic.php?f=8&t=9#p9 , and selected to install XFCE. I set the Autostart to option '2' (Desktop with Auto-login). After installation and reboot, the device goes straight to console. I tried rebooting several times and confirming the autostart settings. What am I missing here?

Thanks!
finchamp
Posts: 8
Joined: Wed Aug 09, 2017 5:35 pm

Re: DietPi Does Not Boot to Desktop

Post by finchamp »

I should say, it does come up when I execute startx. Just doesn't autostart or give any errors.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi Does Not Boot to Desktop

Post by Fourdee »

Hi,

Might be the same issue as https://github.com/Fourdee/DietPi/issues/1109?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
finchamp
Posts: 8
Joined: Wed Aug 09, 2017 5:35 pm

Re: DietPi Does Not Boot to Desktop

Post by finchamp »

That sounds like it. What's the best way for me to get you a pertinent log?

By the way, congrats on the new baby! And thanks for all the hard work, I'm definitely donating to the effort. I've been around the block on Pi OSs, and this is the most direct/flexible option out there. By a long shot, in my opinion.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi Does Not Boot to Desktop

Post by Fourdee »

finchamp wrote:That sounds like it. What's the best way for me to get you a pertinent log?

By the way, congrats on the new baby! And thanks for all the hard work, I'm definitely donating to the effort. I've been around the block on Pi OSs, and this is the most direct/flexible option out there. By a long shot, in my opinion.
Thanks.

I did get this setup for testing today, but baby wasn't having it lol. Will try and take a look at this tomorrow :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
finchamp
Posts: 8
Joined: Wed Aug 09, 2017 5:35 pm

Re: DietPi Does Not Boot to Desktop

Post by finchamp »

Looks like I can confirm that the issue exists across environments. LXDE, MATE, and XFCE exhibit exactly the same behavior on clean installs. Other installed software does not seem to have any impact.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi Does Not Boot to Desktop

Post by Fourdee »

finchamp wrote:Looks like I can confirm that the issue exists across environments. LXDE, MATE, and XFCE exhibit exactly the same behavior on clean installs. Other installed software does not seem to have any impact.
Hi,

Fixed in the next update v155. Can be patched now with the following:
https://github.com/Fourdee/DietPi/issue ... -323332006
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
finchamp
Posts: 8
Joined: Wed Aug 09, 2017 5:35 pm

Re: DietPi Does Not Boot to Desktop

Post by finchamp »

Moist excellent! Working here as well on XCFE. Thou art the man!
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: DietPi Does Not Boot to Desktop

Post by WarHawk »

could the command

Code: Select all

startx
have been added to /etc/rc.local?
TamaTamaGoGo
Posts: 1
Joined: Fri May 29, 2020 4:13 pm

Re: DietPi Does Not Boot to Desktop

Post by TamaTamaGoGo »

Hello!
I have a same issue when I add my custom user. (Not root)
But I could solve that question only some step.

I will give you some tips.

Check /home/YourName/.local/share/xorg/Xorg.3.log
(EE) is Error.
I got error like "[ 4343.663] (EE) open /dev/fb0: Permission denied"
/dev/fb0's group is video, so run

Code: Select all

sudo usermod -aG video yourname
to add youuser could access /dev/fb0.
or if you could not solve

Code: Select all

sudo usermod -aG tty,sudo yourname
And re-login or reboot, the change will appear!

I hope you could solve your issue!
Post Reply