Unlock PC from Android I was pretty sure this question wouldve been already asked, and I tried hard to find a solution but couldnt find much.

I'm trying to lock/unlock my PC from my Android device. I dont want to use BTProximity to do this because even if I'm in another room in the house, it would be able to detect my phone and unlock the computer. I want finer control over the event that triggers the lock/unlock, instead of relying on proximity.

I would be very happy to use tasker to achieve this, although I'm unable to find any way for my PC to lock/unlock with anything tasker can do.

The solution can either be for Windows or Ubuntu, or both.
The best integrated solution with your Android phone and PC is to use Autoremote and EventGhost. The general idea is that you use AutoRemote to send a message to Eventghost which then unlocks or locks your PC. The task will look something like this:

AUTOREMOTE MESSAGE
     DEVICE: NAME OF COMPUTER OR CHROME EXTENSION  &lt;----Addressed at the end 
     MESSAGE: Unlock (Really could be anything)


Next is the EventGhost side. Eventghost doesn't always respond especially if your not on the local network but you can get around this with AutoRemote's Chrome ExtensionIf you have any trouble with AutoRemote, the developer has a great website and is very active in his google group. The direction to install the AutoRemote plug into Eventghost can be found here. Here are the steps to create the Eventghost trigger:


Create a Macro but don't worry if you can't find the AutoRemote Plugin. This is really a fancy folder
Add an event from the toolbar which will trigger the eventghost macro. It should look like this: Autoremote.Message.unlock
Next are your actions. This will unlock your work station


If you have any questions feel free to ask them in the comments and I'll do my best to quickly respond.

If my answer solves your problem please don't forget to mark it ask the answer and upvote it for it's usefulness. I'm new and trying to build my reputation here.