If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Unable to achieve remote access under Linux using GDM

MrGrymReaperMrGrymReaper Posts: 31Members, Plex Pass Plex Pass
edited February 11 in Linux

My router will respond to UPNP actions for port forwarding. However the software is unable to do so under Ubuntu as the library for it isn't installed by default. So can we please have what library is used for this support in Plex Media Server in order to install the right one on Ubuntu (or other supported GNU/Linux distributions). In windows once the UPNP host service was set to start Automatically and Started then the Remote Access would work; under Linux however no such luck.

The ports for it are opened under the computers firewall with the right protocols.

Best Answer

  • MrGrymReaperMrGrymReaper Posts: 31Members, Plex Pass Plex Pass
    Accepted Answer

    I have managed to semi-manually forward the port via the upnp protocol. Though via the software mentioned above and remote access is now working.

    Well worth you checking the software out and contacting its author.

Answers

  • uglymagoouglymagoo Posts: 977Members, Plex Pass, Plex Ninja, TunerTester Plex Ninja
    edited February 11

    @MrGrymReaper said:
    My router will respond to UPNP actions for port forwarding. However the software is unable to do so under Ubuntu as the library for it isn't installed by default. So can we please have what library is used for this support in Plex Media Server in order to install the right one on Ubuntu (or other supported GNU/Linux distributions).

    The ports for it are opened under the computers firewall with the right protocols.

    It's included in the PMS package, there is no external dependency.

    So, what is your exact problem? The title is a little bit confusing mentioning the Gnome Display Manager :smile: If it's remote access just set the port forwarding manually in your router, if auto-configuration is failing for you.

    Official instructions for Plex Media Server on the Raspberry Pi 2 and 3 / Banana Pi / ODROID / many more : armhf and arm64 Debian Repository
    My PMS hardware: RPi 2, NVIDIA Shield TV, Intel Xeon

  • MrGrymReaperMrGrymReaper Posts: 31Members, Plex Pass Plex Pass
    edited February 11

    Well then something must be wrong with it. As the remote access will come to work when PMS is installed on Windows if the "UPNP Host" service is configured to start Automatically, then is started up. If the server software is restarted and the Remote Access is reset. Turning Remote Access from Enabled to Disabled and then back again.

    Are currently installed under KDE Neon which is based on Ubuntu Linux LTS (currently 16.04 LTS). Though even when installed directly on Ubuntu Linux it still won't work.

    So if I can be informed what language Plex Media Server was programmed in maybe a version from the Ubuntu official packages could be installed. It would be even better if Plex under Ubuntu could be able to use it if it's installed for its UPNP or IGD (GDM) functionality.

  • uglymagoouglymagoo Posts: 977Members, Plex Pass, Plex Ninja, TunerTester Plex Ninja
    edited February 11

    @MrGrymReaper said:
    So if I can be informed what language Plex Media Server was programmed in maybe a version from the Ubuntu official packages could be installed. It would be even better if Plex under Ubuntu could be able to use it if it's installed for its UPNP or IGD (GDM) functionality.

    The dependency is included in the PMS package, there is no external dependency. As far as I can tell, libnatpmp is used by Plex on Linux. If auto-configuration is failing for you just configure the port forwarding manually in your router.

    Official instructions for Plex Media Server on the Raspberry Pi 2 and 3 / Banana Pi / ODROID / many more : armhf and arm64 Debian Repository
    My PMS hardware: RPi 2, NVIDIA Shield TV, Intel Xeon

  • ChuckPAChuckPA Posts: 22,308Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    PMS, on Linux (Ubuntu & Fedora), with UPNP, isn't stable for everyone. It varies with UPnP implementation in the router/modem and how that interacts with PMS.

    Prime example being, My ISP UPNP implementation is trash and PMS would never connect. I installed a pfSense firewall and let it take over the PPPoE services as well. It produces 100% reliable results with the same PMS version.

    The most reliable results are obtained when setting the static IP of the host and manual port forwarding in the router/modem.

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    Hosts: Fedora, QNAP, Synology, most Linux distros in VM

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
  • MrGrymReaperMrGrymReaper Posts: 31Members, Plex Pass Plex Pass
    edited February 11

    For your information if you would like to improve the UPNP reliability. It may be worth checking out UPNP Router Control as its implementation of the protocol is pretty reliable. Also contacting Daniele Napolitano (dnax88 [at] gmail [dot] com) as he may have some insights have written that software.

  • MrGrymReaperMrGrymReaper Posts: 31Members, Plex Pass Plex Pass
    Accepted Answer

    I have managed to semi-manually forward the port via the upnp protocol. Though via the software mentioned above and remote access is now working.

    Well worth you checking the software out and contacting its author.

This discussion has been closed.