-
-
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
Arch Linux : Can't start Xorg X server #2253
Comments
Your X server isn't starting:-
On Arch, you should be trying to run Edit |
I have the same problem (on Manjaro) |
Find the line in
Run the command as displayed on the command line as the user you are trying to use with xrdp and see what happens. So for the line above, try entering this command:-
|
Exactly the same problem here. xrdp is running as root and the above command works as root. |
@Lifschitz - you shouldn't need to run the X server as root. If the command you're entering is the same as the above (with no filepath for the X server), you will be running Xorg from the PATH. This isn't recommended for non-root users. See this comment above. |
Same exact problem here when root user invokes command no problem but non-root users can not start session using Xorg. |
|
Soulution: /etc/X11/Xwrapper.config
than add your user to do the input and video groups. |
Thanks for the links @mustafa58, and for taking the time to look into this. I can only re-iterate that if you shouldn't need to edit I think in your case, the X config appears to be loading a driver for a physical card too, which is why you're running in to the problems with the virtual console:- [ 5864.977] (**) ServerLayout "X11 Server" [ 5864.977] (**) |-->Screen "Screen (xrdpdev)" (0) [ 5864.977] (**) | |-->Monitor "Monitor" [ 5864.977] (**) | |-->Device "Video Card (xrdpdev)" [ 5864.977] (**) | |-->GPUDevice "Card0" [ 5864.977] (**) |-->Input Device "xrdpMouse" [ 5864.977] (**) |-->Input Device "xrdpKeyboard" On my (virtual) system, the corresponding lines are:-
Most likely thing to my mind is that there's a file in As well as the Could you possibly try adding the line in bold below to your Section "ServerFlags" # This line prevents "ServerLayout" sections in xorg.conf.d files # overriding the "X11 Server" layout (xrdp #1784) Option "DefaultServerLayout" "X11 Server" Option "DontVTSwitch" "on" Option "AutoAddDevices" "off" Option "AutoAddGPU" "off" EndSection If this works, it will be simpler than adding users to groups and changing udev rules, and we can add a quick fix to get this in to xrdp. If it doesn't work, I'd like to see the X server log. |
@mustafa58 - did adding the Thanks. |
Hi @matt335672 , I am experiencing a similar issue as @mustafa58 . Adding If you would like me to file a separate issue, post my logs, etc., please let me know. |
Fixed by neutrinolabs/xorgxrdp#241 |
i have install xrdp and xrdp-sesman, they can start ,but have some problems.My system is archlinux Kernel: 5.17.5
here is the xrdp service
here is the xrdp-sesman service
xrdp.log
xrdp-sesman.log
cat /home/nian/.xinitrc
The text was updated successfully, but these errors were encountered: