Official Raspbian images based on Debian Stretch by default has the Pixel desktop environment and will login new users to it. But if you have had a Raspbian installation with another DE (such as LXDE), here are the steps to install and login to the Pixel desktop.
apt-get install raspberrypi-ui-mods sed -i 's/^autologin-user=pi/#autologin-user=pi/' /etc/lightdm/lightdm.conf update-alternatives --set x-session-manager /usr/bin/startlxde-pi sed -i 's/^Session=.*/Session=lightdm-xsession/' ${USER}/.dmrc
Make sure the user’s ‘.dmrc
’ file is updated with the new startlxde-pi session as that is where lightdm login manager looks to decide which desktop should be launched.
3 responses to “Switching Raspbian to Pixel desktop”
[…] Switching Raspbian to Pixel desktop […]
Everything is very open with a clear explanation of the issues.
It was definitely informative. Your site is useful.
Thanks for sharing!
Hi.
I want to ttell you that I’m using our site for a loong time and you write
very good info. I shared your latest article on twitter and got a lot of positive feedbacks.
Waiting for your next article