We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c1_lcdshield [2016/11/14 10:26]
john1117 [Run Console]
en:c1_lcdshield [2016/11/14 11:04] (current)
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 +===== Run Xwindow ​=====
-  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 ====+
 === 0. Create a new config file === === 0. Create a new config file ===
-Add following lines in "/​etc/​X11/​xorg.conf"​ file.+  sudo mv /​etc/​X11/​xorg.conf /​etc/​X11/​xorg.conf.old 
 +  sudo vi /​etc/​X11/​xorg.conf 
 +=== 1. And then, add following lines in "/​etc/​X11/​xorg.conf"​ file. ===
 <​code>​ <​code>​
 Section "​Device"​ Section "​Device"​
-    Identifier ​   "C1 fbdev"+    Identifier ​   "fbdev"
     Driver ​       "​fbdev"​     Driver ​       "​fbdev"​
     Option ​       "​fbdev"​ "/​dev/​fb2"​     Option ​       "​fbdev"​ "/​dev/​fb2"​
Line 101: Line 88:
 </​code>​ </​code>​
  
-=== 1. Run === +=== 2. Run === 
-  sudo /​etc/​init.d/​lightdm ​start +  sudo /​etc/​init.d/​lightdm ​restart 
- +  ​sudo chvt 7 
-===== Console ===== +===== Touch Calibration ​=====
-  ​* [[C1_TFT_AUTOCONSOLE | Auto start console mode]] +
-===== X Windows ​===== +
-  * [[C1_TFT_AUTOX | Auto start the X]]+
   * [[C1_TFT_TOUCH | How to enable & calibrate your touchscreen]]   * [[C1_TFT_TOUCH | How to enable & calibrate your touchscreen]]
 +===== Auto Run =====
 +  * [[C1_TFT_AUTOCONSOLE | Automatically start console mode]]
 +  * [[C1_TFT_AUTOX | Automatically start desktop GUI mode]]
  
  
en/c1_lcdshield.1479088608.txt.gz · Last modified: 2016/11/14 10:26 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0