-
Notifications
You must be signed in to change notification settings - Fork 32
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
The app won't open in RDP session. #34
Comments
Hi,
I would say it is because of Wayland. I can't do anything about it. Could
you try x.org?
Thanks.
--
Costales.
…On Mon, May 31, 2021 at 11:36 AM Parinya Teerakasemsuk < ***@***.***> wrote:
The app works fine in a normal session. But when I remoted my desktop
through RDP connection (xrdp) and tried to open the app, nothing happened
even after entering my user password.
OS: Ubuntu 21.04 - 64 bit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#34>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABM5GQWHVGWBOMTVLK67YB3TQNKDNANCNFSM452RHTUA>
.
|
I am using x.org since xrdp supports only x.org, no Wayland. Also, Wayland doesn't support RDP through PipeWire yet. |
Same problem here. Running Linux Mint Cinnamon 20.2 version. When I connect over XRDP to the machine, I get the errors: Running gufw in XRDP session gets the following error:
The session is X11:
The first error is unrelated. When running the first line in
I was able to start the gufw preserving the environment (the unary operator error is still there, but the app launched):
|
There's a bug filed with Ubuntu itself, we'll see which one gets more traction. There are two issues here:
from:
to
To:
Hope that helps folks looking for a solution, and it makes it into Ubuntu's repos. As it stands, both 20 and 22 are affected. |
I can't believe I missed it earlier, the issue is caused by Ubuntu's decision to symlink |
Hi Dominik,
Thank you for your feedback.
But that code was removed in early releases:
https://github.com/costales/gufw/blob/master/bin/gufw
In which Ubuntu version happens that? It should be freeze and can't
symlink that directory.
Best regards.
|
Both 20.04.1-1ubuntu1 and 22.04.0-ubuntu1 (latest packages for Ubuntu 20 LTS and 22 LTS) show:
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/gufw-pkexec</annotate>
Interestingly enough, further investigation reveals that XRDP sessions get a different $PATH order than direct sessions, which explains why this policy seems to cause segfault:
$PATH of a user who logs in via xrdp into XFCE on Ubuntu:
***@***.***:~$ echo $PATH
/sbin:/bin:/usr/bin:/usr/local/bin:/snap/bin
***@***.***:~$ ssh localhost
***@***.***'s password:
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.15.0-1019-aws x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage <https://ubuntu.com/advantage>
Last login: Mon Sep 19 20:34:30 2022 from 127.0.0.1
***@***.***:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/snap/bin
***@***.***:~$
Because of the $PATH order, /bin/gufw wins when executed by users who use xrdp. I’ll do some more digging, but that explains why people testing it just via local sessions never encounter this issue.
Cheers!
… On Sep 19, 2022, at 4:18 PM, Costales ***@***.***> wrote:
Hi Dominik,
Thank you for your feedback.
But that code was removed in early releases:
https://github.com/costales/gufw/blob/master/bin/gufw
In which Ubuntu version happens that? It should be freeze and can't
symlink that directory.
Best regards.
—
Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAYV5JUJDGLOAANIAUNVQULV7DDAZANCNFSM452RHTUA>.
You are receiving this because you commented.
|
A small update. The issue ultimately lies with xrdp not reading To fix this on earlier versions of Ubuntu,
|
The app works fine in a normal session. But when I remoted my desktop through RDP connection (xrdp) and tried to open the app, nothing happened even after entering my user password.
OS: Ubuntu 21.04 - 64 bit.
I install the app in Ubuntu store.
The text was updated successfully, but these errors were encountered: