-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
X server could not be started #2788
Comments
You might need to edit sesman.ini as hinted in comments.
|
Thanks for looking at this! I tried
I verified Here's my full /etc/xrdp/sesman.ini |
Then, what will you get when executing following command in the terminal (via SSH or something)? Outputs will help to investivate what's happening. Try both
|
I was able to run them in my local terminal. Results are below: first command results
second command results
|
Thanks, both look working fine. So it is an issue of
Quick solution is to use 0.9.23 instead, it is stable version. However, I would be glad if you would be willing to help us debug the development version. |
Oh wow, I didn't realize I ended up on the development version actually. Looks like trying to install the Installed stable version and it seems to be working now! (after a reboot and making sure I wasn't logged into a local session)
Happy to help any way I can! |
@matt335672 @derekschrock thoughts on waitforx? |
Yes - I have. @paul-hansen - here's a bit of background for you. The versions of xrdp before the development version start the X server and the session at the same time. That's normally fine, although if there's a problem with the X server it's only discovered when it's to late to report it on the login screen. The development version starts sub-processes in this order:-
When we put this architecture together we found a problem with xorgxrdp - see #2580 and neutrinolabs/xorgxrdp#254. The error exactly matches what you are reporting. This is fixed in the non-NVidia xorgxrdp development version. However, because you're using NVidia, you aren't running quite the same code paths. Rather than the randr module you're using a local replacement called lrandr. I don't believe this currently creates an output at startup under all situations - see this comment. @Nexarian - does my analysis above sound plausible to you? You know more about this area than I do. There's currently no option to not check for RandR outputs in A possible workaround would be:-
This effectively makes |
The waitforx issue was reproduced for me. In my case, the cause is I'm not using xorgxrdp with neutrinolabs/xorgxrdp#254 applied.
|
@paul-hansen When using xrdp 0.9.80 development snapshot, xorgxrdp also must be latest development snapshot. Do you remember which version did you use? |
That was likely the cause. As I mentioned, I hadn't realized that the failed attempt to install xorgxrdp-nvidia pulled in a dev version of xrpd after I had installed the non-dev version so they would have been mis-matched. (See my repro steps in OP) Sounds like this is solved so I'll go ahead and close this. Feel free to reopen if there's something outstanding though. Thanks all! |
HI @paul-hansen, please can you clarify exactly what packages you have installed? I'm on Arch Linux, and getting the same errors as in your original post, with almost identical hardware (RTX 3070 though) and package choices as you earlier.
As you mentioned, Thanks |
I believe I just used the non Nvidia from what I remember. I've done a system wipe since then and I didn't end up using this project since it seems to require always being logged in to be able to connect meaning I'd have to leave my PC unlocked and restarting would have to auto login which was too insecure for me. Ended up just installing Linux on both machines and using ssh with x11 forwarding. Not a long term solution as x11 will eventually be retired for Wayland. |
same Problem here, but... the waitforx nop from above is also needed then the login works for me |
It's an issue related to the version. And the version 0.9.25 works. xrdp-0.9.25-2.el9.x86_64 |
xrdp version
0.9.80
Detailed xrdp version, build options
Operating system & version
EndeavorOS
Installation method
other
Which backend do you use?
xorgxrdp
What desktop environment do you use?
KDE
Environment xrdp running on
Physical machine. Nvidia GeForce RTX 3080
What's your client?
Windows 11 default rdp client (mstsc.exe)
Area(s) with issue?
No response
Steps to reproduce
I followed these instructions: https://wiki.archlinux.org/title/xrdp
Specifically I used these steps:
Next I opened
~/.xinitrc
and commented out the last 5 lines starting withtwm &
and added these lines:Finally I attempted to connect with a Windows RDP client.
✔️ Expected Behavior
I was expecting the windows rdp client to connect
❌ Actual Behavior
On the windows client after entering credentials it waits for ~5-10 seconds on a blue screen then shows the connection log with this log:
See the attached xrdp-sesman.log for an additional message
It looks like I previously got the error:
I'm not sure what I did to change that error message, I wasn't watching those logs so I didn't notice the change.
Anything else?
/var/log/xrdp-sesman.log
/var/log/xrdp.log
/etc/X11/xrdp/xorg.conf
The text was updated successfully, but these errors were encountered: