Replies: 3 comments 20 replies
-
There seems to be a lot of confusion. If you're using an SSH tunnel, then you're likely not using the TCP socket at all. |
Beta Was this translation helpful? Give feedback.
-
First things first:
That's correct and working as intended. xpra/xpra/server/auth/sys_auth_base.py Lines 77 to 80 in 39527ec This is the case for pam (aka sys ).To override this behaviour, use auth=pam,client-username=true .But that's generally not what you want unless you are running a proxy server.
This is not my website, it is the project's documentation. Please do not paste pictures of text, paste text so that it remains searchable.
The AES example works for me. Adding Please note that the syntax in the documentation has been updated for v6.x: 39527ec If you are still having problems, please read https://github.com/Xpra-org/xpra/wiki/Reporting-Bugs before replying. |
Beta Was this translation helpful? Give feedback.
-
With git master 6.2 beta as of b16a48f: xpra start --start=xterm --bind-tcp=0.0.0.0:10000,encryption=AES,keyfile=key.txt,auth=allow --no-daemon
Works and the server shows: Changing
Using the correct password for the user running the
And the command succeeds, showing that the username Adding Running the seamless server as root (dangerous!) and adding Note: b16a48f is probably the correct fix for |
Beta Was this translation helpful? Give feedback.
-
Hello, I have tried this command
xpra start --start=xterm -d auth --bind-tcp=0.0.0.0:14505,auth=pam
. When using an SSH tunnel PAM works correctly, however but when the username is different and the password is correct, the PAM ignores it and does not check the username. In other words, a user could input a fake username to the XPRA client and the correct password and it incorrectly authenticates them. Futhermore, when using the XPRA client with the command run on the Ubuntu Server, it gets an "ENCRYPTION" error, and I am unable to run PAM with AES Encryption.I tried this command
xpra start :100 --bind-tcp=0.0.0.0:14511 --tcp-auth=pam --tcp-encryption=AES --tcp-encryption-keyfile=aes_keyfile
Also the command
xpra start :100 --bind-tcp=0.0.0.0:14511,auth=pam --tcp-encryption=AES --tcp-encryption-keyfile=aes_keyfile
ERROR in LOG:
Beta Was this translation helpful? Give feedback.
All reactions