xserver and lcd

Started by e-Ra, June 05, 2014, 08:03:40 PM

Previous topic - Next topic

e-Ra

Hi everyone,

after the display change to lcd on a vanilla image (3.4.67+) the boards starts with this screen:

http://s14.directupload.net/images/140605/2hd9oy7n.jpg

If I execute startx on a remote ssh connection the display changes to:

http://s14.directupload.net/images/140605/io9duvyh.jpg

root@a20-OLinuXino:~# startx
hostname: Name or service not known
xauth: (stdin):1:  bad display name "a20-OLinuXino:1" in "add" command


X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-4-mx5 armv7l Debian
Current Operating System: Linux a20-OLinuXino 3.4.67+ #6 SMP PREEMPT Fri Nov 1 17:32:40 EET 2013 armv7l
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
Build Date: 21 October 2013  06:40:59PM
xorg-server 2:1.12.4-6+deb7u1 (Moritz Muehlenhoff <jmm@debian.org>)
Current version of pixman: 0.26.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.1.log", Time: Thu Jun  5 16:28:04 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86TslibControlProc
xf86TslibControlProc
exit
quit
q
^Cxinit: connection to X server lost

waiting for X server to shut down xf86TslibControlProc
xf86TslibControlProc
xf86TslibUninit
xf86TslibControlProc
Server terminated successfully (0). Closing log file.

xinit: unexpected signal 2
xauth: (argv):1:  bad display name "a20-OLinuXino:1" in "remove" command



But acutally slim should start automatically after reboot?

Thx

e-Ra

Ok found it in /etc/rc.local:

startx&
/etc/init.d/lightdm start

But according to apt lightdm is not installed. Changed it to /etc/init.d/slim start
In the /etc/slim.conf the default user is declared as "olimex" but the gui is running as root.

What's the problem? I don't want to run my gui as root.


root@a20-OLinuXino:~# cat /var/log/slim.log

slim: waiting for X server to begin accepting connections.
slim: open_session: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

slim: unexpected signal 1
slim: connection to X server lost.

e-Ra

No one? Can anyone report what should happen after startup according to this image?

JohnS

You're probably the only one doing that, thus the silence.

John