Problems Connecting to xrdp xfce desktop after Ubuntu Upgrade
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136
Rep:
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.
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!
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.
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!
Years later I just noticed this is still fixing a few peoples issues. Glad to hear it!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.