Jason,
A couple of things for you to try:
1) If possible, compile the staging/1.2.0 guacd code and see if it is fixed
in that version.  It's possible this is already addressed by some fixes
that have already been committed.
2) Run gdb with guacd and get a stack trace of the segfault that's
happening here so that we can track down where it's occurring.  This would
be something like:

gdb /path/to/guacd -f
gdb> set follow-fork-mode child
gdb> go

Then run the RDP connection and reproduce the disconnect and post the stack
trace back here.

-Nick

On Wed, Apr 15, 2020 at 8:55 PM Jason Keltz <[email protected]> wrote:

> Nick,
>
> Any additional feedback on how to resolve this issue?
>
> I'm sure there are many people running Guacamole under CentOS 7 with EPEL
> xrdp.  I just don't understand what is causing guacd to report the error
> below, and how to fix it.  Even Dr. Google doesn't help.
>
> Jason.
> On 4/15/2020 1:01 PM, Jason Keltz wrote:
>
> Hi Nick,
>
> Everything is running from guac 1.1.0.
>
> There's no messages from dmesg on the RDP host.
>
> guacd reports on the server:
>
> Apr 15 12:54:41 remotelab guacd[17580]: guacd[22724]: WARNING:
> Received clipboard data cannot be sent to the RDP server because the RDP
> server has requested a clipboard format which was not declared as
> available. This violates the specification for the CLIPRDR channel.
> This looks to be when I do a cut operation.  Any thoughts on what this
> would be?  I'm running the epel package of xrdp.
>
> I see a few core dumps from guacd on the server as well, but not at the
> times when I'm doing this... likely some other issue:
>
> [328607.147080] guacd[822]: segfault at 7f0e0aba401c ip 00007f0e1252389b
> sp 00007f0e08ff8c00 error 4 in
> libguac-client-rdp.so.0.0.0[7f0e124fe000+3b000]
> [330573.985939] guacd[1018]: segfault at 7f0e0a50701c ip 00007f0e1252389b
> sp 00007f0e08ff8c00 error 4 in
> libguac-client-rdp.so.0.0.0[7f0e124fe000+3b000]
>
> I did restart guacd and it didn't help.
>
> Jason.
> On 4/15/2020 11:11 AM, Nick Couchman wrote:
>
> On Wed, Apr 15, 2020 at 10:51 AM Jason Keltz <[email protected]> wrote:
>
>> Hi.
>>
>> I have an odd situation occurring.  I'm connected (through Guac) to a
>> CentOS 7 machine via RDP.  The desktop environment is the standard
>> GNOME.  I have only a terminal window open.  When I select text in the
>> terminal window, then right-click and select "Copy", the RDP session
>> disconnects and Guacamole reports "The remote desktop server is current
>> unavailable. If the problem persists, please notify your system
>> administrator, or check ...". It then reconnects, but if I choose
>> "paste", the text I cut is not in the buffer.  Any ideas on how to solve?
>>
>>
> Sounds like something is crashing - you'll need to narrow down if it is
> xRDP or guacd that is exiting abnormally.  I'd start with the following:
> - Take a look at "dmesg" output on the systems running both xRDP and guacd
> and see if you see any "segfault" messages.
> - Look at syslog on both systems and see if you can see any reason given
> for either xRDP or guacd crashing.
> - Look at the system running guacd and see if the log messages in syslog
> (journalctl, /var/log/messages, etc.) and see what guacd is saying is the
> reason for the connection closure.
>
> Also, what version of guacd are you running?
>
> -Nick
>
>

Reply via email to