Open sahiltalwar88 opened 4 years ago
Super basic config file:
section: screens
Dongcopter:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
preserveFocus = false
switchCorners = none
switchCornerSize = 0
mbp:
alt = meta
meta = alt
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
preserveFocus = false
switchCorners = none
switchCornerSize = 0
end
section: aliases
end
section: links
Dongcopter:
right = mbp
mbp:
left = Dongcopter
end
section: options
relativeMouseMoves = false
screenSaverSync = true
win32KeepForeground = false
clipboardSharing = true
switchCorners = none
switchCornerSize = 0
end
Logs from both server and client, in case it helps:
Server:
[2020-05-21T17:15:06] INFO: starting server
[2020-05-21T17:15:06] INFO: config file: C:/Users/sahil/AppData/Local/Temp/Barrier.NyZUbv
[2020-05-21T17:15:06] INFO: log level: INFO
[2020-05-21T17:15:06] INFO: service command updated
[2020-05-21T17:15:06] INFO: service command updated
[2020-05-21T17:15:07] INFO: got ipc shutdown message
[2020-05-21T17:15:07] NOTE: disconnecting client "mbp"
[2020-05-21T17:15:07] NOTE: client "mbp" has disconnected
[2020-05-21T17:15:07] NOTE: stopped server
[2020-05-21T17:15:08] INFO: process 6024 was shutdown gracefully
[2020-05-21T17:15:08] INFO: starting new process as privileged user
[2020-05-21T17:15:08] INFO: drag and drop enabled
[2020-05-21T17:15:08] ERROR: failed to get desktop path, no drop target available, error=2
[2020-05-21T17:15:08] NOTE: Scroll Lock is on, locking cursor to screen
[2020-05-21T17:15:08] NOTE: started server (IPv4/IPv6), waiting for clients
[2020-05-21T17:15:08] INFO: server status: active
[2020-05-21T17:15:08] INFO: OpenSSL 1.0.2l 25 May 2017
[2020-05-21T17:15:08] INFO: accepted secure socket
[2020-05-21T17:15:08] INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD
[2020-05-21T17:15:08] NOTE: accepted client connection
[2020-05-21T17:15:08] NOTE: client "mbp" has connected
Client (the TIS/TSM warnings are always there afaict):
[2020-05-21T17:15:05] NOTE: disconnected from server
[2020-05-21T17:15:06] NOTE: connecting to '173.73.225.8': 173.73.225.8:24800
[2020-05-21T17:15:06] INFO: OpenSSL 1.0.2t 10 Sep 2019
[2020-05-21T17:15:07] NOTE: server fingerprint: C8:79:55:BB:49:52:2C:F2:6D:AA:6C:B9:25:63:A6:C1:36:B8:12:F8
[2020-05-21T17:15:07] NOTE: trustedServersFilename: /Users/satalwar/Library/Application Support/barrier/SSL/Fingerprints/TrustedServers.txt
[2020-05-21T17:15:07] NOTE: Opened trustedServersFilename: /Users/satalwar/Library/Application Support/barrier/SSL/Fingerprints/TrustedServers.txt
[2020-05-21T17:15:07] NOTE: Fingerprint matches trusted fingerprint
[2020-05-21T17:15:07] INFO: connected to secure socket
[2020-05-21T17:15:07] INFO: server ssl certificate info: /CN=Barrier
[2020-05-21T17:15:07] INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD
[2020-05-21T17:15:07] NOTE: connected to server
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.165 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
2020-05-21 17:15:07.166 barrierc[30148:12126507] pid(30148)/euid(501) is calling TIS/TSM in non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main thread!!!
[2020-05-21T17:15:07] WARNING: cursor may not be visible
And when I try to move my mouse over, nothing happens...no "Mouse entered screen", etc :(
I experience the same issue. The keyboard however works, just not the mouse. UPDATE: Apparently it was SSH key problem. When I flicked between who was going to be server/client the SSH key accept question came around and when both computers had accepted it just worked.
Have the same problem. i configured shortcuts to switch between the desktops now. Funny thing is i cant use the mouse to move to the mac but wenn i am on the mac i can move back to my windows machine with the mouse.
Windows 10 and MacOS 10.15.5
Update: it works and stops working intermittently; it worked for about a day before dying again.
I have the same problem, logs confirm both computers are connected. Starting a server on my PC I cant move my move over to my laptop. However starting the server on my laptop I can move my mouse over to my PC. Additionally, my PC throws the error "Temporary configuration file required to start barrier can not be written" when the "configure interactively radial button is checked.
Edit: Got it working! Scroll lock was enabled on my PC, locking the cursor to my PC screen. disabling scroll lock fixe the issue.
[2020-05-21T17:15:08] NOTE: Scroll Lock is on, locking cursor to screen
Here is the cause in your case. Disable scroll lock.
Oh wow you are so right! Great catch @NicholasNell , that's quite a bug hahaha.
FYI @p12tic - since you're actively contributing, I thought I'd let you know about this in case it's an easy fix. No worries if not.
@sahiltalwar88 Looks like this is actually not a bug but intended behavior. Would be nice if it was a setting that could be toggled but I didn't see anything in the GUI, documentation for Barrier or Synergy.
ha good eye, @simons-public...yeah, i wonder if this is REALLY desired or if we want to disable it, or at minimum add it to the docs. ideally we'd even display some kind of popup or something if the user attempts to leave the screen, but i'm not sure barrier is capable of that
This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
It would be ideal if we could configure this behavior.
I actually still use this, but I seem to recall way back in the day (and some info from the synergy-core text-config docs suggested this is true) the intended way to disable this was to rebind scroll-lock back to scroll lock
In the options section of the config file a directive as follows may do the trick:
keystroke(ScrollLock) = keystroke(ScrollLock)
Not sure this can be done in the GUI though..
Server: Windows 10 Version 1809 (Build 17763.1158) Client: Mac OSX Mojave (Version 10.14.6)
Barrier Version
Server: 2.3.2-snapshot-210c2b70 Client: 2.3.2-Release-210c2b70
Steps to reproduce bug
Other info
I tried moving the screen to different places in the config to see if that would help, it did not. Also, FWIW I have a second monitor hooked up to the macbook, but unplugging it makes no difference afaict.
I feel fairly certain that this is a configuration problem rather than a real bug, so I'll add my config file in a comment (it's about as simple as can be).