This is an old revision of the document!
Table of Contents
Auto startx
Add following lines in "/etc/modprobe.d/lcd35.conf" file.
options fbtft_device name=flexpfb rotate=270 options flexfb chip=ili9488
Add following lines in "/etc/modules" file.
ODROID-C1/C2
aml_i2c pwm-meson pwm-ctrl fbtft_device flexfb sx865x
ODROID-XU4
fbtft_device flexfb sx865x
Create a new config file
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
Add following lines in "/etc/X11/xorg.conf" file.
Section "Device" Identifier "C fbdev" Driver "fbdev" Option "fbdev" "/dev/fb2" EndSection
Check lightdm service
sudo systemctl list-unit-files | grep lightdm
If the lightdm service is static, run following command.
sudo dpkg-reconfigure lightdm
Reboot
sudo reboot
Auto login
If you want auto login.
Edit /etc/lightdm/lightdm.conf file to enable auto-login: (password: odroid)
odroid@odroid:~$ sudo vi /etc/lightdm/lightdm.conf [sudo] password for odroid: odroid@odroid:~$ cat /etc/lightdm/lightdm.conf [SeatDefaults] autologin-user=odroid autologin-user-timeout=0 odroid@odroid:~$