A set of dynamic variables that can affect the running processes.

learn more… | top users | synonyms

7
votes
1answer
2k views

How to start/configure pulseaudio remotely with ssh?

I have a remote machine to which I can ssh. On the remote machine there is a program that uses pulse audio to get input from a USB microphone attached to the remote machine. This setup works fine when ...
2
votes
1answer
111 views

How to downgrade/unpatch bash for ubuntu 12.04 LTS to get back to the original vulnerable version of it?

I am using Ubuntu 12.04 LTS. I tried resolving the the shell-shock vulnerability of environment variables by updating bash. Is there any way to downgrade the bash and again try and demonstrate for the ...
2
votes
1answer
185 views

Path given in Environment variable shows empty after reboot

I am trying to set environment variable CATALINA_HOME for tomcat server. I used the command CATALINA_HOME=/usr/local/apache-tomcat-8.0.22 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 and export ...
2
votes
1answer
532 views

$PATH from /etc/environment overwritten

I'm upgrading a bunch of installations of 10.04 to 12.04. In 10.04 I used to define system wide env. variables in /etc/environment. It works, but not for $PATH that seems to be overwirtten. I don't ...
1
vote
1answer
67 views

Environmental variables for anaconda

I'm new to UNIX. On my windows work computer I have anaconda and do a lot of Python work. I installed anaconda on Ubuntu 14. I would like to type conda or activate in a terminal and have those ...
1
vote
1answer
83 views

gcc not found while executing shell script

invalid command name "gcc" while executing "gcc rsa.c -o rsa -lm" (file "./run.sh" line 1) does gcc-4.9.2 works correctly on ns-2.35 or is it gcc-4.4
1
vote
1answer
64 views

Different environment variables depending on gui or shell

The environment variables of a program differ on whether it is started from a terminal or from the desktop (by clicking on its icon). For example: I use bash and have specific variables set in my ...
1
vote
1answer
103 views

Can't run application with wine due to environment variable

can someone help me to install right environment variable for Oracle? Try to run app with wine and get error: Initialization error Oracle Client not properly installed OracleHomeKey: OracleHomeDir: ...
1
vote
1answer
269 views

What is the difference between a desktop environment and a shell?

I may be asking a basic question for many of you. What is exactly linux environment ? and what the relation between linux environment and shell? and what the relation between linux environment and ...
1
vote
1answer
282 views

Environmental variable

I am newly for Ubuntu and I just downloaded mulval software packet to run it on my Ubuntu, but I still not clear that the instruction say this: "The environmental variable MULVALROOT should point ...
1
vote
1answer
57 views

Update PATH variable during script execution

I am writing a script that installs a program. The problem is the program needs to have PATH variables set to install. How do I set PATH variables during the script execution and update the shell so ...
0
votes
1answer
27 views

How to set path for the Tomcat7 user

I'm trying to install an extension for GeoServer. The instructions say: Create a GDAL_DATA environment variable to the folder where you have extracted this file. Make also sure that this directory ...
0
votes
1answer
38 views

assign cuda to a specific gpu

Two NVIDIA 780Ti cards installed. Using cuda 7.5 on Ubuntu 14.04. Postinstallation checklist shows cuda installed properly and functions properly. My monitors are attached to device 0. I compiled the ...
0
votes
1answer
55 views

PATH variable for newly installed executable files

I am installing a series of programs for bioinformatics purposes; I am installing the folders of these packages in /usr/local/lib/ and creating soft links to the executable files in /usr/bin/ so I am ...
0
votes
1answer
46 views

Can't log into Ubuntu 14.04 and no command works!

