electronstudio / WeylusCommunityEdition

A build of Weylus that includes patches from the Weylus community.
Other
41 stars 0 forks source link

network connection issues #5

Open ENTPRESTIGIOUS opened 1 month ago

ENTPRESTIGIOUS commented 1 month ago

Hello, I am on the flatpak version 2024.08.1 build of Weylus and I am receiving this error. Not only that, I cannot connect to Weylus!

ENTPRESTIGIOUS commented 1 month ago

I also tried to run weylus from the tar.gz but nothing happens! On openSUSE Tumbleweed.

electronstudio commented 1 month ago

The first time you run there will be no configuration file, so this error is expected. The file is created only after a successful launch I believe. (And maybe not even then if you didn't set any options.)

electronstudio commented 1 month ago

The tar.gz version is compiled on Ubuntu and has been tested on Arch, but I don't know whether it works on opensuse. I'd prefer the Flatpak.

electronstudio commented 1 month ago

To test connection, open a browser http://localhost:1701/

ENTPRESTIGIOUS commented 1 month ago

To test connection, open a browser http://localhost:1701/

It says Failed to create uinput device!

ENTPRESTIGIOUS commented 1 month ago

The tar.gz version is compiled on Ubuntu and has been tested on Arch, but I don't know whether it works on opensuse. I'd prefer the Flatpak.

Okay. Can't wait for update.

ENTPRESTIGIOUS commented 1 month ago

Yeah, my phone cannot establish a connection to the IP address oddly. Yes they are on the same network. I am running tailscale on it so shouldn't be an issue as well.

electronstudio commented 1 month ago

To test connection, open a browser http://localhost:1701/

It says Failed to create uinput device!

There is some stuff in the README about this, but it needs access to /dev/uinput. Ignoring security you could try sudo chmod o+rw /dev/uinput

electronstudio commented 1 month ago

Okay. Can't wait for update.

I only collect patches submitted by other people and publish the binaries, so if you want an update that fixes your problem you'll probably have to code it yourself I'm afraid.

electronstudio commented 1 month ago

Yeah, my phone cannot establish a connection to the IP address oddly. Yes they are on the same network. I am running tailscale on it so shouldn't be an issue as well.

Maybe check iptables firewall isn't blocking it. BTW if your phone is iPhone then Weylus won't work. (It will connect but will then display an error because iPhone lacks required codec.)

ENTPRESTIGIOUS commented 1 month ago

Yeah, my phone cannot establish a connection to the IP address oddly. Yes they are on the same network. I am running tailscale on it so shouldn't be an issue as well.

Maybe check iptables firewall isn't blocking it. BTW if your phone is iPhone then Weylus won't work. (It will connect but will then display an error because iPhone lacks required codec.)

It's Samsung.

electronstudio commented 1 month ago

I have no idea how Tailscale works but most VPN apps I've seen tend to reconfigure your system's firewall and routing table so I would probably try it without any VPN.

ENTPRESTIGIOUS commented 3 weeks ago

I have no idea how Tailscale works but most VPN apps I've seen tend to reconfigure your system's firewall and routing table so I would probably try it without any VPN.

I figured out how to establish a connection. I have to allow the port through the YaST firewall by going to Zones -> Public -> Ports and writing a list of TCP and UDP ports. I considered this from using LocalSend and my Windows machine couldn't send to my linux machine and it said that I had to allow outbound/inbound rules for port but then realized that I might need to do the same on Linux.

However, it says the connection was lost. image

electronstudio commented 3 weeks ago

So it works on the phone but not on the Windows machine?

ENTPRESTIGIOUS commented 3 weeks ago

So it works on the phone but not on the Windows machine?

No it doesn't work on both my computer and phone. It can manage to establish a connection to that GUI but it just says Lost connection after a couple of seconds. I can't change the Capture screen or anything.