Bug 313170 - Allow selecting which X screen is active
Summary: Allow selecting which X screen is active
Status: CONFIRMED
Alias: None
Product: krfb
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexey Min
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-13 11:07 UTC by Alon Bar-Lev
Modified: 2023-12-26 16:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev 2013-01-13 11:07:24 UTC
In multi-display environment, currently only screen 0 is taken.
While I would like to share other screen.
Use case: presentation on dual screen, while wish to share the secondary screen with remotes.


Reproducible: Always

Steps to Reproduce:
Setup muli screen configuration.
Run krfb.
Connect from remote.
Actual Results:  
Only the first screen is shared.

Expected Results:  
User be able to select which screen should be shared.
Comment 1 Andrew Crouthamel 2018-11-09 01:05:30 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-20 04:07:13 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew M 2020-04-28 01:03:39 UTC
(In reply to Andrew Crouthamel from comment #2)
> This is a reminder that this bug has been stagnant for a long time. Could
> you help us out and re-test if the bug is valid in the latest version?

Yes this still is an issue. In my situation I have 3 monitors with one on the left in vertical orientation. Krfb will only use that left monitor with no way to configure with monitor to use.

Extract from xrandr:
DP-1 connected 1920x1080+1050+509 (normal left inverted right x axis y axis) 521mm x 293mm
HDMI-1 connected primary 1050x1680+0+0 left (normal left inverted right x axis y axis) 474mm x 296mm
DVI-D-1 connected 1920x1080+2970+509 (normal left inverted right x axis y axis) 520mm x 290mm

For me it will only work with HDMI-1 (left hand), where I wanted to use it for the right hand DVI-D-1.

Suggested behaviour:
A combo box with all available monitors if greater than 1 which change the captured framebuffer region to that monitor.
An optional advanced mode where the user can define a size and offset from top left (WxH+X+Y).

Basically a way to do the equivalent of x11vnc's -clip option.
Comment 4 Denilson F. de Sá 2023-12-26 16:34:50 UTC
FYI, I've done a quick solution on the QtFrameBuffer backend, it's available on my fork on invent.kde.org. I do not intend on working on it any further, someone else can please pick it up and continue from there.

https://invent.kde.org/network/krfb/-/issues/1#note_838828
https://invent.kde.org/denilsonsa/krfb/-/commit/e335eb9f880c7a222aedf312a88c7e6e3639ee9f
https://invent.kde.org/denilsonsa/krfb/-/commits/virtualdesktop/