Author Topic: idconfig ??  (Read 1580 times)

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3737
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: idconfig ??
« Reply #15 on: July 18, 2011, 03:08:13 PM »
no .bash_profile in your home directory?

Here my output from my home directory

Code: [Select]
[leiche@leiche ~]$ cat ~/.bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=/sbin:$PATH:$HOME/bin

export PATH
unset USERNAME




# [added_by_addlocale]
export LC_TELEPHONE=de_DE.UTF-8
export LC_CTYPE=de_DE.UTF-8
export LANGUAGE=de_DE.UTF-8:de:en_US:en
export LC_MONETARY=de_DE.UTF-8
export LC_ADDRESS=de_DE.UTF-8
export LC_COLLATE=de_DE.UTF-8
export LC_PAPER=de_DE.UTF-8
export LC_NAME=de_DE.UTF-8
export LC_NUMERIC=de_DE.UTF-8
export SYSFONT=lat0-16
export GP_LANGUAGE=de
export LC_MEASUREMENT=de_DE.UTF-8
export LC_TIME=de_DE.UTF-8
export LANG=de_DE.UTF-8
export LC_IDENTIFICATION=de_DE.UTF-8
export LC_MESSAGES=de_DE.UTF-8
export LC_ALL=
export GDM_LANG=de_DE.UTF-8

[leiche@leiche ~]$

Offline Ozdemon

  • Jr. Member
  • **
  • Posts: 38
Re: idconfig ??
« Reply #16 on: July 18, 2011, 03:14:07 PM »
Thanks. Can you suggest how I fix my problem?
(1) AMD Athlon(tm) 64 X2 Dual Core Processor 6000+,  2 x WD 500G SATA, 4G RAM (2x2G), GIGABYTE GA-MA770-DS3, Nvidia GForce 8600GT, PCLOS Gnome
(2) MSI U230 Netbook LXDE PCLOS

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: idconfig ??
« Reply #17 on: July 18, 2011, 03:52:53 PM »
Ozdemon (and Capt Turk),

Your systemwide default PATH is defined in the file /etc/profile.d/kde4env.sh with something similar to

Code: [Select]
if [ -z $PATH ]; then
    PATH=/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin
else
    PATH=$PATH:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin
fi

followed by

Code: [Select]
export [...] PATH
But this is a minimal default. The PATH variable path can be changed by any program, and it is changed by many programs.

If you want to add something to the default PATH, editing /etc/profile.d/kde4env.sh would be practical; if you want to change just your normal user's PATH you can edit the file /home/<yourname>/.bash_profile and if you want to change root's PATH you could add your changes to /root/.bash_profile. But you can actually change both your normal users PATH and root's  PATH wherever you want.

But if you don't have a file called /home/<yourname>/.bash_profile to edit, the question is "why not?" There may be something wrong with your setup.

The output of Ozdemon's "echo $PATH" shows that his normal user's PATH lacks an entry for /sbin. This is strange. My system is not set up that way. But it should not influence programs that he runs as root. It wasn't root's PATH.

So I still think we need the output of

Code: [Select]
echo $PATH
run both as a normal user and as root -- and when run as root, both after you've become root with the "su" command and with the "su -" command.
« Last Edit: July 18, 2011, 04:08:18 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Ozdemon

  • Jr. Member
  • **
  • Posts: 38
Re: idconfig ??
« Reply #18 on: July 18, 2011, 04:06:43 PM »
Bald Brick, thanks for your reply.
I am running LXDE on a netbook. I updated yesterday from the Zen Mini distro of PCLOS. I kept the /home partition so perhaps that explains why I am missing the file?

Anyway, the output you requested is as follows:
Code: [Select]
bash-4.1$ echo $PATH
/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin
bash-4.1$ su
Password:
[root@localhost ozdemon]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/kde4/libexec:/usr/lib/qt4/bin
[root@localhost ozdemon]# exit
exit
bash-4.1$ su -
Password:
[root@localhost ~]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/kde4/libexec
[root@localhost ~]#
(1) AMD Athlon(tm) 64 X2 Dual Core Processor 6000+,  2 x WD 500G SATA, 4G RAM (2x2G), GIGABYTE GA-MA770-DS3, Nvidia GForce 8600GT, PCLOS Gnome
(2) MSI U230 Netbook LXDE PCLOS

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: idconfig ??
« Reply #19 on: July 18, 2011, 04:29:09 PM »
Ozdemon,

Unfortunately (or fortunately) your PATHs look quite normal. Your user's PATH lacks /sbin, /usr/sbin and /usr/local/sbin, but that is normal in many Linux distros, perhaps also in PCLinuxOS LXDE. (The applications in the sbin directories shouldn't be run by ordinary users anyway.)

So for the moment I have no idea what is wrong. You could of course try adding /sbin to your ordinary user's PATH as Leiche suggested. You could simply copy his ~/.bash_profile.

« Last Edit: July 18, 2011, 04:35:30 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: idconfig ??
« Reply #20 on: August 04, 2011, 11:28:08 AM »
Every time I upgrade or install anything with Synaptic it shows and error of "can not find idconfig".  Everything seems to work but I still would like to know whats going on and how to fix it.

From what I've been able to figure out it has something to do with registering new or updated software.


Read this:
http://www.pclinuxos.com/forum/index.php/topic,94896.0.html   

Offline Ozdemon

  • Jr. Member
  • **
  • Posts: 38
(1) AMD Athlon(tm) 64 X2 Dual Core Processor 6000+,  2 x WD 500G SATA, 4G RAM (2x2G), GIGABYTE GA-MA770-DS3, Nvidia GForce 8600GT, PCLOS Gnome
(2) MSI U230 Netbook LXDE PCLOS