-
Notifications
You must be signed in to change notification settings - Fork 113
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
Unable to compile #348
Comments
You need to pick a version of xorgxrdp which is compatible with your installed version of xrdp. It looks like you're trying to compile a recent version of xorgxrdp against an older version of xrdp. |
I am building xorgxrdp at v0.9.20, and xrdp at v0.9.25.1, is there anything wrong with this? I tried compiling the latest version, but it did not work. Thanks for your help. @matt335672 |
I finally got it to build (I don't know how, I didn't change anything) but glamor doesn't work. The screen is just blank. It worked just fine without it. The cursor on the screen is the correct remote cursor. |
I can think of two possibilities here:-
|
I am only using the new xrdp as a build input, not the already installed one. NixOS can do that very easily. As for the platform I am using, I am using i915-sriov as a guest vm. I assumed that was supported. Maybe it isn't thanks for the help. |
Try disabling glamor at runtime by setting the |
Where will it tell me that? |
Sorry - not being clear. Setting the |
It is still blank after setting DRMDevice. |
The most likely thing is a build/runtime issue then. I'm a bit concerned by this:-
I'm not familiar with NixOS, so I can't comment on your assertion. However, because xrdp uses dynamic libraries built as part of the project, it's very easy to get in a mix over this. I'd recommend starting with a system with no version of xrdp installed at all, and building both from scratch. We can sort out compilation issues as we go along. |
rdpClientCon.c:827:18: error: 'XRDP_a8r8g8b8' undeclared (first use in this function); did yo>
827 | case XRDP_a8r8g8b8:
| ^~~~~~~~~~~~~
| PICT_a8r8g8b8
rdpClientCon.c:827:18: note: each undeclared identifier is reported only once for each functi>
rdpClientCon.c:828:18: error: 'XRDP_a8b8g8r8' undeclared (first use in this function); did yo>
828 | case XRDP_a8b8g8r8:
| ^~~~~~~~~~~~~
| PICT_a8b8g8r8
rdpClientCon.c:831:18: error: 'XRDP_r5g6b5' undeclared (first use in this function)
831 | case XRDP_r5g6b5:
| ^~~~~~~~~~~
rdpClientCon.c:832:18: error: 'XRDP_a1r5g5b5' undeclared (first use in this function); did yo>
832 | case XRDP_a1r5g5b5:
| ^~~~~~~~~~~~~
| PICT_a1r5g5b5
rdpClientCon.c:845:37: error: 'XRDP_r3g3b2' undeclared (first use in this function)
845 | clientCon->rdp_format = XRDP_r3g3b2;
|
I am compiling from source on NixOS. It has all the libraries it needs. I have enabled glamor and simd, but it did not work without them.
The text was updated successfully, but these errors were encountered: