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

X11 error: connection refused after login on gnome (arch/manjaro gnome) #440

Closed
NicKoehler opened this issue Apr 3, 2022 · 19 comments
Closed
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@NicKoehler
Copy link
Contributor

Describe the bug you encountered:

I enabled the service on my personal computer at home.
I usually turn on my computer using Wake on wan and connect from remote.
I received the following error on my client after I entered my password from the login screen:
X11 error: connection refused

What did you expect to happen instead?

Login as normal.

How did you install RustDesk?

I installed it from the AUR repo.


RustDesk version and environment:

Rustdesk 1.1.8

OS: Archlinux
DE: Gnome on XORG
Kernel: 5.17.1


Workaround:

I can successfully connect if I restart the rustdesk service via SSH after I logged in with:

systemctl restart rustdesk
@NicKoehler NicKoehler added the bug Something isn't working label Apr 3, 2022
@ceewanna
Copy link

My recent Manjaro/Gnome couldn't get rustdesk running even login with Gnome Xorg. I tried restarting rustdesk after login but it still couldn't run. However, if I activate rustdesk from command line, the login screen showed up but with warning that I couldn't login as it is on wayland (even I was actually on x11, checked from echo $XDG_SESSION_TYPE )

The above was observed from rustdesk 1.2.0 and 1.1.9.

On the same machine above, I had anydesk on. Anydesk could work properly, connecting to another Manjaro/XFCE. However, connection to itself from another machine isn't possible and was reported on screen that the remote is on wayland.

@rustdesk
Copy link
Owner

rustdesk commented Mar 1, 2023

root?

@ceewanna
Copy link

ceewanna commented Mar 1, 2023

You mean the user in the context above? No, just typical user which was created along linux setup.

I have been using rustdesk on Manjaro/XFCE for quite sometime without problem but recently there is a need to set up a certain package which requires wayland. Then I thought Gnome would be fine as it caters both x11 and wayland.

@rustdesk
Copy link
Owner

rustdesk commented Mar 1, 2023

Now it is x11 or wayland?

@ceewanna
Copy link

ceewanna commented Mar 1, 2023

Manjaro/Gnome has both Xorg (x11) and Wayland. I am talking about rustdesk on Manjaro/Gnome on Xorg that is not working.

@rustdesk rustdesk reopened this Mar 1, 2023
@rustdesk rustdesk changed the title X11 error: connection refused after login on gnome X11 error: connection refused after login on gnome (arch/manjora gnome) Mar 1, 2023
@ceewanna
Copy link

ceewanna commented Mar 1, 2023

  1. Activating rustdesk from icon not working.
  2. Activating rustdesk from command line has this screen.

anydesk00001-1

@rustdesk
Copy link
Owner

rustdesk commented Mar 1, 2023

Looks like a lot of problems on arch/manjora gnome.

@rustdesk
Copy link
Owner

rustdesk commented Mar 1, 2023

  1. Activating rustdesk from icon not working.
  2. Activating rustdesk from command line has this screen.

anydesk00001-1

Icon is old, seems an old nightly build.

@ceewanna
Copy link

ceewanna commented Mar 1, 2023

It is 1.2.0, taken probably last month.

@rustdesk
Copy link
Owner

rustdesk commented Mar 1, 2023

It is 1.2.0, taken probably last month.

Try out latest nightly, we modified rustdesk.desktop 20th last month, it should work for you.

@NicKoehler NicKoehler changed the title X11 error: connection refused after login on gnome (arch/manjora gnome) X11 error: connection refused after login on gnome (arch/manjaro gnome) Mar 1, 2023
@ceewanna
Copy link

ceewanna commented Mar 1, 2023

1.2.0 as of today

  1. Upon Linux login, activating rustdesk icon requires hitting the icon at least the second time to see the main screen pop up.
  2. The main screen still shows "Warning: Login screen using Wayland is not supported." though it is actually x11.
  3. Able to enter id and remote login to another pc.

@rustdesk
Copy link
Owner

rustdesk commented Mar 6, 2023

2. The main screen still shows "Warning: Login screen using Wayland is not supported." though it is actually x11.

Login screen is different thing as you think.

@rustdesk
Copy link
Owner

rustdesk commented Apr 25, 2023

@NicKoehler Could you test latest build? #4136 may fix this.
https://github.com/rustdesk/rustdesk/releases/tag/nightly

@NicKoehler
Copy link
Contributor Author

I can test it, but the issue did not occur every time. I am unsure how to replicate the behavior, as it rarely occurred

@NicKoehler
Copy link
Contributor Author

It didn't happen anymore for now. I'll reopen the issue if I see it happening again.

@rustdesk rustdesk reopened this Jul 24, 2023
@rustdesk
Copy link
Owner

rustdesk commented Jul 24, 2023

again #5095 #5126

@rustdesk rustdesk added the help wanted Extra attention is needed label Jul 24, 2023
@vanillyn
Copy link

i think there may be another cause, as sometimes rustdesk resets the configuration when on arch linux
however, even after setting the config back, it will not work
though it sometimes does work, but we havent figured out how or when

@vanillyn
Copy link

vanillyn commented Jul 28, 2023

issue also appears when self-hosting the rustdesk server
when self-hosting, both journalctl and systemctl status do not show any errors
neither do the client-side logs or the logs of the other computer

so i have absolutely no idea how to debug this

@rustdesk
Copy link
Owner

rustdesk commented Aug 1, 2023

@vanillyn please try out latest nightly build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants