A script executed as part of the logon process

learn more… | top users | synonyms

1
vote
1answer
25 views

What files are ran when I log into the desktop?

I don't know how to phrase this to be clear. I'm not talking about terminals or shells, I know what the difference between login and non-login shells are. What I want to know is when I start up my ...
1
vote
0answers
25 views

Error found when loading /home/[myusername]/.profile

I get this error each time after logging on: Error found when loading /home/[myusername]/.profile: stty: standard input: Inappropriate ioctl for device As a result the session will not be ...
2
votes
1answer
39 views

How to undo changes in .profile?

I changed my ~/.profile and now I can't login. I'm new to Linux and I was trying to add adb/fastboot (android development tools) to my PATH by editing PATH in .profile. I had done a different method ...
0
votes
1answer
25 views

Ubuntu 14.04 Login Loop when .profile includes .bashrc

I have seen multiple versions of questions asking how to solve the 'Login Loop' problem. I too had this problem and was able to solve it by moving my ~/.profile file to an unreconized file name and ...
0
votes
2answers
19 views

Need help with error found in home/superuser/.profile line 23

During start up, just after I log into my account, I get an error message that says: Error found when loading /home/superuser/.profile: /home/superuser/.profile line 23: export: '=': not a valid ...
0
votes
1answer
31 views

Customizing terminal not affecting after restart through ~/.profile [duplicate]

Any welcome text, modifying PS1, aliases not working after restart. I have to put "source ~/.profile" every new terminal i open. Wishing for complete fix for these all to effect everytime on ...
0
votes
1answer
28 views

Error on loading after upgrade to 14.04LTS

I have recently upgraded my system to 14.04LTS from 12.04LTS. After the kubuntu display, I received this message Error found when loading /home/username/.profile :\n\nstdin is not a tty\n\n As a ...
2
votes
2answers
103 views

Where is my PATH variable being set?

I'm trying to set my path variable to look like this: ...
2
votes
0answers
154 views

Why is neither /root/.bashrc nor /root/.profile executed after sudo -i?

