TEST: Force monitor selection to 0,1 instead of 1,2
Testing different monitor combination to isolate the issue: Monitor layout: - Monitor 0: +3840+0 (primary, rightmost) - Monitor 1: +0+0 (secondary, leftmost) - Monitor 2: +1920+0 (secondary, middle) Previous: Used monitors 1,2 (leftmost + middle) → single monitor Test: Use monitors 0,1 (primary + leftmost) → see if this works This will help determine if the issue is: - Specific monitor IDs (1,2 vs 0,1) - Primary monitor involvement - Physical monitor positioning - FreeRDP interpretation of monitor selection Command will be: xfreerdp /f /monitors:0,1
This commit is contained in:
@@ -327,9 +327,17 @@ class RDPClient:
|
|||||||
# For debugging, log the monitor layout
|
# For debugging, log the monitor layout
|
||||||
self.logger.info(f"Monitor layout detected: {[(m[0], m[1], 'primary' if m[2] else 'secondary') for m in monitors]}")
|
self.logger.info(f"Monitor layout detected: {[(m[0], m[1], 'primary' if m[2] else 'secondary') for m in monitors]}")
|
||||||
|
|
||||||
# Return the leftmost monitors (excluding position and primary flag)
|
# TEST: Use monitors 0,1 instead of 1,2
|
||||||
selected = [str(m[0]) for m in monitors[:count]]
|
if count == 2:
|
||||||
selected_str = ','.join(selected)
|
selected_str = "0,1"
|
||||||
|
self.logger.info(f"TEST: Forcing selection of monitors 0,1 for testing")
|
||||||
|
elif count == 3:
|
||||||
|
selected_str = "0,1,2"
|
||||||
|
self.logger.info(f"TEST: Using all monitors 0,1,2")
|
||||||
|
else:
|
||||||
|
# Return the leftmost monitors (excluding position and primary flag)
|
||||||
|
selected = [str(m[0]) for m in monitors[:count]]
|
||||||
|
selected_str = ','.join(selected)
|
||||||
|
|
||||||
self.logger.info(f"Selected {count} monitors: {selected_str}")
|
self.logger.info(f"Selected {count} monitors: {selected_str}")
|
||||||
return selected_str
|
return selected_str
|
||||||
|
|||||||
Reference in New Issue
Block a user