No Local Login After Touch Display Installation

Raspberry Pi related support

No Local Login After Touch Display Installation

Postby fr34rr » 12 Mar 2017, 23:23

Hey guys,

after this installation file for an external touch display the local user are not automaticly login to the runeaudio gui. What can i do to fix that?

http://www.waveshare.com/wiki/5inch_HDMI_LCD
http://www.waveshare.com/w/upload/4/4b/LCD-show-161112.tar.gz

Code: Select all
i=1
for lines in `cat ./boot/mark`
do
  case ${i} in
  1) var1=${lines};;
  esac
  i=`expr ${i} + 1`
done
#echo "$var1"

if test "$var1" = "0";then
sudo mkdir /etc/X11/xorg.conf.d
echo "1" > ./boot/mark
fi


if test "$1" = "0" -o "$#" = "0"; then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5  /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt /boot/config.txt
echo "LCD configrue 0"
elif test "$1" = "90"; then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-90  /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt-90 /boot/config.txt
echo "LCD configrue 90"
elif test "$1" = "180";then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-180  /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt-180 /boot/config.txt
echo "LCD configrue 180"
elif test "$1" = "270";then
sudo cp -rf ./etc/X11/xorg.conf.d/99-calibration.conf-5-270  /etc/X11/xorg.conf.d/99-calibration.conf
sudo cp ./boot/config-5.txt-270 /boot/config.txt
echo "LCD configrue 270"
fi



sudo cp ./cmdline.txt /boot/
sudo cp ./inittab /etc/
sudo cp -rf ./usr/share/X11/xorg.conf.d/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf

if test "$#" = "0" -o "$1" = "0" -o "$1" = "90"  -o "$1" = "180" -o "$1" = "270"; then
sudo reboot
echo "reboot now"
else
echo "Invalid parameter,Usage:LCD5-show [0] [90] [180] [270]"
fi
fr34rr
 
Posts: 4
Joined: 12 Mar 2017, 23:17

Re: No Local Login After Touch Display Installation

Postby fr34rr » 22 Apr 2017, 20:40

How works the local AutoLogin after the systemstart?
Where is the Runeaudio start located?
fr34rr
 
Posts: 4
Joined: 12 Mar 2017, 23:17

Re: No Local Login After Touch Display Installation

Postby hondagx35 » 22 Apr 2017, 21:52

Hi fr34rr,

How works the local AutoLogin after the systemstart?

There is no need for a auto login.
On the newer images (Raspberry Pi2/3 images) the local browser gets started from rune_SY_wrk if enabled.
The local browser gets started on the first framebuffer available.

If your display works (shows login prompt) you only have to map this console to fb0.
Try to add "fbcon=map:10" to the end of your cmdline.txt.

Code: Select all
root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3 elevator=noop ipv6.disable=1 logo.nologo quiet loglevel=3 rd.systemd.show_status=false rd.udev.log-priority=3


Code: Select all
root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3 elevator=noop ipv6.disable=1 logo.nologo quiet loglevel=3 rd.systemd.show_status=false rd.udev.log-priority=3 fbcon=map:10


Also check:
getting-tontec-3-5-screen-to-work-on-rpi3-t3325.html#p12555
raspberry-3-runeaudio-and-tft-2-2-hat-install-t3496.html#p15512
raspberry-pi-with-3-2-tft-screen-t4385.html

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: No Local Login After Touch Display Installation

Postby fr34rr » 23 Apr 2017, 19:20

Thanks Frank,

when i run startx then came:

Code: Select all
xauth:  error in locking authority file /root/.Xauthority
xauth:  error in locking authority file /root/.Xauthority
xauth:  error in locking authority file /root/.Xauthority
xauth:  error in locking authority file /root/.Xauthority


X.Org X Server 1.18.1
Release Date: 2016-02-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.10.82-8-ARCH armv7l
Current Operating System: Linux runeaudio 4.1.20-1-ARCH #1 SMP Sat Mar 19 20:07:23 MDT 2016 armv7l
Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2709.boardrev=0xa02082 bcm2709.serial=0x28d96d92 smsc95xx.macaddr=B8:27:EB:D9:6D:92 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo
Build Date: 12 February 2016  02:01:40AM
 
Current version of pixman: 0.34.0
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 22 15:52:27 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth:  error in locking authority file /root/.Xauthority
fr34rr
 
Posts: 4
Joined: 12 Mar 2017, 23:17

Re: No Local Login After Touch Display Installation

Postby hondagx35 » 24 Apr 2017, 08:26

Hi fr34rr,

xauth: error in locking authority file /root/.Xauthority

Delete the file "/root/.Xauthority" and try again.

Also check journal for any errors.
Code: Select all
journalctl


After booting your device you get the login on the display?

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: No Local Login After Touch Display Installation

Postby fr34rr » 26 Apr 2017, 20:43

Hi Frank,

i can not delete the file :(
Code: Select all
rm: cannot remove '/root/.Xauthority': Read-only file system


The log will ich check tomorrow. Thanks
fr34rr
 
Posts: 4
Joined: 12 Mar 2017, 23:17

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 12 guests