View previous topic :: View next topic |
Author |
Message |
h3nk n00b
Joined: 14 Apr 2006 Posts: 25
|
Posted: Fri Oct 27, 2006 10:26 am Post subject: problems with my PATH |
|
|
hello,
i have a problem with kde-apps like kmail or kview. the thing is, that i cannot execute them by typing "kmail" for example, but when i cd to /usr/kde/3.5/bin i can execute them by "./kmail". so i guess the problem lies in the PATH-line in my profile.env, but there is already /usr/kde/3.5/bin.
what else could solve my problem ?
thank you very much for your answers ! |
|
Back to top |
|
|
gauthma n00b
Joined: 19 Jun 2005 Posts: 13
|
Posted: Fri Oct 27, 2006 11:10 am Post subject: |
|
|
Could you post your PATH variable here? One easy way of doing this is using the command "echo $PATH" (without double quotes) on a bash session.
Regards _________________ "Talk is cheap. Show me the code."
--Linus Torvalds |
|
Back to top |
|
|
h3nk n00b
Joined: 14 Apr 2006 Posts: 25
|
Posted: Fri Oct 27, 2006 11:46 am Post subject: |
|
|
here it is, thx for hint, btw.
Code: | trashcan ~ # echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/opt/vmware/workstation/bin
|
[edit]
i noticed, this problem only exists for me as user, as root i can execute everything as it should be, maybe this gives somebody a clue |
|
Back to top |
|
|
gauthma n00b
Joined: 19 Jun 2005 Posts: 13
|
Posted: Sat Oct 28, 2006 10:35 am Post subject: |
|
|
For I can tell, the PATH you've posted is the PATH of the root user. And that does include the relevant KDE directories, thus enabling you to start KDE apps as root. Post the PATH for your normal (i.e non-root) user, as it is likely to be the one that is not properly set up. _________________ "Talk is cheap. Show me the code."
--Linus Torvalds |
|
Back to top |
|
|
h3nk n00b
Joined: 14 Apr 2006 Posts: 25
|
Posted: Sat Oct 28, 2006 11:28 am Post subject: |
|
|
okay, and where do i fand that PATH ? |
|
Back to top |
|
|
gauthma n00b
Joined: 19 Jun 2005 Posts: 13
|
Posted: Sat Oct 28, 2006 11:41 am Post subject: |
|
|
You do the same thing you did to get the root PATH, but in a shell where you are logged as the normal user, not the root _________________ "Talk is cheap. Show me the code."
--Linus Torvalds |
|
Back to top |
|
|
h3nk n00b
Joined: 14 Apr 2006 Posts: 25
|
Posted: Sun Oct 29, 2006 6:10 pm Post subject: |
|
|
Code: | h3nk@trashcan ~ $ echo $PATH
/bin:/usr/bin:/usr/X11R6/bin |
okay, that's it, where can i modify this entry ?
btw., could there be an association to my problem with gnome only starting when i choose "failsafe" in gdm ?
greetz and thanks and apologies for my bad english |
|
Back to top |
|
|
h3nk n00b
Joined: 14 Apr 2006 Posts: 25
|
Posted: Fri Nov 03, 2006 3:31 pm Post subject: |
|
|
hello ?
has nobody here an idea how to solve this ?
i changed the $path in /etc/profile but this changed nothing, i'm helpless |
|
Back to top |
|
|
Shadow Skill Veteran
Joined: 04 Dec 2004 Posts: 1023
|
Posted: Sat Nov 04, 2006 7:02 am Post subject: |
|
|
Put something like the following into your ~/.bashrc
Code: | PATH=$PATH:~/Ruby\ stuff:/opt:/opt/mozilla/bin:/usr/local/bin:/usr/lib:/usr/local/lib:/opt/kde/bin:/usr/bin
export PATH | log out and then log back in and then you should be able to launch kde programs as your regular user with no problem. _________________ Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.
"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it." |
|
Back to top |
|
|
h3nk n00b
Joined: 14 Apr 2006 Posts: 25
|
Posted: Sun Nov 05, 2006 11:31 am Post subject: |
|
|
that didn't work for me either, i still guess it's got something to do with gnome, which i have to start in failsafe mode with gdm. when i try to start gnome normal it just stops loading after a few seconds. so i start in failsafe mode, and it works, but there is a warning message telling me, that startup script will not be executed and this is why i think there could be a relation between the two problems
greetz |
|
Back to top |
|
|
Shadow Skill Veteran
Joined: 04 Dec 2004 Posts: 1023
|
Posted: Wed Nov 08, 2006 12:53 am Post subject: |
|
|
Does the startup script have execution rights? Do you have another window manager or desktop environment you can log into to see if you can type kmail to get kmail to launch as opposed to going into the directory the kmail command is actually in? _________________ Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.
"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it." |
|
Back to top |
|
|
h3nk n00b
Joined: 14 Apr 2006 Posts: 25
|
Posted: Wed Nov 08, 2006 7:55 am Post subject: |
|
|
hey, thanks for your answer, i made /etc/profile and /etc/profiles.env executable, but still gnome doesn't start in normal mode and i can't execute my kde-apps.
i started kde to test, whether it's working there and under kde it all worked well just as it should.
what other startup-scripts does gnome have ? |
|
Back to top |
|
|
|