We're no longer updating This wiki!!

Automatically start desktop GUI mode

Start the X window on the LCD automatically after booting.

1. Module settings

Add following line in “/etc/modprobe.d/lcd32.conf” file.

options fbtft_device name=odroid32 rotate=90 busnum=1 gpios=reset:21,dc:22 speed=32000000 cs=0

Add following lines in “/etc/modules”file.

spi_s3c64xx
fbtft_device

Edit “/etc/modprobe.d/blacklist-odroid.comf” file. (Only Ubuntu 16.04 or higher is required)
Comment the spi lines out.

...
...
#blacklist spidev
#blasklist spi_s3c64xx
...
...

2. Xorg Configuration

Create a new config file.

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sudo vi /etc/X11/xorg.conf

And then, add following lines.

Section "Device"
    Identifier    "XU4 fbdev"
    Driver        "fbdev"
    Option        "fbdev" "/dev/fb0"
EndSection

3. 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:~$ 

If you want auto login on Ubuntu 16.04
Edit /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf file like this.

[SeatDefaults]
greeter-session=lightdm-gtk-greeter
autologin-user=odroid
en/spi_lcdshiled/autox.txt · Last modified: 2016/12/21 17:00 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0