Reply To: xscreen not starting Pi 2

Home Forums Forums Technical Support for PiScreen xscreen not starting Pi 2 Reply To: xscreen not starting Pi 2

Mark Williams

Sorry for the late reply.
Are you still having issue with the new image we uploaded?

Is this what you are after?

Force X windows to Load to PiScreen Automatically on boot

To enable automatic login to X after boot, you will need to make a modification to two files.
File one;

pi@raspberrypi ~ $ sudo nano /etc/inittab

Scroll down to
1:2345:respawn:/sbin/getty 115200 tty1
and change to
#1:2345:respawn:/sbin/getty 115200 tty1
and add this line
1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1
File two;

pi@raspberrypi ~ $ sudo nano /etc/rc.local

And add the line below to the bottom of the file, just before the exit statement;

su -l pi -c "env FRAMEBUFFER=/dev/fb1 startx &"

Mark --

Blip, blop, bloop…