Не могу запустить Kodi - Дисплей не найден + несколько простых вопросов
Я установил kodi на свой bananian, вариант debian, на banana pro через apt-get. Я не могу запустить это жестко. Как гласит заголовок, в файле журнала ошибок говорится: ERROR: GLX Error: No Display found
, Весь файл журнала ниже. Я пытался погуглить, но не повезло.
############## Kodi CRASH LOG ###############
################ SYSTEM INFO ################
Date: Tue Apr 5 21:05:08 UTC 2016
Kodi Options:
Arch: armv7l
Kernel: Linux 3.4.108-bananian #2 SMP PREEMPT Thu Aug 13 06:08:25 UTC 2015
Release: Debian GNU/Linux 8 (jessie)
############## END SYSTEM INFO ##############
############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############
################# LOG FILE ##################
21:05:03 T:2973908992 NOTICE: special://profile/ is mapped to: special://masterprofile/
21:05:03 T:2973908992 NOTICE: -----------------------------------------------------------------------
21:05:03 T:2973908992 NOTICE: Starting Kodi from Debian (15.2 Git: (unknown)). Platform: Linux ARM (Thumb) 32-bit
21:05:03 T:2973908992 NOTICE: Using Debug Kodi from Debian x32 build
21:05:03 T:2973908992 NOTICE: Kodi from Debian compiled from 15.2+dfsg1-1~bpo8+1 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.7 (200711)
21:05:03 T:2973908992 NOTICE: Running on Debian GNU/Linux 8 (jessie), kernel: Linux ARM 32-bit version 3.4.108-bananian
21:05:03 T:2973908992 NOTICE: FFmpeg version: 2.8.1-1~bpo8+1
21:05:03 T:2973908992 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 2 cores available
21:05:03 T:2973908992 NOTICE: ARM Features: Neon disabled
21:05:03 T:2973908992 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
21:05:03 T:2973908992 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
21:05:03 T:2973908992 NOTICE: special://masterprofile/ is mapped to: /root/.kodi/userdata
21:05:03 T:2973908992 NOTICE: special://home/ is mapped to: /root/.kodi
21:05:03 T:2973908992 NOTICE: special://temp/ is mapped to: /root/.kodi/temp
21:05:03 T:2973908992 NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin
21:05:03 T:2973908992 NOTICE: Local hostname: bananapi
21:05:03 T:2973908992 NOTICE: Log File is located: /root/.kodi/temp/kodi.log
21:05:03 T:2973908992 NOTICE: -----------------------------------------------------------------------
21:05:03 T:2973908992 DEBUG: ConsoleKit.Manager: org.freedesktop.DBus.GLib.UnmappedError.GDbusErrorQuark.Code2 - GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
21:05:03 T:2973908992 DEBUG: UPower: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
21:05:03 T:2973908992 DEBUG: ConsoleKit.Manager: org.freedesktop.DBus.GLib.UnmappedError.GDbusErrorQuark.Code2 - GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
21:05:03 T:2973908992 DEBUG: DeviceKit.Power: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
21:05:03 T:2973908992 DEBUG: UPower: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
21:05:03 T:2973908992 NOTICE: load settings...
21:05:04 T:2973908992 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
21:05:04 T:2973908992 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/linux.xml
21:05:04 T:2973908992 ERROR: PulseAudio: Failed to connect context
21:05:04 T:2973908992 NOTICE: PulseAudio might not be running. Context was not created.
21:05:04 T:2906121040 NOTICE: Thread FDEventMonitor start, auto delete: false
21:05:04 T:2973908992 INFO: CAESinkALSA - Unable to open device "surround71" for playback
21:05:04 T:2973908992 INFO: CAESinkALSA - Unable to open device "surround51" for playback
21:05:04 T:2973908992 INFO: CAESinkALSA - Unable to open device "surround71" for playback
21:05:04 T:2973908992 INFO: CAESinkALSA - Unable to open device "surround40" for playback
21:05:04 T:2973908992 INFO: CAESinkALSA - Unable to open device "surround51" for playback
21:05:04 T:2973908992 INFO: CAESinkALSA - Unable to open device "surround71" for playback
21:05:04 T:2973908992 INFO: CAESinkALSA - Unable to open device "pulse" for playback
21:05:04 T:2973908992 NOTICE: Found 1 Lists of Devices
21:05:04 T:2973908992 NOTICE: Enumerated ALSA devices:
21:05:04 T:2973908992 NOTICE: Device 1
21:05:04 T:2973908992 NOTICE: m_deviceName : @
21:05:04 T:2973908992 NOTICE: m_displayName : Default (sunxi-CODEC sunxi PCM)
21:05:04 T:2973908992 NOTICE: m_displayNameExtra:
21:05:04 T:2973908992 NOTICE: m_deviceType : AE_DEVTYPE_PCM
21:05:04 T:2973908992 NOTICE: m_channels : FL,FR
21:05:04 T:2973908992 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,96000,192000
21:05:04 T:2973908992 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE
21:05:04 T:2973908992 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
21:05:04 T:2973908992 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
21:05:04 T:2973908992 NOTICE: Default DVD Player: dvdplayer
21:05:04 T:2973908992 NOTICE: Default Video Player: dvdplayer
21:05:04 T:2973908992 NOTICE: Default Audio Player: paplayer
21:05:04 T:2973908992 NOTICE: Disabled debug logging due to GUI setting. Level 0.
21:05:04 T:2973908992 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
21:05:04 T:2973908992 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
21:05:04 T:2973908992 DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
21:05:04 T:2973908992 DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
21:05:04 T:2973908992 DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/mms/udp
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtmp
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: aacp/sdp
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
21:05:04 T:2973908992 DEBUG: CPlayerSelectionRule::Initialize: creating rule: radio
21:05:04 T:2973908992 NOTICE: Loaded playercorefactory configuration
21:05:04 T:2973908992 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
21:05:04 T:2973908992 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
21:05:04 T:2973908992 INFO: creating subdirectories
21:05:04 T:2973908992 INFO: userdata folder: special://masterprofile/
21:05:04 T:2973908992 INFO: recording folder:
21:05:04 T:2973908992 INFO: screenshots folder:
21:05:04 T:2829050704 NOTICE: Thread ActiveAE start, auto delete: false
21:05:04 T:2896163664 NOTICE: Thread AESink start, auto delete: false
21:05:04 T:2896163664 INFO: CActiveAESink::OpenSink - initialize sink
21:05:04 T:2896163664 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:@
21:05:04 T:2896163664 INFO: CAESinkALSA::Initialize - Attempting to open device "@"
21:05:04 T:2896163664 INFO: CAESinkALSA::Initialize - Opened device "sysdefault"
21:05:04 T:2896163664 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
21:05:04 T:2896163664 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
21:05:04 T:2896163664 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 8192
21:05:04 T:2896163664 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
21:05:04 T:2896163664 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
21:05:04 T:2896163664 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
21:05:04 T:2896163664 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
21:05:04 T:2896163664 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: none)
21:05:04 T:2896163664 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
21:05:04 T:2896163664 DEBUG: Output Device : Default (sunxi-CODEC sunxi PCM)
21:05:04 T:2896163664 DEBUG: Sample Rate : 44100
21:05:04 T:2896163664 DEBUG: Sample Format : AE_FMT_S16NE
21:05:04 T:2896163664 DEBUG: Channel Count : 2
21:05:04 T:2896163664 DEBUG: Channel Layout: FL,FR
21:05:04 T:2896163664 DEBUG: Frames : 2048
21:05:04 T:2896163664 DEBUG: Frame Samples : 4096
21:05:04 T:2896163664 DEBUG: Frame Size : 4
21:05:04 T:2973908992 NOTICE: Running database version Addons19
21:05:04 T:2973908992 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libcpluff-arm.so)
21:05:04 T:2973908992 DEBUG: Loading: /usr/lib/arm-linux-gnueabihf/kodi/system/libcpluff-arm.so
21:05:04 T:2973908992 NOTICE: ADDONS: Using repository repository.xbmc.org
21:05:04 T:2885677904 NOTICE: Thread RemoteControl start, auto delete: false
21:05:04 T:2885677904 INFO: LIRC Process: using: /dev/lircd
21:05:04 T:2885677904 INFO: LIRC Connect: connect failed: No such file or directory
21:05:04 T:2885677904 INFO: CRemoteControl::Process - failed to connect to LIRC, will keep retrying every 5 seconds
21:05:04 T:2973908992 INFO: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Arabic QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Norwegian QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Portuguese (Portugal) QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Hebrew ABC" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Russian ЙЦУКЕН" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Russian АБВ" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian AZERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Lithuanian QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian ЙЦУКЕН" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Ukrainian АБВ" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Spanish QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Romanian QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Turkish QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Danish QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian ЯВЕРТЪ" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Bulgarian АБВ" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Swedish QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "German QWERTZ" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Hungarian QWERTZ" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Polish QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "English QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "English AZERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "English ABC" successfully loaded
21:05:04 T:2973908992 DEBUG: CKeyboardLayoutManager: keyboard layout "Greek QWERTY" successfully loaded
21:05:04 T:2973908992 DEBUG: UDisks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UDisks was not provided by any .service files
21:05:04 T:2973908992 DEBUG: DeviceKit.Disks: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.DeviceKit.Disks was not provided by any .service files
21:05:04 T:2973908992 DEBUG: Selected UDev as storage provider
21:05:04 T:2973908992 ERROR: GLX Error: No Display found
21:05:04 T:2973908992 FATAL: CApplication::Create: Unable to init windowing system
21:05:04 T:2973908992 DEBUG: PVRManager - destroyed
21:05:04 T:2885677904 DEBUG: Failed to connect to LIRC. Giving up.
############### END LOG FILE ################
############ END Kodi CRASH LOG #############
Кроме того, у меня есть пара вопросов, которые меня беспокоят, и я не могу найти ответ в Интернете. Возможно, я не знал, как это выразить, потому что это кажется очень простым делом.
Этот банановый дистрибутив не поставляется с любым графическим интерфейсом. Когда он загружается, появляется просто оболочка. Можно ли запустить полноэкранное приложение без графического интерфейса? (Я установил xfce перед тем, как пытаться запустить kodi, спрашивая только потому, что я не знаю, как именно он работает) Как заставить систему запустить xfce, если я этого хочу? Я также установил xorg, но так же и с этим, не совсем уверенный, зачем он мне нужен и какова точная роль этого инструмента.
1 ответ
Вам нужен графический интерфейс, чтобы вы могли видеть интерфейс Kodi. Использование Xfce будет работать. Похоже, у вас возникли проблемы с выяснением того, как запустить Xfce. Я нашел эту статью о Xfce с Debian. Ниже приведен раздел, посвященный запуску Xfce, но если вы просмотрите статью, она пройдет через процесс установки, а также информацию о том, что такое Xfce. В общих чертах, это среда рабочего стола.
С диспетчером отображения
Для GDM, KDM и LightDM выберите xfce4-session.
Для тонкой загрузки в /etc/slim.conf:
login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session
Вы также можете установить xdm для входа в систему при запуске Xfce.
Из консоли
Если вы не используете менеджер входа в систему, но запускаете Xfce из консоли, вам нужно позаботиться о нескольких вещах, чтобы получить полный сеанс Xfce с полным разрешением (mount, suspend/shutdown/hibernate и т. Д.). Это потому, что сейчас Debian использует PolicyKit/ConsoleKit для управления политиками, такими как управление устройствами и электропитанием.
- использовать только startx, без аргументов
не используйте.xinitrc, добавьте в файл ~ /.xsession:
exec ck-launch-session startxfce4
Это потому, что?ConsoleKit поставляет сценарий инициализации (/etc/X11/Xsession.d/90consolekit), но сценарии /etc/X11/Xsession.d/ выполняются только в том случае, если вы не используете какой-либо файл.xinitrc. Смотрите startx (1) для получения дополнительной информации.
Затем вам нужно точно настроить установку pam, чтобы ConsoleKit мог быть уверен, что ваш пользователь правильно аутентифицирован. Для этого вам нужно установить libpam-ck-connector и поставить перед pam_ck_connector.so в /etc/pam.d/common-session.
session optional pam_loginuid.so