pavlobu / deskreen

Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!
https://deskreen.com
GNU Affero General Public License v3.0
16.9k stars 908 forks source link

[Ubuntu 20.04] Cannot seem to accept session #166

Open arooni opened 2 years ago

arooni commented 2 years ago

Prerequisites

Expected Behavior

click allow, let it allow

deskreen will not let me allow;

Current Behavior

Version: 1.0.11 (1.0.11)

deskreen web browser (samsung s7+ tablet) shows connected; but then goes back to "waiting for user to select source to share from screen sharing device..."

meanwhile on my desktop i see only the accept/reject screen and we don't advance past that point.

image

i did notice that it was connecting just fine before i had added the following to my xorg config

Section "Device"
    Identifier "intelgpu0"
    Driver "intel"
    Option "VirtualHeads" "1"
EndSection

This creates a dummy video screen just fine, I just can't seem to connect to it.

Steps to Reproduce

1.

2.

3.

4.

Possible Solution (Not obligatory)

Context

Your Environment

arooni commented 2 years ago

no firewall; no vpn running

arooni commented 2 years ago

also noticed that connecting from my samsung s21 ultra phone resulted in the same thing happening.

arooni commented 2 years ago

if i spam the ACCEPT button with presses then sometimes i can get in; but when i finally do i see something like:

image

image

then it gets stuck on the screen selection page :(

arooni commented 2 years ago

VIRTUAL1 connected 2800x1752+1600+0 (normal left inverted right x axis y axis) 0mm x 0mm samsung 59.97*

RafayAK commented 2 years ago

Facing the same problem on Pop OS 20.4

RafayAK commented 2 years ago

This mainly seems like a UI bug, It fails to update UI after "allow" is clicked. Weird thing is that I can click around the stuck Deskreen window and get it to work, I find mainly clicking around the IP area gets me successfully connected.

RafayAK commented 2 years ago

@arooni Maximizing the window seems to refresh the UI elements, and that does the trick!