You are not logged in.
Hello,
I just switched to plasma desktop and I have a strange issue with kodi. When I try to start it from plasma menu or directly from /usr/share/applications/kodi.desktop, it just appear the window for less than a second and immediately closes. I didn't change anything and this .desktop file worked fine until now with other DEs/WMs(cinnamon, xfce, mate, fluxbox, openbox etc). I can run it from terminal without any error but not from the .desktop launcher.
Offline
What's in your journal after such a "failed" startup attempt. Afaik the launcher the desktop files tries to use has a load of heuristics to try and determine whether it should load the x11/wayland backend.
Offline
Journalctl shows nothing except:
systemd[758]: Started Kodi - Media Center.I'm on X, not wayland. The .desktop file has those inside:
[Desktop Entry]
Version=1.0
Name=Kodi
GenericName=Media Center
GenericName[zh_CN]=媒体中心
Comment=Manage and view your media
Comment[ru]=Просмотр и управление мультимедиа
Comment[zh_CN]=管理和查看您的媒体
Exec=kodi
Icon=kodi
Terminal=false
Type=Application
Categories=AudioVideo;Video;Player;TV;
Keywords=audio;video;media;center;tv;movies;series;songs;remote;
Actions=Fullscreen;Standalone;
[Desktop Action Fullscreen]
Name=Open in fullscreen
Name[zh_CN]=全屏打开
Exec=kodi -fs
[Desktop Action Standalone]
Name=Open in standalone mode
Name[zh_CN]=在独立模式下打开
Exec=kodi --standaloneOffline
Mhm, compare environments
printenv #From the "working" shell
tr '\0' '\n' < /proc/$(pidof plasmashell)/environMaybe also check whether you get a coredump from the crashing kodi: https://wiki.archlinux.org/title/Core_d … _core_dump
Last edited by V1del (2022-02-10 16:46:33)
Offline
printenv:
SHELL=/usr/bin/zsh
allow_rgb10_configs=false
GTK_IM_MODULE=ibus
DESKTOP_SESSION=plasma
GTK_MODULES=appmenu-gtk-module:canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/archuser
LOGNAME=archuser
XDG_SESSION_TYPE=x11
XAUTHORITY=/home/archuser/.Xauthority
WINDOWPATH=1
MOTD_SHOWN=pam
HOME=/home/archuser
AUTOJUMP_ERROR_PATH=/home/archuser/.local/share/autojump/errors.log
LANG=el_GR.UTF-8
XDG_SESSION_CLASS=user
TERM=linux
USER=archuser
SUDO_EDITOR=/usr/bin/nano
AUTOJUMP_SOURCED=1
DISPLAY=:0
SHLVL=2
XDG_VTNR=1
XDG_SESSION_ID=1
XDG_RUNTIME_DIR=/run/user/1000
GTK3_MODULES=xapp-gtk3-module
XDG_DATA_DIRS=/home/archuser/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/archuser
OLDPWD=/home/archuser
LANGUAGE=el:en_US
XCURSOR_THEME=material_cursors
XCURSOR_SIZE=24
QT_AUTO_SCREEN_SCALE_FACTOR=0
KDE_FULL_SESSION=true
KDE_SESSION_VERSION=5
KDE_SESSION_UID=1000
XDG_CURRENT_DESKTOP=KDE
KDE_APPLICATIONS_AS_SCOPE=1
XDG_CONFIG_DIRS=/home/archuser/.config/kdedefaults:/etc/xdg
SYSTEMD_EXEC_PID=758
GTK_RC_FILES=/etc/gtk/gtkrc:/home/archuser/.gtkrc:/home/archuser/.config/gtkrc
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/archuser/.gtkrc-2.0:/home/archuser/.config/gtkrc-2.0
SESSION_MANAGER=local/archlinux-pc1:@/tmp/.ICE-unix/1146,unix/archlinux-pc1:/tmp/.ICE-unix/1146
KCRASH_AUTO_RESTARTED=1I just check about kodi crashlogs which created in ~/ directory everytime kodi crash, but there isn't any there.
Offline
is that printenv the same for both commands?
If we are concerned with actual crashers it's not likely kodi was the one to write it so look at the suggestion I posted as well.
Last edited by V1del (2022-02-10 17:12:05)
Offline
No, was only the second command. printenv has this output:
SHELL=/usr/bin/zsh
allow_rgb10_configs=false
GTK_IM_MODULE=ibus
DESKTOP_SESSION=plasma
GTK_MODULES=appmenu-gtk-module:canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/archuser
LOGNAME=archuser
XDG_SESSION_TYPE=x11
XAUTHORITY=/home/archuser/.Xauthority
WINDOWPATH=1
MOTD_SHOWN=pam
HOME=/home/archuser
AUTOJUMP_ERROR_PATH=/home/archuser/.local/share/autojump/errors.log
LANG=el_GR.UTF-8
XDG_SESSION_CLASS=user
TERM=xterm-kitty
USER=archuser
SUDO_EDITOR=/usr/bin/nano
AUTOJUMP_SOURCED=1
DISPLAY=:2
SHLVL=3
XDG_VTNR=1
XDG_SESSION_ID=6
XDG_RUNTIME_DIR=/run/user/1000
GTK3_MODULES=xapp-gtk3-module
XDG_DATA_DIRS=/home/archuser/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
PATH=/usr/lib/ccache/bin/:/home/useful/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/archuser
OLDPWD=/home/archuser
LANGUAGE=el:en_US
XCURSOR_THEME=material_cursors
XCURSOR_SIZE=24
QT_AUTO_SCREEN_SCALE_FACTOR=0
KDE_FULL_SESSION=true
KDE_SESSION_VERSION=5
KDE_SESSION_UID=1000
XDG_CURRENT_DESKTOP=KDE
KDE_APPLICATIONS_AS_SCOPE=1
XDG_CONFIG_DIRS=/home/archuser/.config/kdedefaults:/etc/xdg
SYSTEMD_EXEC_PID=24285
GTK_RC_FILES=/etc/gtk/gtkrc:/home/archuser/.gtkrc:/home/archuser/.config/gtkrc
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/archuser/.gtkrc-2.0:/home/archuser/.config/gtkrc-2.0
SESSION_MANAGER=local/archlinux-pc1:@/tmp/.ICE-unix/24488,unix/archlinux-pc1:/tmp/.ICE-unix/24488
DESKTOP_STARTUP_ID=archlinux-pc1;1644513630;369188;24531_TIME32725097
KITTY_WINDOW_ID=1
WINDOWID=109051919
COLORTERM=truecolor
KITTY_PID=26574
TERMINFO=/usr/lib/kitty/terminfo
KITTY_INSTALLATION_DIR=/usr/lib/kitty
ZSH=/home/archuser/.oh-my-zsh
PAGER=less
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
DIRHISTORY_SIZE=30
P9K_SSH=0
P9K_TTY=old
_P9K_TTY=/dev/pts/1
_=/usr/bin/printenvAfter I tried to run plasma settings and I had the same issue, I did a logout and re-login and now both kodi and settings started without issues.
But plasma seems to have issues and take quite long time to start, so I want to reset it to default. Do you know what directories/files need to delete in ~/ so to start fresh?
Offline
If you've "just" updated then both this problem and the long initial delay during login are normal, as your libraries will have disappeared due to the 5.23.5 -> 5,24 upgrade and the long initial delay is due to shaders/caches being recompiled, normally only the first new login after a fresh update is affected and it will eventually fix itself. So doing any other action here would be premature and not really help.
Last edited by V1del (2022-02-10 18:39:21)
Offline