I've installed oracle-xe-client, but I have some problems setting the environment variables. I've edited /etc/skel/.bashrc to look like this:
Code:
# /etc/bash.bashrc
[ -f /etc/profile ] && . /etc/profile

source /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin/oracle_env.sh
From a terminal I can execute sqlclient and other applications that need oracle xe client libraries. But I can't run these applications if I lunch them using a XFCE luncher, for example. Also, if I login as root using "su -", the environment variables don't get set. But if I use "su root", everything works fine. I don't know why this behavior, I would appreciate if you could explain me.

I'm working on a presentation CD and I don't want to make my users to open terminals to run applications.