question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LXDE isn't installed in the last version of raspbian stretch

See original GitHub issue

As explained in this answer (https://raspberrypi.stackexchange.com/a/91371), the new version of raspbian 2018-11-13-raspbian-stretch.img doesn’t contain LXDE. This implies that the autostart file doesn’t exist anymore (or at least not in ~/.config/lxsession/ since it doesn’t exist), and so we can not modify the orientation of the screen, hide the mouse pointer, or disabling the screensaver.

Now, for the first point (orientation of the screen), the solution I found was to put this line in /etc/lightdm/lightdm.conf:

[SeatDefaults]
display-setup-script=xrandr --output HDMI-1 --rotate [left or right]

Do you have any ideas on how to solve the other issues?

Platform: Raspberry Pi 3. (but potentially affects all Raspberry Pi)

Node Version: v10

MagicMirror Version: v2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
TheStighcommented, Jan 16, 2019

@ishepard You’ll find it here : /etc/xdg/lxsession/LXDE-pi/

I can confirm this behavior changed after Stretch release of Nov 2018 for the RPi, I currently dont know if ATB has the same issue with their images.

@MichMich Perhaps update Readme/installscript?

1reaction
ishepardcommented, Dec 29, 2018

So, I solved the problem of not having the autostart file by adding these lines in /etc/lightdm/lightdm.conf:

[SeatDefaults]
display-setup-script=xrandr --output HDMI-1 --rotate right
xserver-command=X -s 0 -dpms

The first one is for rotating the screen on the right, the second one is for deleting the black screen. So no need for the autostart file anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

newest Raspbian Stretch LXDE not installed - how ot autostart ...
Hello fellow Raspberrypi forum users! ... Newest raspbian stretch has no LXDE, so I cannot now (atleast, I cannot find the path) add...
Read more >
Why isn't lxterminal installed when installing lxde-core?
Code: Select all root@debian:/# cat /etc/os-release |grep ^PRETTY_NAME PRETTY_NAME="Debian GNU/Linux 9 (stretch)" root@debian:/# aptitude ...
Read more >
Upgrade Raspberry Pi OS Lite to Desktop (PIXEL, KDE, …)
Install a new theme: For most desktop environments, the default appearance is not optimal and you get a light system with an ugly...
Read more >
How to upgrade Debian 9 to Debian 10 Buster using the CLI
This page shows how to update Debian 9 Stretch to Debian 10 Buster ... nixCraft are not responsible for data loss and failed...
Read more >
How to Install Raspbian Buster on the Raspberry Pi 4
Whereas the Raspberry Pi 3 B+ remained compatible with Debian Stretch distributions (distros) such as Raspbian Stretch, the new version ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found