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
Ywallet doesnt work via remote ssh or x2go #43
Comments
Are you able to run other apps remotely? |
yes, xterm, kwrite work perfectly fine through ssh, gimp works but is too slow though ssh through x2go xterm, kwrite, gimp work fine |
libreoffice --display "$DISPLAY" |
Flutter uses OpenGL. It won't work over an ssh session, unfortunately. |
glxgears works over ssh |
It's flutter that uses OpenGL. You'd have the same issue with the demo app. You may be able to get it to work with VirtualGL. Another way is to use VNC |
Tried snap install flutter-calculator |
This way fails too:
xeyes and glxgears work. OpenGL support is pretty bad on Mac. What OS is your client using? |
I tried a few times but i get no errors, but also no windows showing up. Its hard to say what the problem is if there is no error #snap install flutter --classic flutter 0+git.ccbc698 from Flutter Team** installed exit flutter create demo flutter --suppress-analytics run Launching lib/main.dart on Linux in debug mode... Building Linux application... Syncing files to device Linux... 287ms Flutter run key commands. r Hot reload. 🔥🔥🔥 R Hot restart. h List all available interactive commands. d Detach (terminate "flutter run" but leave application running). c Clear the screen q Quit (terminate the application on the device). 💪 Running with sound null safety 💪 An Observatory debugger and profiler on Linux is available at: http://127.0.0.1:34731/U9ljdkHnXK4=/ The Flutter DevTools debugger and profiler on Linux is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:34731/U9ljdkHnXK4=/ |
both sides of the ssh connection are ubuntu LTS, one is 22.04 teh other is a 20.04 |
It doesn't seem to be related to ywallet in any case. You should get better help If you posted this issue on the flutter GitHub. |
I got the demo app working through ssh (not x2go yet) what i did was shut down the main wayland server so flutter has no option to pick the wrong server. and then a Iam sure theres some way to make it use the right display but i dont understand why this is so complex both ssh and x2go setup the environment with all variables pointing to the right display and authentication, or at least i assume they do as other apps work. |
There is also the flatpak sandbox. Maybe this causes problems too. Unfortunately, I don't have a second Linux machine for testing. |
The AppImage works for me with |
On a x86-64 ubuntu LTS with latest flatpak (Flatpak 1.15.1) through a remote ssh (tried both -X and -Y)
running "flatpak run app.ywallet.Ywallet" shows
But the ywallet window never shows up. The ywallet process happily runs though it seems
If instead i run it through x2go there are a few extra warnings but otherwise again nothing shows up.
If I run "flatpak run app.ywallet.Ywallet" locally on the same machiene it works fine and shows up.
Somehow it feels as if the app window isnt sent to the right display, but maybe its something else.
The text was updated successfully, but these errors were encountered: