Posts: 932
Joined: Sep 2013
Reputation:
33
Ok, I have a desktop PC running Xubuntu 18.04 and Kodi is installed. I'd like to be able to SSH into that machine, from a Raspberry Pi running Raspbian, and launch Kodi so it appears on the desktop's screen, in the same way it would if I had clicked on the icon. Any ideas on hows I would go about it?
HTPCs: 2 x Chromecast with Google TV
Audio: Pioneer VSX-819HK & S-HS 100 5.1 Speakers
Server: HP Compaq Pro 6300, 4GB RAM, 8.75TB, Bodhi Linux 5.x, NFS, MySQL
Posts: 4,498
Joined: Jan 2011
Reputation:
150
DaVu
Team-Kodi Member
Posts: 4,498
- ssh in
- enter export DISPLAY=:0
- start kodi with kodi &
(or with whatever command you start kodi with. Important is the " &" at the end of the command)
- press "ctrl+c" to bring the command line back
Now Kodi runs in background. You can check this via jobs
. To get it back to foreground (if you haven't closed the ssh session yet), type: fg
Posts: 932
Joined: Sep 2013
Reputation:
33
Awsome. That works perfectly, thanks. It was the "&" I was missing.
Now I have just got to work out how to get it to work with a voice command from Google Home.
HTPCs: 2 x Chromecast with Google TV
Audio: Pioneer VSX-819HK & S-HS 100 5.1 Speakers
Server: HP Compaq Pro 6300, 4GB RAM, 8.75TB, Bodhi Linux 5.x, NFS, MySQL