0

How can I get rid of these environmental variables?

fryking@heimdal:~$ printenv | grep PULSE
PULSE_CLIENTCONFIG=/usr/NX/var/run/nxdevice/D-1002-02BEA0333F591B469FD130F503B146D4/audio/client.conf
PULSE_SERVER=/usr/NX/var/run/nxdevice/D-1002-02BEA0333F591B469FD130F503B146D4/audio/native.socket
PULSE_CONFIG=/usr/NX/var/run/nxdevice/D-1002-02BEA0333F591B469FD130F503B146D4/audio/daemon.conf
PULSE_SCRIPT=/usr/NX/var/run/nxdevice/D-1002-02BEA0333F591B469FD130F503B146D4/audio/default.pa

Background is that pulseaudio does not work. It can't find the above configuration file. If I unset PULSE_* in a shell, pulseaudio works. But if I open a new shell. They are there again...

I have tried these commands without finding the origin of the PULSE_* environmental variables:

grep -rsn PULSE /etc
grep -rns PULSE ~/.profile
grep -rsn PULSE ~/.bashrc

Also, I have uninstalled nomachine on the server ..

Civing
  • 183

1 Answers1

2

That filename looks dynamic, so look instead for a script that generates them -- something will be sourced or . loaded, or possibly eval.

Jason Martin
  • 5,193