[WiP] PowerScheduler: Prevent standby when an RDP or VNC client is connected (1 Viewer)

regeszter

Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Hi all,

    It is created for own usage but I share it.

    How it works? The PS is checking the default RDP (3389) or VNC (5900) ports and prevent to standby if it is active. There is no any configurable option. It works by default.

    JIRA

    bye,
    regeszter
     

    Attachments

    Last edited:

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    it work for teamviewer too ?
    I do not think if the teamviewer uses 3389 or 5900 port. I can hardcode any port to check but you need to check it with netstat -a if it works.

    It is an example to RDP

    TCP [::]:3389 LISTENING
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Please test it with netstat -a before and after you connected with teamviewer and send me the result.
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Country flag
    Great idea! And now the unavoidable but: but what if someome configures his ports weirdly and uses these for other purposes...will we ever find out in the logs why PS isn't suspending the system?
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    Great idea! And now the unavoidable but: but what if someome configures his ports weirdly and uses these for other purposes...will we ever find out in the logs why PS isn't suspending the system?
    There is log regards Standby Prevented by this handler.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    bta489 [solved] System goes to Standby during Amazon Prime Playback OnlineVideos 2
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    D Media Portal wake schedule General Support 29
    horned_reaper Standby is prevented by MediaPortal client General Support 0
    J Mediaportal Standby prevented by Mediaportal system/ active ports General Support 13
    Stéphane Lenclud [solved] TV Server Service preventing sleep General Support 18
    M Problems with VFD Display after standby- Futaba DM140GINK Mini Display 0
    HTPCSourcer [fixed] [MP2-815] User not logged in when resuming from standby MediaPortal 2 17
    J Resume from Standby Last Module TV Showing TV Server Settings Television (MyTV frontend and TV-Server) 2
    H no standby at night Installation, configuration support 7
    H TV nach Standby 1.21 5
    H TV nach Standby 1.21 Pre Release 2
    A Keine Aufnahmen nach Standby Allgemeines Supportforum 12
    N MePo2 -HTPC only - Übersicht der notwendigen Standby Einstellungen Allgemeines Support- und Diskussionsforum 2
    M [solved] Standby und Fernbedienungsprobleme Allgemeines Support- und Diskussionsforum 8
    Cahliban Uhr bleibt im Standby stehen Allgemeines Supportforum 5
    BlueMax1916 Problems with MP1 client process dying when resuming from standby, probably MovingPictures related Moving Pictures 2
    BlueMax1916 Problems with MP1 client dying after resuming from standby General Support 2
    Top Bottom