Any attempt to log into Ubuntu 14.04 keeps looping back into the login page again and again. I tried ctrl + alt + f2 it logs in but no command works. it says the command (what ever it is, like sudo ...
0
votes
1answer
51 views

how to export folder specific environment variables?

I have two projects on my computer that require JAVA_HOME to point to jdk7 and 8 respectively. Right now I'm working around this by having 2 files in my home folder that i source to set JAVA_HOME ...
0
votes
1answer
60 views

Error in downloading IcedTea web Start

I executed the command: sudo apt-get install icedtea-netx ...and this error was displayed: Error in downloading IcedTea web Start.. A screenshot of the terminal session: Please Help!
4
votes
0answers
427 views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that ...
2
votes
0answers
40 views

Per-application xfwm theme

I want to run separate applications with different themes, the only solution for this that I could find was to use bash -c 'GTK2_RC_FILES=/path/to/gtkrc program'; however, I currently am using a XFCE4 ...
2
votes
0answers
288 views

How to set environment variables for GUI program?

I am using texstudio, a latex editor, on Ubuntu 14.04. When I start it from bash $ texstudio, and click the compile button, it works fine. However, if I start it by clicking the icon in the launcher, ...
2
votes
0answers
35 views

Use variables in Nautilus location bar?

Is it possible to use variables (like $JAVA_HOME) in the Nautilus location bar? I think this will be useful to access certain locations easily.
2
votes
0answers
441 views

How to make CFLAGS work with the dash shell?

My impression is that while setting the CFLAGS variable is effective when bash is the default shell, it doesn't make an effect with dash (the Debian Almquist shell). First of all please correct me if ...
2
votes
0answers
207 views

Ensuring .profile gets executed when using nX

The $PATH I have when I run terminal in an nX session is different to that I have when I run terminal after logging on physically. The former is ...
1
vote
0answers
60 views

Ubuntu 14.04 LTS compass run from another user

I have an Ubuntu 14.04 VM and 3 users (root, prod, git) prod$ groups prod git$ groups git prod I have installed ruby on the VM for every user and ran source /home/prod/.rvm/scripts/rvm so I could ...
1
vote
0answers
174 views

How to set environment variable for sshd

I have Ubuntu server 14.04 on a server with openssl version 1.0.1f and openssh version 6.6. In my openssl.cnf I have subjectAltName=${ENV::ALTNAME} so that I can set subjectAltName on the commandline ...
1
vote
0answers
142 views

$XAUTHORITY in systemd

I would like to know if there's a way to use $XAUTHORITY variable in systemd, basically, I have tried to create a simlink between $XAUTHORITY location and ~/.Xauthority by placing it in a script and ...
1
vote
0answers
114 views

$PATH variable env variable

I am working on Ubuntu 14.04 version and I can see .profile and .bashrc under my home directory. .profile looks like this # ~/.profile: executed by the command interpreter for login shells. # This ...
1
vote
0answers
427 views

Bash script: command not found

I have an executable script install_packages.sh in /home/etienne/admin folder. The directory's path is added to $PATH variable from /etc/bash.bashrc. When I type #echo $PATH I see that the variable ...
1
vote
0answers
129 views

what to write in prefix and in environment variable for correct installation

I am installing linbox library: http://www.linalg.org/developer.html. The installation guide states, that one should install several libraries, including fflas-ffpack library, and then run the script ...
1
vote
0answers
149 views

Unable to connect to X11 display. is $DISPLAY set? - Yes, it is

I'm trying to run this in my /etc/init.d/rc.local. I had to manually add the exit 0 because it wasn't there by default if that makes any difference. cd /home/john/xcape && ./xcape -e ...
1
vote
0answers
417 views

javac cannot found, even after adding non-standart path to it in $PATH

Ubuntu 12.10, 32bit Problem too damn simple: I have a NTFS partition and unpacked from .tar.gz jdk on it. All I need from bash, is to see javac compiler, that is located in directory ...
0
votes
0answers
7 views

Unable to clear http_proxy ubuntu 14.04

Currently my chromium proxy recieves a 'Burp Suite Professional' error on almost any page access, same with my steam client. I believe the culprit is coming down to a proxy variable I have accidently ...
0
votes
0answers
26 views

How to set environment variables with a dot(.) in ubuntu

I want to set an environment variable in bash called cloudsql.url with a value http://localhost:3306/xyz?user=username&password=password I tried with export ...
0
votes
0answers
112 views

What is Environment variable and how should I set it for ionic?

I am new to Ubuntu and trying to create an ionic project. When I try to build my project with: ionic build android It says Error: Failed to find 'ANDROID_HOME' environment variable. Try setting ...
0
votes
0answers
31 views

add executable to path not working

I am aware that: 1- defining an executable to PATH is done in .bashrc file or .profile or in etc/profile or etc/environment. 2- to get effect, I have to source the file (source ) or restart the ...
0
votes
0answers
87 views

HBase and Java_HOME

I have set JAVA_HOME. Nevertheless HBase doesn't recognize it. vagrant@precise32:/usr/local/hbase-1.0.3$ echo $JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-i386 vagrant@precise32:/usr/local/hbase-1.0.3$ ...
0
votes
0answers
31 views

variable exported in sourced file not available

I have a script that contains the following: #!/bin/bash source $HOME/.bashrc echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" This script is run on @reboot by cron, with output redirected to a log file. ...
0
votes
0answers
51 views

Unicorn not setting ENV variables for Rails on a Droplet on Digital Ocean

I started out with the Rails Droplet, made some changes, wiped some keys, and then created my own image. I started from this tutorial: ...
0
votes
0answers
9 views

Can bash wrapline according to a tab?

Right now in bash, if a string of characters is too long for the window to display, it wraps the text, slicing words in half, and does not keep the tab indentation set at the beginning of the line. ...
0
votes
0answers
31 views

Cannot update /var/lib/gdm/.ICEauthority after restoring /var directory

I have tried the following for getting this error fixed. Boot into "Recovery Mode". Input the root password for maintenance mode. Go to the /var/lib/gdm folder (cd /var/lib/gdm). Remove the ...
0
votes
0answers
17 views

Error executing javascrit file through nashorn jjs

I can execute jjs on bash $ jjs jjs> but I can not execute script $ ./executable.js /usr/bin/env: jjs -scripting: No existe el archivo o el directorio executable.js #!/usr/bin/env jjs ...
0
votes
0answers
38 views

Assigning 2 system-wide environmental varibales

Ubuntu 14.04 LTS. I need two system-wide environment variables: FOOD2FORK_KEY, FOOD2FORK_SERVER_AND_PORT In /etc/profile.d I have created a file module3.sh with: ...
0
votes
0answers
55 views

How to create a symlink without expanding variable?

I'm trying to create a symlink that links /root/.gtkrc-2.0.mine to /home/$USER/.gtkrc-2.0.mine. Whenever I try to run the following, the variable expands, so if I copied it to another computer, it ...
0
votes
0answers
17 views

Is it possible to create a symbolic link that relies on an environmental variable instead of a absolute path?

The Environmental variable will contain the absolute path. That way if an entire sub-directory is moved then one only needs to edit the environmental variable. For example if we have some directory ...
0
votes
0answers
219 views

Trying to install Maven, getting JAVA_HOME error

I already have jdk installed and now I would like to learn Maven. When I run mvn -version I get: Error: JAVA_HOME is not defined correctly. We cannot execute /usr/local/java/jdk.1.8.0_60/bin/java ...
0
votes
0answers
21 views

How do I configure OpenSSH to deliver the server's environment and paths to the connecting session?

I've just installed an OpenSSH server through apt-get. Immediately, I noticed that when connecting through SSH I don't have the same paths enabled as I do when I am physically using the server ...
0
votes
0answers
57 views

Environment variable to all usersE

I cannot able to set PATH variables gloablly. I tried: $ mvn -v mvn command not found Tried to edit /etc/bashrc: Permission Denied Logged in as root: $ su - root modified /etc/bashrc ...
0
votes
0answers
56 views

Ubuntu 3.13.0-48-generic PATH Variable Not Working

I am trying to edit the PATH variable on a fresh Ubuntu install. For some reason it keeps throwing the error "No such file or directory" whenever I try to invoke my command. java;echo PATH=$PATH;echo ...
0
votes
0answers
334 views

“-bash: cmake: command not found” in MATLAB with SSH

I am using MATLAB. In its command window I am using SSH to access a remote machine and run commands. When I attempt to do so I get error messages such as -bash: cmake: command not found Now I ...
0
votes
0answers
146 views

Java environment variable in Wine (32 bit prefix)

I need to run a Windows executable that requires Java 32 bit. Since Java 8 is still unstable in Wine, I installed a 32-bit Java (7u76) in a 32-bit WINEPREFIX. Now, when I run the Windows executable, ...