You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

daihard

Trainee

  • "daihard" started this thread

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

1

Saturday, December 11th 2004, 6:06am

Krdc problem w/ KDE 3.3.x

I cannot connect to my Windows XP machine using "krdc" that came with KDE 3.3.2. I had the same problem with KDE 3.3.1, though I was able to connect using the version of krdc that came with KDE 3.1.5, which came with the distro I use (Turbolinux).

Every time I run krdc with the following server name, I get the error dialog box saying "Could not start rdesktop; make sure rdesktop is properly installed."
[code:1]rdp:/daihard-xp:1[/code:1]
The exact same syntax works with the older version of krdc.

Wha am I missing here? I wonder if it's got to do with the fact that I built KDE 3.3.1/3.3.2 myself using Konstruct? Is there any library that I should have included with the build process? (I used "cd meta/kde; make install".)

TIA,
Dai
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

2

Saturday, December 11th 2004, 8:28am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von daihard

Every time I run krdc with the following server name, I get the error dialog box saying "Could not start rdesktop; make sure rdesktop is properly installed."
[code:1]rdp:/daihard-xp:1[/code:1]
The exact same syntax works with the older version of krdc.

I happen to have tried this yesterday, got the same error message and did what the message suggested: Check if rdesktop was installed. It wasn't ;-)

After installing it krdc worked for me (on Debian testing with a KDE from Debian unstable).

As to why it worked for you in 3.1 I can only guess. Maybe that version came with its own copy of rdesktop?

daihard

Trainee

  • "daihard" started this thread

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

3

Saturday, December 11th 2004, 8:38am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von cmbofh

I happen to have tried this yesterday, got the same error message and did what the message suggested: Check if rdesktop was installed. It wasn't ;-)

After installing it krdc worked for me (on Debian testing with a KDE from Debian unstable).

As to why it worked for you in 3.1 I can only guess. Maybe that version came with its own copy of rdesktop?

That's good to know. The only thing is, I don't have "rdesktop" anywhere on my computer. I guess I should download it from somewhere and try it. Since I built KDE 3.3.2 using konstruct, I looked at its directories to see if it included rdesktop. It didn't. :(

Thanks for the pointer, though. I'll let you know how it goes.
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

4

Saturday, December 11th 2004, 8:42am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von daihard

That's good to know. The only thing is, I don't have "rdesktop" anywhere on my computer. I guess I should download it from somewhere and try it. Since I built KDE 3.3.2 using konstruct, I looked at its directories to see if it included rdesktop. It didn't. :(

Thanks for the pointer, though. I'll let you know how it goes.
For me it was pretty simple: Just "apt-get rdesktop" and it was downloaded and installed automatically. Dunno how the package management of Turbolinux works, though.

Anyway, if you are planning to compile it yourself here's the homepage:
http://www.rdesktop.org/

Note: I'm not sure if you need a recompile of the krdc-related stuff or not after installing rdesktop.

daihard

Trainee

  • "daihard" started this thread

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

5

Saturday, December 11th 2004, 9:24am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von cmbofh

For me it was pretty simple: Just "apt-get rdesktop" and it was downloaded and installed automatically. Dunno how the package management of Turbolinux works, though.

Anyway, if you are planning to compile it yourself here's the homepage:
http://www.rdesktop.org/

Maybe I should try Debian... ;)

Thanks much for your help. I got it to work. The road to success wasn't as smooth for me, though.

First, Turbolinux did not have an RPM for rdesktop, so I went to the site you referred to and downloaded the source tarball. No biggie.

Second, ran the usual ./configure, make, and make install thingy. No errors. I had "rdesktop" installed under /usr/local/bin in no time.

Now I ran "krdc," however, it complained that the version of rdesktop (1.3.1 - the latest) was too old!

The error message also said the patch to make it work was available on KDE CVS. Doh! I looked in the konstruct directories hoping the patch was there too. I lucked out... found "rdesktop.patch" in one of the subdirectories.

So I applied it to the rdesktop source ("patch < rdesktop.patch") and recompiled/reinstalled rdesktop. Finally, yes, finally, krdc worked. :D

The irony is that while I was playing with rdesktop, I found that it had more configuration options than krdc. For instance, krdc does not allow you to set the colour depth while rdesktop does. I've spent some time getting krdc to work, but I may end up sticking with rdesktop...

Thanks again for all your help!
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

6

Saturday, December 11th 2004, 10:04am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von daihard

The irony is that while I was playing with rdesktop, I found that it had more configuration options than krdc. For instance, krdc does not allow you to set the colour depth while rdesktop does. I've spent some time getting krdc to work, but I may end up sticking with rdesktop...
I'd expect useful new features of rdesktop to appear in krdc sooner or later, too. So you may want to check it again in the next version of KDE (or even ask the author for it, by posting a wishlist bug at bugs.kde.org).

7

Saturday, December 11th 2004, 10:10am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von daihard

Now I ran "krdc," however, it complained that the version of rdesktop (1.3.1 - the latest) was too old!

The error message also said the patch to make it work was available on KDE CVS. Doh! I looked in the konstruct directories hoping the patch was there too. I lucked out... found "rdesktop.patch" in one of the subdirectories.
I've taken a look at the patch, and it adds an option so that it can be embedded in other windows. That capability seems to be required by krdc. The version I installed with apt-get is also 1.3.1, but it already has this option.

daihard

Trainee

  • "daihard" started this thread

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

8

Saturday, December 11th 2004, 10:21am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von cmbofh

I've taken a look at the patch, and it adds an option so that it can be embedded in other windows. That capability seems to be required by krdc. The version I installed with apt-get is also 1.3.1, but it already has this option.

Yeah, I looked at the patch, too, but I'm not sure what this additional function will actually do. I ran "man XReparentWindow" but didn't really undestand the description well. I guess I need to know a bit about X Window programming.
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

9

Saturday, December 11th 2004, 10:43am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von daihard

Yeah, I looked at the patch, too, but I'm not sure what this additional function will actually do. I ran "man XReparentWindow" but didn't really undestand the description well. I guess I need to know a bit about X Window programming.
Not as a user, of course. I just also found it strange that the most current stable version from www.rdesktop.org was considered too old so I took a look...

daihard

Trainee

  • "daihard" started this thread

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

10

Saturday, December 11th 2004, 11:05am

Re: Krdc problem w/ KDE 3.3.x

Quoted

Original von cmbofh

Not as a user, of course. I just also found it strange that the most current stable version from www.rdesktop.org was considered too old so I took a look...

I find that weird, too.

I put together an RPM package for rdesktop based on the source tarball and the patch file. The next time I build my own KDE, I will only have to install this RPM in order to get krdc to work (unless, of course, they have another patch). :)
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8