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.

1

Tuesday, July 18th 2006, 10:19pm

tsclient path problem

Hey there,
When I launch tsclient from the K-Menu launcher and hit connect, it spawns /usr/local/bin/rdesktop. When I run it from within a bash shell, I get /usr/bin/rdesktop, which is what I need/expect.

Is there some path setting in kde that I am missing?

KDE is 3.5.3-0.4.fc5
DW

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Thursday, July 20th 2006, 3:36pm

RE: tsclient path problem

Does the menu entry actually point to /usr/bin/rdesktop ? Run kmenuedit, select the menu entry and check what it executes.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Thursday, July 20th 2006, 4:55pm

RE: tsclient path problem

No, it points to /usr/bin/tsclient. Why would the path to the rdesktop binary be defined in tsclient's menu entry?
DW

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

4

Thursday, July 20th 2006, 5:14pm

RE: tsclient path problem

Sorry, a misinterpretation on my side. Maybe it helps to set the work path to /usr/bin inside the menu entry?
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

5

Thursday, July 20th 2006, 9:04pm

RE: tsclient path problem

It doesn't . Perhaps there is a way to enable verbose logging or something like that. Normally i'd run the app from a terminal to debug, but it works there...
DW

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

6

Friday, July 21st 2006, 10:56pm

RE: tsclient path problem

It could be the $PATH variable, that /usr/local/bin is earlier given than /usr/bin . I don't really know where KDE gets the $PATH from though.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

7

Tuesday, August 1st 2006, 4:45pm

RE: tsclient path problem

I would agree, KDE must have a default environment that it launches apps in. I just have not yet figured out how to set it and i'm beginning to think it's a compiled-in thing...
DW