Remote desktop, real and dummy monitor

Hi to all!

I am new here, use Majaro since a week, may be less. I will try to explain my problem:
Usually I used LinuxMint (XFCE or KDE), but after bough new PC (SER5 Max) Mint wasn’t option for me anymore, because of some problem with my audio. I tried different distros, and the only two who worked were LMDE6 and Manjaro.
I was not familiar with Arch Linux, but reading here and there convince me to try it. It described as stable OS, who no need to reinstall because of upgrades every 1-2 years.
But starting to setup my OS I met another unexpected problem - the remote connection.
With Mint I used TeamViewer, with turned on or off monitor without any problems, with Manjaro when I turn off my monitor and the connection speed is extremely slow. If the monitor is tuned on - there is no problem. Start reading again and found the idea of the dummy monitor. OK, but if I set it then I can not use my physical monitor.
Do not blame me, may be I am lazy, or busy (a working man with kids), but is there an easy solution?
May be Mint managed this automatically, but looks like here I need to fix the mess alone. So can I use dummy monitor for remote connections like TV, xrdp, and same time to be able to use my real monitor?
I didn’t mention - I connect to my PC from Windows PC. If I can use Windows RD - nice, but TV is also good solution for me. Also I usually connect from the local network.

Regards!

You can use vnc if the connection is local.

It is possible to run Teamviewer on Manjaro.

I use it for remote support (commercial license) a few years back I tested a local connection to a Manjaro desktop - the result was not so great - never tested again.

I prefer vnc even if it is across internet - simply use a ssh tunnel.

This kind of setup is descrbed in several guides in the Tutorials section.

As you are new to this game - I recommend reading [root tip] [How To] Update Manjaro the smart way for pointers on how to apply maintenance to your system.

For your immediate topic - remote connection

first things first. a lot of vnc-applications still suffer on wayland and work properly on x11. check this first.
second: creating virtual displays rely on your system, so post the output of the mandatory

inxi --admin --verbosity=7 --filter --no-host --width

to us that we can get an overview.

1 Like

I use NoMachine. The free license is more than enough for my needs. It is very easy to use. Just install, check the options and use it. You can install it from AUR. I use a direct connection for internal network connections and a ssh tunnel for internet connections. Performance is great.

I use X11. For what I’ve read, it works on Wayland, but I had problems and reverted to X11.

While I accept your judgment for your usecase - tigervnc is working - wayland or not.

Perhaps I am mistaken or I have forgotten something - just trying to check my statement.


EDIT
Fond this How to start VNC server for running session (wayland)? - #5 by zvegelj - Fedora Discussion

good to know, but it’s always worth a try to check if the individual virtualized-application does work on x11 or wayland. this is a potential problem that should always be checked first before starting to edit configs etc…

I will try this command later, but there are two options - I can run it in the current state (after I installed xrdp and touch X11 configs), or I can revert (via Timeshift) to the state before this changes.
At what state is better to run this command?

I was able to connect from Win11 via RD to my Manjaro PC. After I setup xrdp of course and the run:

sudo X -configure

this generated /root/xorg.conf.new who moved into /etc/X11/xorg.conf
With this file I can connect no matter if the monitor is on or off. The funny part is when I drop remote connection, go to the PC an open an app. My taskbar go at the top, and when try to move it back to the bottom the option is missing. So I have to move it left/right/top and then to the bottom.

Now the result of the command:

System:
  Kernel: 6.9.2-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: hpet avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64
    root=UUID=7f259a26-3a43-4f15-b449-74c7da9072a6 rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.2.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Mini-pc Mobo: AZW model: SER v: V1.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: 5800H604
    date: 03/18/2024
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 32 GiB available: 28.31 GiB used: 3.83 GiB (13.5%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: N/A
    part-no: N/A serial: <filter>
  Device-2: Channel-B DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: N/A
    part-no: N/A serial: <filter>
CPU:
  Info: model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 609 high: 1799 min/max: 400/4463 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 1799 2: 400 3: 1375
    4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400
    14: 400 15: 1375 16: 400 bogomips: 102268
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de debug_swap decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel arch: GCN-5 code: Vega process: GF 14nm
    built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1
    bus-ID: 04:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 51.0 C
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_x11 driver: X: loaded: modesetting dri: radeonsi gpu: amdgpu
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93") monitors: <missing: xrandr>
  Monitor-1: DP-1 model: HP E231 serial: <filter> built: 2013 res: 1920x1080
    dpi: 96 gamma: 1.2 size: 510x287mm (20.08x11.3") diag: 585mm (23")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.8-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir
    LLVM 17.0.6 DRM 3.57 6.9.2-1-MANJARO) device-ID: 1002:1638 memory: 2.93 GiB
    unified: no
  API: Vulkan Message: No Vulkan data available.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_rn_pci_acp3x
    v: kernel alternate: snd_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.9.2-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000
    bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-3:2 chip-ID: 8087:0029
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.36 TiB used: 788.81 GiB (56.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT500P3PSSD8
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: P9CR411 temp: 47.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 840 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: BB6Q scheme: MBR
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 98.98 GiB size: 96.87 GiB (97.87%) used: 22.29 GiB (23.0%)
    fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A
    uuid: 7f259a26-3a43-4f15-b449-74c7da9072a6
  ID-2: /boot/efi raw-size: 550 MiB size: 548.9 MiB (99.80%)
    used: 300 KiB (0.1%) fs: vfat dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 9B8E-2029
  ID-3: /media/D raw-size: 831.99 GiB size: 831.99 GiB (100.00%)
    used: 766.52 GiB (92.1%) fs: ntfs dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: 0906F88C6278AA39
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 100 MiB fs: vfat label: SYSTEM
    uuid: 8A67-639D
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 463.81 GiB fs: ntfs label: N/A
    uuid: F2EE67F4EE67AF91
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 1.73 GiB fs: ntfs label: Recovery
    uuid: A44068034067DA96
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: A4Tech 2.4G Wireless Device type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 09da:0025 class-ID: 0301
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-3:2 info: Intel AX200 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 8087:0029 class-ID: e001
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 55.9 C mobo: N/A gpu: amdgpu temp: 51.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 358 Power: uptime: 1h 12m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 11.31 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: 1464 pm: pacman pkgs: 1446 libs: 377 tools: pamac pm: flatpak
    pkgs: 10 pm: snap pkgs: 8 Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: Zsh
    v: 5.9 default: Bash v: 5.2.26 running-in: konsole inxi: 3.3.34

I can say I can find a dummy solution for my problem, the case when you have monitor on the remote PC, but want it be turned off. It may not work for all, but it is as follow:
on the monitor search for input settings, and there check for DP Hot-Plug Detection (I don’t know if this is available for HDMI), select it and set it to “Always Active”, or whatever name there is different than Low Power.
Whit this option TeamViewer, RustDesk and RealVNC should works.
But when I turn on the monitor my taskbar still jumps on the top…