1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 07:43:50 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Bryan Roe
45f5859f37 1. Added 'getEnvFromPid' to user-sessions, to read environment vars by PID
2 Updated getXInfo() in monitor-info, so it'll try to get XAUTHORITY from env vars is it can't determine it by looking at the XServer instance.
2019-03-15 12:48:30 -07:00
Bryan Roe
0048acf128 Updated to only use fs.Watch if it exists 2019-03-14 15:41:10 -07:00
Bryan Roe
6a8b7de44c 1. Updated monitor-info, so it no longer assumes DISPLAY = :0
2. Updated user-sessions to have better uid and username helpers on linux
3. Updated Clipboard dispatching
2019-03-12 22:25:56 -07:00
Bryan Roe
52ff7ba04c 1. Updated user-sessions.consoleUid() to not try to parse 'from'. It just returns the uid of any user listed in 'who'. This fixes Fedora, but should still work with all the other distros.
2. Updated, so if it can't find an Xauthority, it propagates an error, asking if the user configured DM to use X. This makes it, so on something like Fedora, it pops up a more intuitive error, that the user can fix, rather than just a generic, XOpenDisplay() error.
2019-01-30 23:17:39 -08:00
Bryan Roe
f38ec1df08 Added 'isRoot' for Windows implementation, to match Linux and MacOS 2019-01-28 15:54:31 -08:00
Bryan Roe
cf856b0d1d Added default value of ':0' if $DISPLAY is not set 2019-01-23 18:42:42 -08:00
Bryan Roe
10c72b8a05 Updated consoleUid, to look at $DISPLAY when checking to see what users are logged in locally 2019-01-14 16:23:19 -08:00
Bryan Roe
02187849c3 Added MacOS support
Fixed Windows 7 issues
2019-01-11 14:02:12 -08:00
Ylian Saint-Hilaire
3c80473a94 Major agent update. 2018-09-05 11:01:17 -07:00