Cannot connect to open sessions and running programs, I can see them running in the background #2108
-
I have a problem. When I use a different computer to connect to Ubuntu via xrdp every time, I cannot connect to the open sessions and running programs. Work and procedures are also lost. So I want to ask, can xrdp restrict all connections of the same user to the same session? Maybe someone else has raised this question, if so please let me know, I'm happy to study it myself |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
@liuyanghu - I don't understand exactly what you are trying to do. If you want to connect to a session on the machine console you will need additional software. Is this what you are trying to do? If you're trying to connect to an existing xrdp session, the behaviour will depend on your version of xrdp and the backend you are using. Different versions of Ubuntu use different versions of xrdp. What is your version of xrdp as displayed by |
Beta Was this translation helpful? Give feedback.
-
What I need to configure that I can to connect to same session ? Because its (Reconnect to an existing session) not working. RDP not VNC |
Beta Was this translation helpful? Give feedback.
-
Follwing is answer from matt335672!
Befor this mail, I told him my xrdp verison is 0.6.
Hope that it can help you.
OK - that explains a lot. That's a very old version of xrdp. You must be running Ubuntu 16.04.
With that version of xrdp and sesman-Xvnc, the session is not resizeable. So when user A starts the session from his client, the session will have a certain width and height (say width = 1280, height = 768) and a certain colour depth (say 24 bits).
For user B to connect to the same session on this version, all of these three items must match. So, in this example, that means that user B will have to select a screen size of 1280x768, and a colour depth of 24 on the client parameters before connecting. Here is a screenshot showing what I mean:-
Does that make sense?
Later versions of xrdp support this a lot better, but even so, this method will work with them too.
| |
yanghu·liu
|
|
***@***.***
|
On 1/12/2022 ***@***.***> wrote:
What I need to configure that I can to connect to same session ? Because its (Reconnect to an existing session) not working
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
@liuyanghu - I don't understand exactly what you are trying to do.
If you want to connect to a session on the machine console you will need additional software. Is this what you are trying to do?
If you're trying to connect to an existing xrdp session, the behaviour will depend on your version of xrdp and the backend you are using. Different versions of Ubuntu use different versions of xrdp. What is your version of xrdp as displayed by
xrdp -v
?