Replies: 12 comments 17 replies
-
Most likely thing is you haven't specified a path to Xorg in |
Beta Was this translation helpful? Give feedback.
-
I had already edited seman.ini to provide the full path to Xorg.
|
Beta Was this translation helpful? Give feedback.
-
We had a fix for the RandR input problem a while ago:- Your initial report doesn't seem consistent with this however. If the screen resize is being generated, it's likely a connection has been made. Can you check the |
Beta Was this translation helpful? Give feedback.
-
Thanks. It looks to me like your xorgxrdp is missing neutrinolabs/xorgxrdp#254 Log in to the box over ssh and run this command:-
Hit CTRL-Z and type the command Then see what the command After that, kill the X server by using |
Beta Was this translation helpful? Give feedback.
-
Overriding XAUTHORITY won't work - see #2417 That all looks OK to me. Starting Xorg in that way gives you an XrandR output which you can see in the output. This is a bit of a mystery at the moment, made more difficult as I can't be sure exactly what you've built and installed. It certainly looks like neutrinolabs/xorgxrdp#254. Let's try to get this test working properly. Here's a script for you. You may need to change the path in the WAITFORX= line depending on where xrdp is installed:- #!/bin/sh
WAITFORX=/usr/local/libexec/xrdp/waitforx
export DISPLAY=:11
unset XAUTHORITY
rm -f .Xauthority
/usr/lib/xorg/Xorg $DISPLAY -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log > /dev/null 2>&1 &
XORG_PID=$!
xrandr
$WAITFORX -d $DISPLAY
kill $XORG_PID
wait
grep SetRdpOutputs .xorgxrdp.${DISPLAY#:}.log See what that gives you. |
Beta Was this translation helpful? Give feedback.
-
The hang sounds like a race which suggests the X server is taking longer to start than perhaps it should. Can you post the whole |
Beta Was this translation helpful? Give feedback.
-
I can see a huge hang in the Xorg log file before this message:-
You might have some stale lock files which are causing this. What do you get after running the script for |
Beta Was this translation helpful? Give feedback.
-
The script removes the file and it seems to fail to recreated when it's not present. I modified the test script to
|
Beta Was this translation helpful? Give feedback.
-
@isaki - I can't understand why you want to add a symlink. Where is this symlink pointing? |
Beta Was this translation helpful? Give feedback.
-
Thanks. The xauthority file seems to be a bit of a rabbit-hole which I think we need to climb out of. Let's edit the test file to work more like xrdp does. Can you add this line to
Also, move the Then try running the file. Post the output from that, and also post the contents of |
Beta Was this translation helpful? Give feedback.
-
That all looks absolutely fine to me. Given that's what xrdp actualy does, I can't see where the problem could be at the moment. Can you create a new user on the system with a default configuration and see if that works? |
Beta Was this translation helpful? Give feedback.
-
Greetings,
I have installed (from source) xrdp 0.10 and xorgxrdp 0.10.1. I am able to connect to xrdp, however, after some time, I get a warning window that the X server could not be started (and the ability to log into xrdp once again, so I am getting display output).
I am running Ubuntu 22.04 LTS.
The only error that I can seem to find is in the system log:
Has anyone seen this before, and if so, is there a trick to fixing it? I was using 0.9.24 on this system previously (I'd get a blank screen for 60 seconds, then I'd get my desktop), but the NVMe failed and I had to do a clean install of everything, so it's entirely possible I've missed something important in my rush to get this system working again.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions