Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Témata - Libor Lacina

Stran: [1]
1
Zdravím,
ke svoji 3D tiskárně Rebel II jsme is pořídil "mini" PC [ur=http://www.pipo.com/product.php?id=186l]Pipo X8[/url] ve variantě s Intel Atom x5-Z3850 , mám tam nainstalovaný Debian 9 a Repetier-Server pro "obsluhu" tiskárny, kdy v podstatě po větších peripetiích jsem se dostal do stavu že je vše nainstalované, Debain se po startu se mi automatický přihlásí, otočí se obraz na správnou orientaci, Repetiaer-Server funguje, ale potřebuju aby mi automaticky nastartovalo dotykové UI toho Repetier-Sereveru. Mám napsané dva bash scripty pro "manuální" start, které fungují ok:

chromiumTouchUi.sh:
Kód: [Vybrat]
#!/bin/sh
matchbox-window-manager -use_cursor no&
xrandr --output DSI-1 --auto --rotate left --pos 0x0
xinput set-prop 14 --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
chromium --start-maximized --kiosk http://localhost:3344/modules/front2/www/app.html

startTouchUi.sh:
Kód: [Vybrat]
#!/bin/bash
startx ./chromiumTouchUi.sh

Ale nedaří se mi "donutit" ho aby startovaly automaticky po startu a přihlášení, zkoušel jsme to pomocí crontab -e a v poslední variantě přes systemd.service: /etc/systemd/system/startTouchUi.service
Kód: [Vybrat]
[Unit]
Description=Start Repetier Server Touch UI.
After=getty@tty1.service

[Service]
Type=simple
ExecStart=/home/rambo/startTouchUi.sh
Restart=no
StandartOutput=syslog
StandartError=syslog
SyslogIdentifier=RepetierServerTouchUi
User=rambo
Group=rambo
WorkingDirectory=/home/rambo/

[Install]
WantedBy=multi-user.target

Přikládám Xorg.0.log:
Kód: [Vybrat]
[    11.879]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[    11.879] X Protocol Version 11, Revision 0
[    11.879] Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
[    11.879] Current Operating System: Linux pipo-x8-3d-printer-server 4.16.0-0.bpo.2-amd64 #1 SMP Debian 4.16.16-2~bpo9+1 (2018-06-26) x86_64
[    11.879] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.16.0-0.bpo.2-amd64 root=UUID=54ae16aa-8c63-4595-959b-9af307686f3b ro fbcon=rotate:3 quiet
[    11.880] Build Date: 16 October 2017  08:19:45AM
[    11.880] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)
[    11.880] Current version of pixman: 0.34.0
[    11.880] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[    11.880] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    11.880] (==) Log file: "/home/rambo/.local/share/xorg/Xorg.0.log", Time: Wed Jul  4 18:53:19 2018
[    11.886] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    11.888] (==) No Layout section.  Using the first Screen section.
[    11.888] (==) No screen section available. Using defaults.
[    11.889] (**) |-->Screen "Default Screen Section" (0)
[    11.889] (**) |   |-->Monitor "<default monitor>"
[    11.890] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[    11.890] (==) Automatically adding devices
[    11.890] (==) Automatically enabling devices
[    11.890] (==) Automatically adding GPU devices
[    11.890] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    11.892] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    11.892] Entry deleted from font path.
[    11.892] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    11.892] Entry deleted from font path.
[    11.892] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    11.892] Entry deleted from font path.
[    11.892] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    11.892] Entry deleted from font path.
[    11.892] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    11.892] Entry deleted from font path.
[    11.892] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    11.892] Entry deleted from font path.
[    11.892] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[    11.892] (==) ModulePath set to "/usr/lib/xorg/modules"
[    11.892] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[    11.892] (II) Loader magic: 0x55b737037e00
[    11.892] (II) Module ABI versions:
[    11.892] X.Org ANSI C Emulation: 0.4
[    11.892] X.Org Video Driver: 23.0
[    11.892] X.Org XInput driver : 24.1
[    11.892] X.Org Server Extension : 10.0
[    11.896] (--) using VT number 2

[    11.896] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    11.900] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.911] (--) PCI:*(0:0:2:0) 8086:22b0:8086:7270 rev 54, Mem @ 0x90000000/16777216, 0x80000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    11.912] (II) LoadModule: "glx"
[    11.914] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    11.933] (II) Module glx: vendor="X.Org Foundation"
[    11.933] compiled for 1.19.2, module version = 1.0.0
[    11.933] ABI class: X.Org Server Extension, version 10.0
[    11.933] (==) Matched modesetting as autoconfigured driver 0
[    11.933] (==) Matched fbdev as autoconfigured driver 1
[    11.933] (==) Matched vesa as autoconfigured driver 2
[    11.933] (==) Assigned the driver to the xf86ConfigLayout
[    11.933] (II) LoadModule: "modesetting"
[    11.933] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    11.935] (II) Module modesetting: vendor="X.Org Foundation"
[    11.935] compiled for 1.19.2, module version = 1.19.2
[    11.935] Module class: X.Org Video Driver
[    11.935] ABI class: X.Org Video Driver, version 23.0
[    11.935] (II) LoadModule: "fbdev"
[    11.935] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    11.937] (II) Module fbdev: vendor="X.Org Foundation"
[    11.937] compiled for 1.19.0, module version = 0.4.4
[    11.937] Module class: X.Org Video Driver
[    11.937] ABI class: X.Org Video Driver, version 23.0
[    11.937] (II) LoadModule: "vesa"
[    11.937] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    11.938] (II) Module vesa: vendor="X.Org Foundation"
[    11.938] compiled for 1.19.0, module version = 2.3.4
[    11.938] Module class: X.Org Video Driver
[    11.938] ABI class: X.Org Video Driver, version 23.0
[    11.938] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    11.938] (II) FBDEV: driver for framebuffer: fbdev
[    11.939] (II) VESA: driver for VESA chipsets: vesa
[    11.939] (EE)
Fatal server error:
[    11.939] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
[    11.939] (EE)
[    11.939] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[    11.939] (EE) Please also check the log file at "/home/rambo/.local/share/xorg/Xorg.0.log" for additional information.
[    11.939] (EE)
[    11.939] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[    11.939] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[    11.939] (EE) Server terminated with error (1). Closing log file.

A pak možná ještě jedna "drbka" nevíte někdo jestli se dá obraz otočit už v GRUBu? Protože momentálně se otočí až při najíždění systému.

Díky.

Stran: [1]