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
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,281

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.

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
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,281

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.

Offline

Board footer

Powered by FluxBB