Results 1 to 7 of 7

Thread: KDM not recognizing that /usr/games is in my path

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    KDM not recognizing that /usr/games is in my path

    If i log in a console, /usr/games is in my path, but when I log into KDM it is not. My kdm-config file has /usr/games in it, and it is the only path there that doesn't work. Any ideas?

    Mike

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    From konsole in KDE
    bash-2.05b$ echo $PATH
    /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin

    Then when I hit ctrl+alt+f1 and log in
    bash-2.05b$ echo $PATH
    /usr/local/bin:/usr/bin:/usr/games:/bin:/usr/bin/X11

  3. #3

    Re:KDM not recognizing that /usr/games is in my path

    hello mike,
    the path really should be the same for both, i would edit my ~/.bashrc file or ~/.bash_profile and see what the path is getting set to. I am not a kde user - but i gott assume they ar enot messing with environment varibles.

  4. #4
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    Actually I don't have a .bashrc or bash_profile, however, I do have an /etc/bash.bashrc.

    # System-wide .bashrc file for interactive bash(1) shells.

    shopt -s checkwinsize

  5. #5
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    Well, I figured it out, but it still doesn't make sense to me. I had to add --login after the #!/bin/sh at the beginning of my kde2.sh startup script. What I don't understand is without the --login, it set every directory in my /etc/profile except the /usr/games dir.

  6. #6

    Re:KDM not recognizing that /usr/games is in my path

    edit!

    wow - good find mike!

  7. #7
    Junior Member
    Join Date
    Jan 2002
    Posts
    66

    Re:KDM not recognizing that /usr/games is in my path

    Thanks, I just got desperate and started reading the bash man page LOL. Once I seen the --login oprion I did a google search and eventually it led me to a gentoo linux faq, where I found the answer
    .

Similar Threads

  1. Ubuntu server not recognizing any NIC
    By JoeyJoeJoe in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 05-11-2007, 02:43 AM
  2. Path
    By mugs in forum Linux - General Topics
    Replies: 8
    Last Post: 11-24-2002, 08:35 PM
  3. Add to PATH
    By trickster in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-28-2002, 10:26 PM
  4. Problem recognizing partitions
    By stodgel in forum Windows - General Topics
    Replies: 16
    Last Post: 07-24-2002, 09:33 PM
  5. Linux not recognizing raid...
    By egoadk in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 07-20-2002, 02:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •