Score:0

Cannot remote login when removing xfce

cn flag

I have Windows 10 machine that I want to use to remote login to my Ubuntu laptop. I installed xrdp on the laptop and when I try to connect to it through Remote Desktop Connection on Windows I get a black screen for about a second and then the a Remote Desktop Connection shuts down and I'm back on my Windows desktop, not on the Ubuntu.

If I install xfce on the laptop I can use the Remote Desktop Connection tool to connect but then I get the xfce skin/theme, and I would like to use the default Gnome skin/theme I also use when I work on the laptop.

So I think I don't have a client to use when I use the Remote Desktop Connection tool. Is there a way to just use the default Gnome skin/theme?

cn flag
I'm sorry for the confusion. I've updated the question. The problem is that Remote Desktop Connection crashes back to the windows desktop. So I can't connect to Ubuntu. How can I make xrdp work connect to GNOME?
Score:0
ng flag

This link solved my problem: https://askubuntu.com/a/1388619/1692873

In case anyone else runs into this problem, the solution is:

Edit /etc/xrdp/startwm.sh sudo nano /etc/xrdp/startwm.sh

Delete these lines test -x /etc/X11/Xsession && exec /etc/X11/Xsession

exec /bin/sh /etc/X11/Xsession

Instead type the following at same place: startxfce4

Restart xrdp sudo /etc/init.d/xrdp restart

Score:0
cn flag

Finally got it back up and running by using:

echo "gnome-session" > ~/.xsession
chmod +x ~/.xsession
sudo systemctl restart xrdp.service
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.