steps: install and set password
- sudo apt-get install x11vnc
- x11vnc -storepasswd
create autostart entry
- cd .config
- mkdir autostart
- cd autostart
' Hack to workaround the Powershell Console popup running on a Windows Scheduled Task | |
' Powershell limitations: https://github.com/PowerShell/PowerShell/issues/3028 | |
' | |
' Add this file in the same git root directory as the sync.ps1 | |
' | |
Dim shell,command | |
Dim oFSO : Set oFSO = CreateObject("Scripting.FileSystemObject") | |
Dim sScriptDir : sScriptDir = oFSO.GetParentFolderName(WScript.ScriptFullName) | |
command = "powershell.exe -nologo -File " & sScriptDir & "\sync.ps1" |
steps: install and set password
create autostart entry