mariofrombelgium
Posts: 3
Joined: Wed Jun 03, 2015 6:46 am

XRDP desktop not correct for new user

Wed Jun 03, 2015 8:06 am

Hi,

I have setup my Pi headless and I can without any problem putty or xrdp connect to it (from windows pc)....when I'm using the pi user account.

I have created a new user account. With these credentials I can connect seamlessly with putty. Over xrdp I encounter a problem.
I don't get an error but the desktop that is presented is not correct. All I see is the big raspberry in the middle and a waste bucket jumping up and down in the left upper corner. It looks like the rasp is trying to generate the top-menu bar but doesn't succeed.

What have I done so far :
Created the user and added it to the groups :users, pi, adm, sudo Basically the ones that pi is in and I thought were maybe relevant.

What else am I missing here?

Mario

vincent23078
Posts: 1
Joined: Wed Jul 15, 2015 11:21 am

Re: XRDP desktop not correct for new user

Wed Jul 15, 2015 11:22 am

Hi Mario,

I have the exact same problem. Have you found a fix for it. Let me know. Thank you.

Shiva
Posts: 4
Joined: Mon Jul 13, 2015 12:34 pm

Re: XRDP desktop not correct for new user

Wed Jul 15, 2015 12:05 pm

It could be that a .xsession file is missing in the home directory of the user you created.

I tried to reproduce the problem:

I created a new user an tried to get connection via remotedesktop (XRDP installed on ubuntu).
But no Desktop showing (instead it showed me lack/white dotted background, it differs from your problem but maybe the solution down here could work).

Try to create a .xsession file into /home/<newUser>

If you use Lubuntu-GUI:

- echo lxsession -s Lubuntu -e LXDE > /home/<newUser>/.xsession

This works for Lubuntu GUI.
For other GUIs, there should be other commands.

Sincerly
Shiva

User avatar
KLL
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: XRDP desktop not correct for new user

Tue Aug 11, 2015 12:14 pm

mariofrombelgium wrote:Over xrdp I encounter a problem.
I don't get an error but the desktop that is presented is not correct. All I see is the big raspberry in the middle and a waste bucket jumping up and down in the left upper corner. It looks like the rasp is trying to generate the top-menu bar but doesn't succeed.
add the new user to group audio ( trust me i just needed 15 reboots to find that one )
new user:
sudo adduser mynewuser
add it to group audio
sudo adduser mynewuser audio
or better give all groups like pi ( but sudo )
if you started already a xsession must reboot, because a rdp windows close, not close the session.
the file .xsession-errors might be already some MB, delete it.

Return to “Troubleshooting”