Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:c1_lcdshield [2016/11/14 10:30] john1117 [Auto Run] |
en:c1_lcdshield [2016/11/14 10:52] john1117 [Run Xwindow] |
||
---|---|---|---|
Line 73: | Line 73: | ||
The command chvt N makes /dev/ttyN the foreground terminal. | The command chvt N makes /dev/ttyN the foreground terminal. | ||
sudo chvt 1 | sudo chvt 1 | ||
- | + | chvt 1 : console\\ | |
- | === 3. Auto login on console === | + | chvt 7 : X11 |
- | Edit tty1 service | + | |
- | sudo systemctl edit getty@tty1 | + | |
- | And add | + | |
- | [Service] | + | |
- | ExecStart= | + | |
- | ExecStart=-/sbin/agetty -a odroid --noclear %I $TERM | + | |
- | + | ||
- | + | ||
- | odroid@odroid:~$ sudo systemctl cat getty@tty1 | grep Exec | + | |
- | ExecStart=-/sbin/agetty --noclear %I $TERM | + | |
- | ExecStart= | + | |
- | ExecStart=-/sbin/agetty -a odroid --noclear %I $TERM | + | |
- | Restart tty1 service | + | |
- | sudo systemctl restart getty@tty1 | + | |
===== Run Xwindow ===== | ===== Run Xwindow ===== | ||
=== 0. Create a new config file === | === 0. Create a new config file === | ||
Line 102: | Line 87: | ||
=== 1. Run === | === 1. Run === | ||
- | sudo /etc/init.d/lightdm start | + | sudo /etc/init.d/lightdm restart |
+ | sudo chvt 7 | ||
===== Touch Calibration ===== | ===== Touch Calibration ===== |