Unable to startup Rhino6 remotely


I am trying to start up Rhino6 via Powershell remotely.
Below is my script:

$Username = ‘username’
$Password = ‘password’
$pass = ConvertTo-SecureString -AsPlainText $Password -Force
$Cred = New-Object System.Management.Automation.PSCredential -ArgumentList $Username,$pass
try {
Invoke-Command -ComputerName “computername” -credential $Cred -ErrorAction Stop -ScriptBlock {
Invoke-Expression -Command:“cmd.exe /c ‘C:\Program Files\Rhino 6\System\Rhino.exe’”
} catch {
Write-Host “error”

Rhino 6 crashes during the start up.
Rhino 5 start up without any issue.

When I enabled Debug Logging via regedit, there is a RhinoDotNetCrash.txt file generated.
Below is the content:

[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thank you. I’ve logged this bug:

Has this ever worked for Rhino 6? What are you trying to do?