-
Notifications
You must be signed in to change notification settings - Fork 7
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
How to debug? #7
Comments
you can set /etc/xrdp/xrdp.ini as follows then start with xrdp -n, you should be able to check the logs of xrdp and ulalaca-xrdp. [Globals]
; to attach debugger (lldb, gdb, ...), set fork to false
- fork=true
+ fork=false
; ...
[Logging]
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
; ...
+ EnableConsole=true
+ ConsoleLevel=DEBUG |
If the connection to the sessionprojector.app is also working properly, but the session is interrupted, please check PR #5. |
This is what I get when I try to connect. $ sudo /usr/local/sbin/xrdp —n
libc++abi: terminating with uncaught exception of type SystemCat1Exception: connect(): No such file or directory (2) I am not sure what file it can't find... The library? $ find / -name libulalaca.dylib
/usr/local/lib/xrdp/libulalaca.dylib My xrdp.ini config looks like this
|
I logged file related syscalls with opensnoop: Expand the log
|
Just out of curiosity, I tried to resolve the missing
After that, it started complaining about missing sessionprojector
So I copied that one too
Now it complains about XPCServices
After I creted the XPCServices folder, opensnoop stops complaining about missing files (besides the locale files), but the runtime error still persists.
|
I think you have built or installed sessionprojector/sessionbroker incorrectly.
|
That one I've done. I have the app bundle in Applications folder
This is what I get in console when I try to log in... |
maybe you should copy https://github.com/team-unstablers/ulalaca/blob/main/sessionbroker/pam.d/ulalaca-sessionbroker to |
I wiped everything and started from scratch. xrdp crashes the moment I try to connect.
stacktrace:
|
Hi,
I compiled and installed everything.
Now I get an error when I try to log in, immediately after I confirm the username/password on xrdp login screen:
When I try to connect with "Remote Desktop Connection Manager" instead of mstsc.exe, I get a slightly different error that says
[Socket closed]
.How can I best debug what's going on when I initiate the connection?
The text was updated successfully, but these errors were encountered: