Skip to content
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

add session manager to replace x2go and nomachine #634

Open
congzhangzh opened this issue May 27, 2022 · 24 comments
Open

add session manager to replace x2go and nomachine #634

congzhangzh opened this issue May 27, 2022 · 24 comments
Labels
enhancement New feature or request

Comments

@congzhangzh
Copy link
Contributor

Hi Rustdesk,

As title, x2go is very lagging, and nomachine is not free for multisession support。

if rustdesk support special mode to spawn more xephyr as standalone session, it will be very helpful and revolutionary of clouddesktop way of xwindows server.

with session manager that shoud be easy to do something like xrandr.

Tks,
Cong

@congzhangzh congzhangzh added the enhancement New feature or request label May 27, 2022
@rustdesk
Copy link
Owner

@fufesou

@rustdesk
Copy link
Owner

Who are the target users for session manager? I can not understand the scenario.

@congzhangzh
Copy link
Contributor Author

Who are the target users for session manager? I can not understand the scenario.

A team to access a super computer to develop or do some ui related work。

x2go is very slow, nomachine is very fast but limit one session for free version, btw nomachine is magic fast and powerful!

@congzhangzh
Copy link
Contributor Author

A session manager to start headless x server and gnone like things

@rustdesk
Copy link
Owner

I used nomachine before, not saw magic.

@congzhangzh
Copy link
Contributor Author

I used nomachine before, not saw magic.

seems your are right, I use rustdesk to connect to rustdesk in nomachine now, it's smooth:)

@congzhangzh
Copy link
Contributor Author

Who are the target users for session manager? I can not understand the scenario.

A team to access a super computer to develop or do some ui related work。

x2go is very slow, nomachine is very fast but limit one session for free version, btw nomachine is magic fast and powerful!

even x2go very laging, connect rustdesk in x2go very soooth, the only problem is that keyboard input seems be input twice each time when type from rustdesk, can you give a try @rustdesk

BTW, if rustdesk support run different instance for each x2go X session, the problem can be workaround, as connect to 21118+1/2/3/4 for session 1/2/3/4

@rustdesk
Copy link
Owner

Sorry, I have no x2go server env to debug.

@rustdesk
Copy link
Owner

Low priority.

@congzhangzh
Copy link
Contributor Author

Maybe we can split session manager to another application and make rustdesk focus on remote control? Like add a one 2 one client/server mode with preshare key?

basic idea, raw server client

server:

rustdesk —just-server [xx.xx.xx.xx:]21118 —key-file ~/.rustdesk/prehare-key

client:

rustdesk —connect-to 21118 —key-file prehare-key-file

with session manager wrapper

# client connect to server run desktop & rustdesk in xvfb
ssh xx@xx.xx <<EOF
xvfb :xx&
export DISPLAY=:xx.0
dbus-launch desktop-session-manager &
rustdesk —just-server [xx.xx.xx.xx:]21118 —key-file ~/.rustdesk/prehare-key
#TODO
EOF
# start client rustdesk to connect to it
rustdesk —connect-to 21118 —key-file prehare-key-file

@congzhangzh
Copy link
Contributor Author

the mvp can be done in a weekend, and the xvfb part has be tested:) even opengl 4.6 is support in the latest xvfb.

btw, the 100% bitrate is great, even game can be played remotely, and udp maybe improve it to next level?

@alatteri
Copy link

I used nomachine before, not saw magic.

Agreed.... NoMachine on macOS is very un-reliable, and on all platforms, the quality is shitty h264 4:2:0 video.

@chchia
Copy link

chchia commented Jun 17, 2022

i am using both nomachine and rustdesk, nomachine is super fast and superb display quality (much better than rustdesk to be honest) easily close to 60fps, but sometime it get randomly disconnected and need to manual reconnect again.

@rustdesk
Copy link
Owner

Allow us some time to get better.

@congzhangzh
Copy link
Contributor Author

i am using both nomachine and rustdesk, nomachine is super fast and superb display quality (much better than rustdesk to be honest) easily close to 60fps, but sometime it get randomly disconnected and need to manual reconnect again.

Udp be the key, even when go across trojan:)

@chchia
Copy link

chchia commented Jun 17, 2022

Allow us some time to get better.

right, very much appreciate the time and effort you put on this wonderful project.

by the way, do you plan to have nightly build for testing purposes?

@rustdesk
Copy link
Owner

No, we do not update frequently, you see we have very few contributors.

@rustdesk
Copy link
Owner

rustdesk commented Aug 1, 2022

#1131

@congzhangzh
Copy link
Contributor Author

this is cool, #3902

@fufesou just need multi-session support, is that possible to add some context semantically

# the context maybe default/from cmd line/from the environment var
sudo rustdesk  [--session-context [context]] --get-id 

@congzhangzh
Copy link
Contributor Author

@congzhangzh
Copy link
Contributor Author

@yuq what's the status about your glamor driver for dummy, can we use or fix it?

https://lists.x.org/archives/xorg-devel/2017-August/054306.html

@fufesou
Copy link
Collaborator

fufesou commented Jul 1, 2023

@congzhangzh Thanks for searching. Your replies seem helpful.
But we have very few contributors.
We have no plan to update the virtual display under linux in the near future.

@congzhangzh
Copy link
Contributor Author

@congzhangzh Thanks for searching. Your replies seem helpful. But we have very few contributors. We have no plan to update the virtual display under Linux in the near future.

@fufesou OK, it's nice to have:)

Tks for your great work, I think your teams' work will revolutionize on vdi market

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants