-
-
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
Unable to contact settings server on Manjaro #2666
Comments
Thanks for your help. A/ I already had made the following changes when xrdp was working :
B/ Xrdp updates have removed pam_close_systemd_system_dbus.so entry in /etc/pam.d/xrdp-sesman I set systemctl default-target to multi-user.target ( ##2258). I stop tigervnc service (x0vncserver) I also connect to xrdp with another user than those connected in ssh to to the tests no .xsession-errors file generated no errors in xrdp service status but errors in xrdp-sesman service : ● xrdp-sesman.service - xrdp session manager mai 14 11:43:47 owhomel1 xrdp-sesman[1045]: [ERROR] sesman_data_in: scp_process_msg failed No solution found at this time. |
Can you get a terminal window open in your session? If so, what do you get for these commands:-
|
I hope it's what you expect. |
That's an empty file, and not at all expected. Try this:-
Press CTRL-D to exit the xterm |
Sorry, it's not what I expected too... |
Thanks. Those both look absolutely fine. The What does your |
startwm.sh, same version than the .pacnew version. The .pacsave version doesn't work at all (fall to xterm !!!) |
We need to trace this I think. Can you type in the following when logged in as the target user and then post the output?
Also, do you have anything in |
Normaly nothing particular in .xinitrc. xfce as default desktop. |
Thanks. For the benefit of anyone else following this we're getting this in the log:-
En Anglais:-
That's fine - we set the DISPLAY to a dummy value to trace the script. What isn't fine is that a D-Bus session is being created for you by I think your get_session() function should look more like this:- get_session(){
local args=
if [[ -z $DBUS_SESSION_BUS_ADDRESS ]]; then
# Need dbus-session
args+=(dbus-launch --sh-syntax --exit-with-session)
fi
case "$1" in
awesome) args+=(awesome) ;;
bspwm) args+=(bspwm-session) ;;
budgie) args+=(budgie-desktop) ;;
cinnamon) args+=(cinnamon-session) ;;
deepin) args+=(startdde) ;;
enlightenment) args+=(enlightenment_start) ;;
fluxbox) args+=(startfluxbox) ;;
gnome) args+=(gnome-session) ;;
i3|i3wm) args+=(i3 --shmlog-size 0) ;;
jwm) args+=(jwm) ;;
kde) args+=(startplasma-x11) ;;
lxde) args+=(startlxde) ;;
lxqt) args+=(lxqt-session) ;;
mate) args+=(mate-session) ;;
xfce) args+=(xfce4-session) ;;
openbox) args+=(openbox-session) ;;
*) args+=("$1") ;;
esac
echo "${args[*]}"
} Can you edit your xinitrc and change the function to look like that? Then try logging in again. If it doesn't work, please post another trace. |
Error is now quite different. After login screen, Blue background switch to black and client exits. below xrdp-sesman.log. I attached display-startwm.sh logs. One from ssh, the other from Manjaro's xfce terminal. [20230517-14:56:41] [INFO ] starting xrdp-sesman with pid 241275 [20230517-14:57:10] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans display-startwm_sh-2-ssh.log |
Both those logs look a lot better. Problem now is the session is starting and exiting quickly:-
Add this near the top of your .xinitrc if [ -n "$XRDP_SESSION" ]; then
set -x
exec >~/xrdp-debug.log 2>&1
fi That will give us a debug log in You're not logged in as |
@matt335672 You where right concerning a the user olivier already logged onto the graphical console. It seems to be the cause of the last issue. Many thanks, xrdp is working again on my Manjaro XFCE. So the trouble came from dbus session already created. I don't kwo why this appear now. As xrdp is working as expected, It' may be a good idea to expose my .xinitrc file as it's working well isn't it ? This leads to other questions :
The weakness of xrdp is that it's quite slow. Poping up start menu count in seconds... |
We don't have one yet. This is being tracked in #2491
xrdp is fine with mutiple sessions-per-user on FreeBSD and Devuan. The issue is with the way that The best option for performance on xorgxrdp currrently is to use RemoteFX. This is not supported for Windows 11 clients - ~Microsoft have deprecated it (#2400). For the Windows 10 client, you need to set your connection speed to 'LAN' on the experience tab of MSTSC and make sure you're using 32-bit colour. Other clients will have their own ways of implementing it. Also:-
|
Sorry for the lack of feedback. I had already wrote a message a week ago but I guess I didn't validate the preview. So I write it again... In fact multiple session per user is not my priority. I'll follow #2491 issue. Remote FX seems not the good horse. It's deprecated and removed for all windows versions now. The best optimisation was to remove background picture. XFCE Compositor was already disabled. I alreay use VNC (TigerVNC seems better than X11VNC) for but it lacks of security/encryption. I didn't find an easy way to use SSH tunnel with Windows clients. An important info : To conclude I've made a clean Xrdp installation on a new Manjaro (22.1.3).
|
Thanks for that @Cromagnon31 I'd like to add that your Xwrapper.config shouldn't be necessary. See this comment for CentOS 8 and also #2253 for Arch. On Arch/Manjaro, the setting should be |
@matt335672 You're right for Xwrapper.config. It's not necessary. I've removed it. |
I shouldn't worry @Cromagnon31. I like to think that the users reading this forum have the ability to read more than a single post when trying to resolve issues. |
Hi,
I need some help to resolve this issue.
xrdp is installed on an up to date Manjaro XFCE.
xrdp version is 0.9.21.1-1
xorgxrdp version is0.9.19.2
Xrdp was working fine. I did not use for some weeks and I didn't understand what is going wrong now.
I've tried to understand the trouble but without any success.
Connection and authentication seems ok, and after that I have a graphical error popup wich could be translated as: "Unable to contact settings server".
Thanks in advance for your help.
xrdp.log
xrdp-sesman.log
The text was updated successfully, but these errors were encountered: