PiTFT Startup
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
-
- Posts: 2
- Joined: Sat Feb 15, 2014 3:47 pm
PiTFT Startup
I went through the tutorial associated with this device, I can see the console logging on the screen at startup but when the OS starts the screen stays black. I can start it with startx but it doesn't start automatically. Also the HDMI doesn't seem to output now either. Not sure if that's because of setting up to use the TFT.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: PiTFT Startup
The easiest solution is to add `startx` to your /etc/rc.local file. The system runs rc.local as a script every time it boots.
-
- Posts: 2
- Joined: Sat Feb 15, 2014 3:47 pm
Re: PiTFT Startup
Thanks Mike. I'll add the command to my startup script. Should my HDMI output still work?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: PiTFT Startup
To run X on both the PiTFT and HDMI, you need to start X sessions for both:
Code: Select all
FRAMEBUFFER=/dev/fb1 startx # start X on the PiTFT
FRAMEBUFFER=/dev/fb0 startx # start X on HDMI
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/