Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-01-05 16:49:38

NoPainNoTartines
Member
Registered: 2021-01-05
Posts: 3

Can't use XRDP with XFCE4

Hello everyone !

I'm trying to remote control my linux laptop from my window PC. Both are on the same network.

The laptop run with Fedora 32, and have both xfce4 and xrdp installed. I coudn't make it to work, so I started looking in /var/log/message and found this:

 ... Xvnc :10 -auth .Xauthority -geometry 1280x768 -depth 32 -rfbauth /home/NoPainNoTartines/.vnc/sesman_passwd-NoPainNoTartines@localhost.localdomain:10 -bs -nolisten tcp -localhost -dpi 96

A couple of second later, xfce segfault

kernel: xfce4-session[7503]: segfault at  2c ip 000056303f7ef214 sp 00007ffea87b5ac8 error 4 in xfce4-session[56303f7d6000+1f000]

Checking the ~/.xsession-errors file I found this :

xfce4-session-Message: 16:35:21.107: SSH authentication agent is already running
gpg-agent[3819]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one

(xfce4-session:3802): xfce4-session-WARNING **: 16:35:21.110: gpg-agent returned no PID in the variables

(xfce4-session:3802): xfce4-session-WARNING **: 16:35:21.111: xfsm_manager_load_session: Something wrong with /home/NoPainNoTartines/.cache/sessions/xfce4-session-localhost.localdomain:10, Does it exist? Permissions issue?
/home/NoPainNoTartines/.xsession: line 1:  3802 Segmentation fault      (core dumped) xfce4-session 

The file ~/NoPainNoTartines/.cache/sessions/xfce4-session-localhost.localdomain:10 does not exist, but the
.../sessions/xfce4-session-localhost.localdomain:0 does.

I've read that you could add this to the .bashrc file to "force" xrdp to look for the 0 version

export DISPLAY=:0.0 # I tried with DISPLAY=:0 too

or

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

but it didn't work.
I tried (desperately) to

[@sessions]  cp xfce4-session-localhost.localdomain:0 xfce4-session-localhost.localdomain:10

but I didn't work, I got an error message stating that this session of XFCE was already running (obviously but, meh.).

I don't know what to do, I'm open to suggestion.

Thanks in advance ! Happy new year smile

NoPainNoTartines

Last edited by NoPainNoTartines (2021-01-05 16:51:32)

Offline

#2 2021-01-05 16:53:03

NoPainNoTartines
Member
Registered: 2021-01-05
Posts: 3

Re: Can't use XRDP with XFCE4

More details :

At this point I have ~/.Xclients and ~/.xsession file, both being executable and containing xfce4-session

Offline

#3 2021-01-05 23:11:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Can't use XRDP with XFCE4

Following these instructions work for me on Fedora 33. There is no mention of edits to the ~/.Xclients or ~/.xsession files though.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#4 2021-01-06 08:11:28

NoPainNoTartines
Member
Registered: 2021-01-05
Posts: 3

Re: Can't use XRDP with XFCE4

Hello

Yeah I've followed this and I've done as described.
The firewall isn't the issue here, my computer does connect to my laptop. It's juste that the session manager crash, and I don't know why hmm

Thanks for your repley

Offline

#5 2021-01-06 12:20:48

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Can't use XRDP with XFCE4

My point was that I followed those simple instructions and it worked. There was no need for me to edit  ~/.Xclients or ~/.xsession.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2023-01-24 05:22:59

edinatl
Member
Registered: 2023-01-24
Posts: 1

Re: Can't use XRDP with XFCE4

I am seeing the same problem on Kali, segfaults on launch:

[   29.949898] xfce4-session[1996]: segfault at 2c ip 0000555798557620 sp 00007ffe56ca78b8 error 4 in xfce4-session[555798542000+1c000]
[   29.949915] Code: 89 c5 e8 53 61 ff ff 48 85 ed 74 0e 48 83 c4 08 48 89 ef 5b 5d e9 60 b7 fe ff 48 83 c4 08 5b 5d c3 66 0f 1f 84 00 00 00 00 00 <8b> 47 2c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 8b 47 28 c3 66 66

I suppose the true problem might be elsewhere.  I'll try to come back if I figure it out.

Offline

#7 2023-06-12 16:47:15

jdeleon1966
Member
Registered: 2023-06-12
Posts: 1

Re: Can't use XRDP with XFCE4

@edinatl

I solved this problem by re-enabling the password for desktop login.  I installed at first by disabling the login prompt for login to the desktop.  As soon as I put the requirement back in for desktop login, things started working.

Offline

#8 2023-11-14 19:50:24

buhtz
Member
Registered: 2018-11-01
Posts: 21
Website

Re: Can't use XRDP with XFCE4

jdeleon1966 wrote:

I solved this problem by re-enabling the password for desktop login.

How do you "disable" that?

Offline

Board footer

Powered by FluxBB