User avatar
munroe7
Posts: 3
Joined: Wed Jan 27, 2016 2:27 pm

Pi going to login screen after PiTFT install

Thu Feb 04, 2016 5:06 am

Hey guys so after a long struggle I finally got my TFT 2.8 touchscreen working. The screen turns on and works from boot but it is going to a login screen now and pi and raspberry do not work. If I click ctrl+alt f1 it opens up the terminal on my HDMI monitor but will not do this on my pi. What am I doing wrong? I followed the following tutorial to get the screen to start actually working when I turn the Pi on.

Boot to X Windows on PiTFT
To enable booting straight to X windows on the PiTFT follow the steps below. First make sure a display configuration which would conflict is not present by executing in a terminal on the Pi:
Copy Code

sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
Don't worry if the command fails with an error that the file doesn't exist. This failure is normal and should happen on a good PiTFT install. You can ignore it and move on.
Next run the command below to open the nano text editor as root and create the file /usr/share/X11/xorg.conf.d/99-pitft.conf:
Copy Code

sudo nano /usr/share/X11/xorg.conf.d/99-pitft.conf
When the editor loads to a blank file, copy in the text below:
Copy Code

Section "Device"
Identifier "Adafruit PiTFT"
Driver "fbdev"
Option "fbdev" "/dev/fb1"
EndSection



Then save the file by pressing Ctrl-O and then enter, and finally exit by pressing Ctrl-X.
The step above will create a configuration file which tells X windows that it should use the PiTFT framebuffer (located at /dev/fb1) by default when it runs.
At this point you can use the raspi-config tool to enable booting to desktop just like normal on the Pi. Run the following command:

Return to “Troubleshooting”