MeshCentral
MeshCentral copied to clipboard
MeshAgent: Manjaro multple monitors not showing screen selector
I posted in the subreddit and was told to report this as a bug. I have a workstation that has 4 monitors running Manjaro, when I connect to the desktop it shows all 4 screens at once with no option to select which screen I want to view and is obviously difficult to use because the screens are so tiny. When that machine was a windows box I was able to select what screen I wanted to see and I could actually read what was on the screen.
Meshcentral version: 0.8.92 Agent running on Manjaro: Linux 64bit 2021-03-25, 5:25:02 p.m.
Manjaro system:
OS: Manjaro Linux x86_64
Kernel: 5.10.53-1-MANJARO
Uptime: 6 days, 21 hours, 4 mins
Packages: 1335 (pacman)
Shell: bash 5.1.8
Resolution: 1920x1080, 1920x1080, 1920x1080, 1920x1080
DE: Plasma 5.22.4
WM: KWin
Theme: Breeze Dark [Plasma], Adwaita-dark [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: yakuake
CPU: AMD Ryzen 7 2700 (16) @ 3.675GHz
GPU: NVIDIA GeForce GTX 1060 6GB
GPU: NVIDIA GeForce GTX 1060 6GB
Memory: 10474MiB / 32104MiB
xorg config (in case it's needed):
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 470.57.02
Section "ServerLayout"
# Removed Option "Xinerama" "1"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Ancor Communications Inc ASUS VP239"
HorizSync 24.0 - 83.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Ancor Communications Inc ASUS VP239"
HorizSync 24.0 - 83.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1060 6GB"
BusID "PCI:9:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1060 6GB"
BusID "PCI:10:0:0"
EndSection
Section "Screen"
# Removed Option "metamodes" "HDMI-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-1: 1920x1080_60 +0+1080, HDMI-0: 1920x1080_60 +1920+1080, DP-0: 1920x1080_60 +0+0 {rotation=invert}, DP-2: 1920x1080_60 +1919+0 {rotation=invert}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "HDMI-1-0: 1920x1080 +0+0 {reflection=Y, AllowGSYNC=Off}, HDMI-1-1: nvidia-auto-select +1920+0 {reflection=Y}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Thanks for porting this and the details. This is probably from this Reddit Post.
I'm having the same issue on Ubuntu 20.04 LTS, I have 4 screens which shows all at the same time.
What server version are you currently running??
I'm able to reproduce this on one of my ubuntu machines, so I'll look into it...
Can you go to the terminal tab, right click on connect, and select "login shell", and login to the linux machine (or open a terminal on the actual linux machine)
and navigate to where the agent is installed, and run the following command:
./meshagent -exec "require('monitor-info').getInfo().then(function (m) { console.log(JSON.stringify(m, null, 1));process.exit(); }, console.log);"
On my machine, X is reporting that I only have one display, and is showing its resolution as being the combined resolution.
Hi -
I have the same issue on Windows. Is this issue fixed or is there a workaround so I can "remote" into only one of the multiple monitors connected to the remote PC?
I am having the same problem on a Windows environment, however, in my case, the problem was related to which browser I am using. (I think)
My Mesh server is 1.0.0 Chrome is Version 104.0.5112.102 (Official Build) (64-bit) Works fine Firefox is Version 103.0.2 (32-bit) NOT Working Microsoft Edge Version 104.0.1293.54 (Official build) (64-bit) NOT Working