FreeBSD Port kdenetwork3-3.4.0

Rusty Nejdl rnejdl at
Thu Apr 21 09:24:53 PDT 2005

The current build of krdc within kdenetwork3 does not work for rdesktop in
the ports tree.  It errors out saying that the current version you are
running is too old, but that is simply because they don't handle that
error case correctly.  What's going on is that the call to rdesktop fails
because the krdc program puts the flags in the wrong order.  At line 213
of krdpview.cpp, you see:

        *m_process << (m_host + ":" + QString::number(m_port));
        *m_process << "-a" << QString::number(hp->colorDepth());

Instead, these lines should be reversed such that the host and port number
are last:

        *m_process << "-a" << QString::number(hp->colorDepth());
        *m_process << (m_host + ":" + QString::number(m_port));

as is specified here:

[tethys]:/usr/ports/net/kdenetwork3/work/kdenetwork-3.4.0/krdc/rdp> rdesktop
rdesktop: A Remote Desktop Protocol client.
Version 1.4.0. Copyright (C) 1999-2005 Matt Chapman.
See for more information.

Usage: rdesktop [options] server[:port]

If you guys could put a patch into the kdenetwork3 port for this, that
would be completely appreciated.

Rusty Nejdl
Ring of Saturn

More information about the freebsd-ports mailing list