mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
StartLinuxScreenCaster - arg fix.
This commit is contained in:
parent
0e5dfe7d0c
commit
7ce688db69
@ -168,7 +168,7 @@ namespace Remotely.Agent.Services
|
||||
|
||||
var xauthority = string.Empty;
|
||||
|
||||
var xorgLine = OSUtils.StartProcessWithResults("ps", "ps -eaf | grep [x]org");
|
||||
var xorgLine = OSUtils.StartProcessWithResults("ps", "-eaf | grep [x]org");
|
||||
var xorgSplit = xorgLine.Split(" ".ToCharArray(), StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||
var auth = xorgSplit[xorgSplit.IndexOf("auth") + 1];
|
||||
if (!string.IsNullOrWhiteSpace(auth))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user