无法启动 Kodi - 未找到显示 + 几个简单的问题

无法启动 Kodi - 未找到显示 + 几个简单的问题

我通过 apt-get 在 Bananian Pro 上安装了 Kodi,这是 Debian 的一个变种。我无法启动它。正如标题所述,错误日志文件中显示: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 #############

另外,我有几个问题困扰着我,但我在互联网上找不到答案。也许我不知道该怎么表达,因为这似乎是一些非常简单的东西。
这个 bananian 发行版没有附带任何 gui。启动时,只有普通的 shell。我应该能够运行没有 gui 的全屏应用程序吗?(我在尝试启动 kodi 之前安装了 xfce,只是因为我不知道它是如何工作的,所以才问的)如果我想要,如何强制系统启动 xfce?我也安装了 xorg,但情况相同,不太确定我为什么需要它以及这个工具的确切作用是什么。

答案1

你确实需要一个 GUI,这样你才能看到 Kodi 界面。使用 Xfce 就可以了。听起来你在弄清楚如何运行 Xfce 时遇到了问题。我发现关于在 Debian 中使用 Xfce 的文章。下面是有关运行 Xfce 的部分,但如果您查看文章,它将介绍安装过程以及有关 Xfce 的信息。从根本上讲,它是一个桌面环境。

使用显示管理器

为了妊娠期糖尿病凯迪拉克光子发射选择 xfce4-session。

为了苗条的/etc/slim.conf 中的启动会话:

login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %session

您还可以安装西迪姆登录并启动 Xfce。

从控制台

如果您不使用登录管理器而是从控制台启动 Xfce,那么您需要注意一些事情才能获得具有完全权限的完整 Xfce 会话(挂起/关闭/休眠等)。这是因为 Debian 现在使用?PolicyKit/ConsoleKit 来管理设备和电源管理等方面的策略。

  • 仅使用startx,不带任何参数
  • 不要使用.xinitrc,在文件~/.xsession中添加:

    exec ck-启动会话 startxfce4

这是因为 ?ConsoleKit 附带了一个初始化脚本 (/etc/X11/Xsession.d/90consolekit),但只有当您不使用任何 .xinitrc 时才会执行 /etc/X11/Xsession.d/ 脚本。有关更多信息,请参阅 startx (1)。

然后您需要微调您的 pam 安装,以便 ?ConsoleKit 可以确保您的用户已正确验证。为此,您需要安装 libpam-ck-connector 并将 pam_ck_connector.so 放在 /etc/pam.d/common-session 中。

session   optional  pam_loginuid.so

相关内容