I have export PATH="$PATH:/opt/local/bin" in /root/.bashrc and /root/.profile (nothing else in /root/.profile) and /bin/bash is the login shell for root in /etc/passwd. Yet invoking sudo -i (which ...
0
votes
0answers
25 views

Why does Terminal not start in “interactive” mode when I click the icon?

Also, is there a way to make that the default behavior? I know it is nit because I have echo statements in my .bashrc and .bash_profile to indicate which is being run and only .bashrc is.
1
vote
1answer
145 views

'/home/ron/.npm/bin' not a valid identifier

Last night I searched for ways to upgrade node and npm. I copied and pasted some suggestions and upgraded to their stable versions. I also installed NVM as a forum-user suggested to do. But this ...
1
vote
1answer
74 views

Help with a messed up /etc/profile file? [duplicate]

I altered my /etc/profile and now its showing off some errors whenever i startup my system saying that there's some end of file or something like that missing and the session wont be configured ...
0
votes
0answers
38 views

How to add samtools in the PATH permanently [duplicate]

I installed samtools executables within my bin directory under home directory. Installation works perfectly well. I am using Ubuntu 14.04 version and it has .profile and .bashrc in my home directory ...
0
votes
1answer
84 views

Add executable to Path

I know this question has been asked a hundred times but for some reason all the answers aren't working on my system. I'm using Ubuntu 14.04 I'm trying to add the file activator to my PATH so that I ...
1
vote
3answers
970 views

bash: /home/rathin/.profile:: No such file or directory while trying to reload it via “source ~/.profile” after editing it through “vi ~/.profile”

After I edited my ~/.profile via vi command, couldn't get out of it successfully. So I closed the terminal and when I tried it again after reopening terminal, it showed duplicate file named ...
0
votes
1answer
103 views

Problem with adding path using zsh

I added a directory modifying ~/.profile and adding export PATH=$PATH:/home/...etc etc. But I realized that using zsh terminal I couldn't use the recently installed binary until I logged out from zsh. ...
0
votes
0answers
38 views

Edubuntu Missing profile manager

After installing Edubuntu 14.04 I'm missing the application Edubuntu Profile manager. Now I can't set a speciefied menu to a user profile. Please help me. Regards, Dirk
2
votes
1answer
112 views

Is .profile read upon GUI login

In this question, it is mentioned that there is no standard behavior in terms of whether .profile is read or not when a user logs in from the GUI in today's Linux and Unix systems. So for Ubuntu, is ...
1
vote
1answer
562 views

~/.profile error upon Startup

I'm getting this message upon startup, just after I login as a user. I recently installed nodejs, realized I should have researched it more and installed it LOCALLY, and subsequently went through file ...
1
vote
2answers
158 views

What environment variable should I use to set a default web browser?

I'm trying to set my default web browser as google chromium inside of either my .bashrc or .profile. What Environment Variable do I need to set in order to achieve this? Edit: Here's some more ...
0
votes
0answers
63 views

User login failed after edit .profile

i edited my .profile-file to start a program after login. I missed to start it in the background (&). After the login the program (TOR) which is started by the .profile-file crashes and i am ...
2
votes
1answer
6k views

How do I get Ubuntu to use Anaconda's python instead of the standard /usr/lib/python…?

I installed Anaconda using instructions provided on the main website, which are similar to those that can be seen here: Installing Anaconda python on ubuntu However, I found that I had to manually ...
2
votes
1answer
35 views

Diffrence among environment/profile/bash files

I know the difference among ~/.bash, ~/.profile vs. /etc/profile. I know (please correct me if I am wrong) configuration in ~/.bash is applicable for a specific user and terminal only.Configuration in ...
0
votes
2answers
388 views

What is the best practice of customizing the Bash prompt (aka the PS1 environment variable)?

I am trying to add Git branch name to my Bash prompt by changing the PS1 variable like this: PS1=`echo "$PS1" | sed 's/\\\\\$ $/\$(__git_ps1)\\\\\$ /'` And if I understand correctly, it is not ...
1
vote
0answers
34 views

Equivalent of logname for profile

I'm getting an error when entering my session because I'm using logname in my .profile, and apparently Ubuntu doesn't like it. It says something along the lines of logname: login name not found I ...
0
votes
1answer
1k views

Export: command not found

I have just upgraded my ubuntu. After booting ubuntu 14.04 LTS I get this message: /etc/profile :line 33 Export command not found. This relates to the FORTRAN compiler. Can anyone help me? I attach ...
1
vote
1answer
64 views

Why I cant see password prompt when .profile executes?

I want to use keychain for SSH cron jobs. I've found this good answer. I've add command keychain --nogui id_rsa in .profile And when I reboot and login I have to enter password. But I don't see any ...
1
vote
1answer
914 views

Ubuntu / Bash recognising “export PATH=$PATH:~/…” but not “export PATH=$PATH:/home/…”

So I've been using ubuntu since 09.04 but have limited experience with sys admin. I now want to get into web development and as part of installing the Play Framework, I had to add the activator path ...
4
votes
1answer
2k views

Why isn't .profile sourced when opening a terminal?

Just installed Ubuntu 14.04.1 LTS. According to .profile, # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash, if ~/.bash_profile or ~/.bash_login ...
0
votes
2answers
2k views

error when loading .profile

This is my bashrc # LD_LIBRARY_PATH OTCL_LIB=/home/shabeer/ns-allinone-2.35/otcl-1.14 NS2_LIB=/home/shabeer/ns-allinone-2.35/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export ...
1
vote
1answer
126 views

Can I log in without loading my .profile?

I recently inserted an error into my .profile file and now logging in just presents me back to the log in page, much like in this question. I've booted into recovery mode and recovered my encrypted ...
0
votes
1answer
64 views

User processes continue to run after logout

I have put the following code in my .profile ps cax | grep jackd > /dev/null if [ $? -eq 0 ]; then echo "Jack is aready running." fi if [ "$SESSION_TYPE" != "remote/ssh" ] && [ ...
2
votes
1answer
3k views

How to set environment without sourcing .bash_profile myself every time? [duplicate]

When I restart Ubuntu 14.04, environment variables are set back to default and I have to run source .bash_profile every time which is very annoying. I generally keep my environment vars in ...
0
votes
1answer
473 views

In the process of installing Java and Hadoop, my user profile has disappeared?

So I added the following code to the bottom of profile after: sudo gedit etc/profile Code added to profile: JAVA_HOME=/usr/local/java/jdk1.8.0_20 PATH=$PATH:$JAVA_HOME/bin ...
1
vote
1answer
1k views

`TERM` environment variable not exported from `.profile`?

I have this in my .profile (I'm running Ubuntu 12.04): export TERM="xterm-256color" The variable seems not exported or be invariably later overwritten as TERM="xterm". A test with Gnome Terminal: ...
13
votes
3answers
25k views

I can not find .bash_profile in ubuntu

I can't find .bash_profile in Ubuntu 14.04 in my /home/user directory. I use ls -a command to see the .bash_profile, but there isn't such a file.
1
vote
2answers
72 views

How to skip StartUp and/or .profile on log-in?

Is there a login option to skip processing the .profile and Startup Applications? I basically have a script in there that's hanging the system upon log-in. The filesystem is encrypted and I don't have ...
1
vote
1answer
584 views

14.04 - Old Firefox Version won't install, can't use profile manager

I'm new to Ubuntu. (14.04) Firefox comes default as version 31.x, but I need to use 29.0.1. I've tried following multiple instructions, whereby copying an old firefox (old v29) to the usr/bin ...
1
vote
1answer
8k views

Permanent PATH variable

How will I make this /media/De Soft/mongodb/bin PATH variable permanent? Everyone is saying export PATH=$PATH:media/De\ Soft/mongodb/bin to your ~/.profile, or .bashrc, or .zshenv depending on your ...
0
votes
1answer
152 views

Change my keyboard layout for my profile only

We are using ubuntu-server 14.04 , I want to change the keboard layout to querty only for my login , i want the other users remain having azerty , I know that I have to put a command line in some ...
13
votes
1answer
2k views

Sequence of scripts sourced upon login

I would like to concentrate all my login config in my ~/.bash_profile. There was a ~/.bashrc there by default but I replaced it with a ~/.bash_profile. However, when I log in, something before my ...
28
votes
1answer
21k views

Scripts in /etc/profile.d Being Ignored?

I'm new to Ubuntu. I'm running 13.10 Desktop. I wanted to set some system wide aliases and a custom prompt for bash. I found this article: https://help.ubuntu.com/community/EnvironmentVariables ...
4
votes
1answer
351 views

Can't login after adding script to /etc/profile.d

I have created a little script to add bookmarks in Nautilus to redirect users to network share. If I run the script manually, it works brillantly but as soon as I try to add it in /etc/profile.d, I ...
13
votes
2answers
4k views

Why does Ubuntu's default ~/.profile source ~/.bashrc?

These are the contents of the stock ~/.profile that came with my 13.10 (commented lines removed): if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi ...
1
vote
1answer
92 views

Unable to login after modifying .profile

I am a fairly new Ubuntu user. A few days ago I edited my ~/.profile and have spotted a syntax error in it. Now, when I try to log on, it sends me back to the 'greeting screen' after some errors. I do ...
0
votes
2answers
206 views

Trying to get /etc/profile working [duplicate]

I have Ubuntu on Linode VPS. I intstalled latest Golang as instructed on this page (http://golang.org/doc/install) - steps taken are wget http://go.googlecode.com/files/go1.2.linux-amd64.tar.gz tar ...
-1
votes
1answer
549 views

Thunderbird on dual boot - profile inaccessible

I'm a first-time Ubuntu user - I've just put 13.10 on my XP system as a dual boot. I used Thunderbird portable on the XP machine (easy to recover every time you need a rebuild!), and I understand ...
1
vote
1answer
279 views

Node.js NVM causes Xubuntu login loop with ~/.profile line

There are various posts on the Xubuntu login loop, but none of them address NVM (Node Version Manager). I have installed NodeJS via NVM on my Xubuntu VM and it works fine, however after rebooting, I ...
2
votes
1answer
1k views

how to reset ~/.profile to default

I have been playing around with the ~/.profile file trying to add something permanently to my $PATH variable and it seems i have done some damage. I can't log into ubuntu now. When I enter my ...
0
votes
1answer
2k views

Konsole does not execute .profile or .bash_profile [duplicate]

When I open Konsole the settings in .profile are not executed, and it means the ~/bin is not added to the PATH. Is there a way to get Konsole to do that? PS. Is there a way to tell whether Konsole ...