# Plex HTPC doesn’t work with LIRC

**URL:** <https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626>\
**Category:** Plex Players\
**Tags:** plex-htpc, player-linux\
**Created:** [June 26, 2022, 5:07pm UTC](https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626 "2022-06-26T17:07:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kraney](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@kraney](https://forums.plex.tv/u/kraney)\
**Post date:** [June 26, 2022, 5:07pm UTC](https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626/1 "2022-06-26T17:07:49Z")

</div>

Player Version#: 1.19.1

Plex HTPC on Linux doesn’t work with LIRC remotes. The reason is because it’s running sandboxed in a snap. The sandbox doesn’t have permission to open the LIRC socket under /run/lirc/lircd. I could configure lircd to put it under /home so Plex could see it, but I don’t see a way to change the path where Plex looks for the socket.

---

<div class="post-metadata">

**Author:** ![Massaguana](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/massaguana/32/1151_2.png) [@Massaguana](https://forums.plex.tv/u/Massaguana)\
**Post date:** [June 27, 2022, 3:18pm UTC](https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626/2 "2022-06-27T15:18:21Z")

</div>

do you know FLIRC? i use an older version of this one: [Flirc USB - Flirc](https://flirc.tv/products/flirc-usb-receiver?variant=43085036355816)

---

<div class="post-metadata">

**Author:** ![gbooker02](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/gbooker02/32/9726_2.png) [@gbooker02](https://forums.plex.tv/u/gbooker02)\
**Post date:** [June 27, 2022, 6:04pm UTC](https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626/3 "2022-06-27T18:04:44Z")

</div>

This is because the snap isn’t allowed to access the LIRC socket. In my discussions with them over this I got the distinct impression that the snap developers had no earthly clue what LIRC was or how one would use it. Needless to say that this discussion went nowhere.

---

<div class="post-metadata">

**Author:** ![kraney](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@kraney](https://forums.plex.tv/u/kraney)\
**Post date:** [June 27, 2022, 10:12pm UTC](https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626/4 "2022-06-27T22:12:13Z")

</div>

I was able to work around in crappy fashion by installing with `snap install plex-htpc --devmode`

I suppose the correct solution would be to add a snap “Slot” for lirc-support or ir-remote-support, so you’d be able to have a “Plug” for that in your snap and it could be connected to get the necessary permissions. Maybe lircd itself needs to get packaged in a snap that provides that slot. Not that I’m an expert on snap, but that’s my understanding of it.

---

<div class="post-metadata">

**Author:** ![kraney](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@kraney](https://forums.plex.tv/u/kraney)\
**Post date:** [June 29, 2022, 11:42pm UTC](https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626/5 "2022-06-29T23:42:28Z")

</div>

I was able to workaround much better by ditching lirc and using ir-keytable instead.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [September 27, 2022, 11:42pm UTC](https://forums.plex.tv/t/plex-htpc-doesn-t-work-with-lirc/798626/6 "2022-09-27T23:42:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
