Problems Connecting to xrdp xfce desktop after Ubuntu Upgrade
Hi, I just upgraded my linux box from 11.10 to 12.04 last night. Everything went smooth except for one issue. I use xrdp over ssh to connect to the machine remotely. After the upgrade on the first boot I had an issue where it said failed to load gnome. Well, I found a rather hidden drop down menu in the default x-gui and managed to get back to my xfce desktop by choosing it. So, that's not an issue anymore when logged in locally.
The last time I did an upgrade I didn't have this remote issue with it trying to load gnome. It just stuck with the default xfce which is what I want because this is an old machine and xfce works great remotely. So, now when I try to connect to my ubuntu machine remotely using Windows mstsc (remote desktop)I get the same failed to load gnome message I got on first boot up. However, I can't change anything on the remote session to choose xfce like I did locally. Here's my screen shots and my xrdp.ini file. I can't determine what gui/session environment the xrdp specifies but I don't see gnome or xfce in the file. It used to just connect to xfce fine before the upgrade. It also didn't have this issue previous upgrade. Any ideas how I cant get xrdp to load xfce again? Xrdp login (note I've always used the sesman-Xvnc to connect to desktop using xrpd. Their are other drop downs for just xrdp but that doesn't work and apparently requires very low resolution. Xrdp login http://home.comcast.net/~16v/linux/xrdplogin.png Gnome error: http://home.comcast.net/~16v/linux/gnomeerror.png Sry couldn't figure out how to turn on html code and img tags. Thx for any/all help! I'd rather use xrdp but I'll try a vpn connection if necessary but this has always worked for my remote needs. xrdp.ini Code:
[globals] |
Ok, I've done some searching and apparently I'll need to modify this file. At least it appears that way. Not sure what this file had in it previous to update to 12.04.
/etc/xrdp$ cat startwm.sh #!/bin/sh if [ -r /etc/default/locale ]; then . /etc/default/locale export LANG LANGUAGE fi . /etc/X11/Xsession Any suggestions? Thx, tired and need some zzzzz's |
Still diggin. I think it's between a few files. Any suggestions?
cat sesman.ini [Globals] ListenAddress=127.0.0.1 ListenPort=3350 EnableUserWindowManager=1 UserWindowManager=startwm.sh DefaultWindowManager=startwm.sh [Security] AllowRootLogin=1 MaxLoginRetry=4 TerminalServerUsers=tsusers TerminalServerAdmins=tsadmins [Sessions] MaxSessions=10 KillDisconnected=0 IdleTimeLimit=0 DisconnectedTimeLimit=0 [Logging] LogFile=/var/log/xrdp-sesman.log LogLevel=DEBUG EnableSyslog=0 SyslogLevel=DEBUG [X11rdp] param1=-bs param2=-ac param3=-nolisten param4=tcp [Xvnc] param1=-bs param2=-ac param3=-nolisten param4=tcp |
Well, as a temporary work-around I deleted the startwm.sh and then did a remote desktop connection. It dropped me right to a shell and then I typed startxfce4 and it's in. But this isn't the fix I'm looking for. Any suggestions?
I supposed I'll wipe out xrdp and reinstall to see if that fixes it if no other suggestions. |
Fixed
Welp, guess I'll respond one more time to my own thread. LOL
I managed to fix this by adding this line to my startwm.sh file. I changed the last line in this file FROM: . /etc/X11/Xsession TO: xfce4-session BAM! xfce4 baby! |
Thanks, same problem here and your solution worked for me.
|
thanx for all your work on your own thread. i was having same problem using rdp on my android device to access my mint box. i noticed as you did that the error was same as starting xsession instead of xfce locally. oddly when i fresh install as w/ your upgrade it wants to use xsession as default. i don't know what this is used for. soon as i install some programs i can no longer log in via xsession and must change default to xfce or mate etc...anyway thanx again good work.
|
NuxIT... tnx a lot.. not only you helped me solving the same issue.
I've also laughed my ass off. 1 man army ... lol ... tnx =) |
worked on linux mint 13 mate
Changing to mate-session worked like a charm, thank you!
|
Had the same issue and this fixed it. thanks!
|
Very Cool! Glad to hear this worked for a lot of people. Didn't know I was solving something so many other people were going to have issues with as well. I was very close to reloading from scratch but kept at it and felt redeemed. LOL Cheers!
|
Thanks NuxIT,
I had XRDP on a CentOS 7 setup. Like you I had configured xfce because the rig run headless and just doesn't need a fancy WM. After a lot of poking around I figured out that the WM was not starting and searching for XRDP and XFCE, I found your post. This fix is still relevant! |
Quote:
|
All times are GMT -5. The time now is 01:56 AM. |