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

use GUI on multiple VNC sessions on linux server simultaneously #1066

Closed
Amsoht opened this issue May 24, 2024 · 4 comments
Closed

use GUI on multiple VNC sessions on linux server simultaneously #1066

Amsoht opened this issue May 24, 2024 · 4 comments

Comments

@Amsoht
Copy link

Amsoht commented May 24, 2024

The feature request

We have a server running on ubuntu 20.04. We have git and github-desktop installed. When I connect via ssh to the server with user1 and use VNC to have a graphical desktop interface. I can start github-desktop and use it. If user2 connects to the server via ssh at the same time and uses their own VNC session, starting github-desktop does not work (no error message given). Only if user1 closes their github-desktop GUI, then user2 can successully start their github-desktop session. Is there a way that user1 and user2 can both use github-desktop at the same time?

Proposed solution

Maybe there is an obvious solution to this, that I am not familiar with? Something like installing github-desktop for each user individually in some way? Any help on this much appriciated!

Additional context

Why do we need this feature? We have a comlex data evaluation software running on our server. Multiple users make changes to the data evaluation (i.e. changing software parameters in a variety of text files) and we track these changes using git. Our workflow would certainly benefit from being able to use the github-desktop GUI in multiple sessions at the same time.

@shiftkey
Copy link
Owner

If user2 connects to the server via ssh at the same time and uses their own VNC session, starting github-desktop does not work (no error message given

I need more details from the application to be able to troubleshoot further. Please check the logs created at ~/.config/GitHub\ Desktop/logs/ from around the time of the issue for user2 to see if there's any helpful messages that might explain the underlying behaviour.

I'm not aware of why using VNC would prevent another user from launching the app, but this isn't an area that I've used (it's also been a couple of decades since I used a VNC client and server in anger).

Copy link

github-actions bot commented Jun 3, 2024

Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.

@github-actions github-actions bot closed this as completed Jun 3, 2024
@Amsoht
Copy link
Author

Amsoht commented Jun 21, 2024

Hi there, sorry that it took me so long.
Here is what gets written to user1 log:

2024-06-21T14:47:11.451Z - info: [main] Received possible protocol arguments: 2
2024-06-21T14:47:13.340Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: 217-scripts - TaunusObservatory (has token)
2024-06-21T14:47:14.618Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 8 repositories took 3.1s of which 0.0s paused, total 3.1s

In fact, for user2 there is no ~/.config/GitHub\ Desktop at all! So it may not be an vnc server issue after all?
Possibly it's an issue with how our server and the users are set up.
I use ssh -C -L XXX1:localhost:XXX1 user1@serverip to connect to user1. The ssh terminal states I am logged in as user1. When opening VNC viewer and using a terminal there, it states I am logged in as user1. So far so good.
Then I use ssh -C -L XXX2:localhost:XXX2 user2@serverip to connect to user2. The ssh terminal states I am logged in as user2. When opening VNC viewer and using a terminal there, it states I am logged in as user1. This is quite confusing. I'll talk to the guy who set up our server and try and post an update here.

@shiftkey
Copy link
Owner

I'll talk to the guy who set up our server and try and post an update here.

Please reopen if you have anything else to add. Otherwise I'm going to close this out due to inactivity.

@shiftkey shiftkey closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants