You are not logged in.
Pages: 1
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
NoPainNoTartines
Last edited by NoPainNoTartines (2021-01-05 16:51:32)
Offline
More details :
At this point I have ~/.Xclients and ~/.xsession file, both being executable and containing xfce4-session
Offline
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
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
Thanks for your repley
Offline
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
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
@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
I solved this problem by re-enabling the password for desktop login.
How do you "disable" that?
Offline
Pages: 1
[ Generated in 0.014 seconds, 9 queries executed - Memory usage: 548.15 KiB (Peak: 548.99 KiB) ]