-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cursor gets stuck at the border (does not move to the other screen) #61
Comments
If you really need to use Nvidia drivers, then you could follow this guide: https://sangams.com.np/using-android-pc-as-a-second-monitor-in-linux/ The trick involves forcing the HDMI output. Before continuing, pay extra attention to both your host and the VNC client display resolution. Keep in mind you'd be "occupying" the HDMI port; connecting a real monitor while using VNC will almost certainly mess with your display settings. Highly experimental This should make the "HDMI" option appear inside VirtScreen. I've switched to integrated Intel drivers since then so I can't tell. |
After messing around with the X configuration files I've arrived to a permanent solution alongside Virtscreen :) Reminder: This setup assumes you're using a hybrid iGPU/dGPU system and Nvidia drivers are installed. You can read more about it here. Even if your system is not PRIME, you could fix this "invisible wall" issue anyways by adding the "ConstrainCursor" option in the relevant *.conf file located in Make sure to paste it under the "Device" Section with the nvidia driver.
For other configurations see #16 EDIT: Wording and formatting |
@seffs Hey, thanks for the answer. Adding "ConstrainCursor" off option works! Finally everything works, except one issue: I am unable to see the mouse pointer on the iPad. (Not sure if this is because of the iPad app but adding more details anyway: The app I am using on iPad is VNC viewer. I tried using other apps like AnyDesk but AnyDesk isn't even able to connect to the server.) Let me know how I can fix that. Thank you. |
Hey @Shubodh, glad it worked for you! I remember overriding the command used by Note: I abandoned this endeavor a long time ago, after dealing with constant regressions inside the Nvidia drivers. A lot of projects have been moving forward in the Linux space since then, such as Wayland and its native virtual monitor support., yet they remain untested. Even Nvidia itself has started paying attention and contributing to FOSS in the last couple of months, time will tell if wayland + nvidia might be where projects like this one can be finally reimplemented |
Thanks for the reply @seffs . But I just bought a multi-device mouse instead :P |
Hellooo I have made the changes as @seffs have mentioned still my cursor is stuck behind an invisible wall My 30-virtscreen.conf file has the following:
Any solutions? |
I haven't used X11 in years @Vai838 My setup now consists of Wayland and GNOME's RDP Virtual Monitor |
I have searched everywhere on what to do but nothing is working.
Every time I try to move the mouse to the other screen (using my android tablet), it can't move forward, obviously this blocks the possibility of dragging the windows and stuff.
My setup:
Tablet:
I have setup the
30-virtscreen.conf
as suggested in another thread, it shows virtual 1, but I can't use the mouse at all, or the touch screen.The text was updated successfully, but these errors were encountered: