Linux Kodi (HDMI) doesnt return to lxde environment (black screen)
#1
Hello to everyone, i use kodi on raspbian using the pi 2 machine. i have x11vnc installed on raspbian so i can use x remotely from my windows pc (ultravnc). when i run kodi everything looks fine, i can use kodi from my hdmi display (tv/mnitor) perfectly and if i have x11vnc session open,in my pc i can see the lxde enviroment too, using both of them in the same time. but!!!! if i exit kodi, a black screen remains on my tv (hdmi) and nth happens, ti doesnt return to lxde from hdmi, but on my windows pc i can still use lxde environment perfectly (remotly). what can i do if i close kodi and blank screen remains on hdmi?

edit: it seems pressing ctrl+alt+f1 (tty1) and then ctrl+alt+f7 (gui t 1) returns back. but how can do it via a script command when i exit kodi ?

edit: the command is "chvt 7" !!! i checked it loading tty1 console environment returned back to first gui (LXDE), ill try it via script for kodi to see what happens meanwhile

edit: i cant control it via script, everything is blank until i manually press key combinations or manually too via ssh "sudo chvt 1 ; sudo chvt 7). nth with scripts
Reply
#2
Does xrefresh help?

I'd suggest:
Code:
fbset -depth 8 && fbset -depth 16 && xrefresh
Reply
#3
(2015-02-22, 19:43)popcornmix Wrote: Does xrefresh help?

I'd suggest:
Code:
fbset -depth 8 && fbset -depth 16 && xrefresh

lets try xrefresh, fbset options didnt help in the past

edit: didnt worked, both
Reply
#4
See here: http://www.raspberrypi.org/forums/viewto...1&p=703265

Quote:kodi-standalone runs in tty7 and it appears that it leaves a blank screen. To fix this, run
Code:
sudo nano /usr/bin/kodi-standalone

Delete or comment out the last three lines, so they look like this:
Code:
#VT="$(fgconsole)"
#chvt 7
#chvt "$VT"
Reply
#5
Hi everyone. May I get an update on the fix and when should the fbset be inserted?
Reply
#6
I think it is fixed in the upcoming v15 release.
Reply
#7
Sorry if this is considered necro posting but I am desperate for an answers at this point. I am having the same problem on an arch linux LXDE OS setup on my pi running kodi 16. The part about deleting or commenting out does not work because that section of code isnt in the file. This problem has never truly been address at the kodi source its always an after patch in either open elec or osmc where they have fixed it.
Reply
#8
I'm not sure on the reason, but yes, anyone using Kodi on the Pi should be using popcornmix's branch and not Kodi's master github: https://github.com/popcornmix/xbmc/tree/..._backports
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi (HDMI) doesnt return to lxde environment (black screen)0