General :: Slackware 13.0 ~/.bash_profile Not Running At Login?

Jan 29, 2010

I'm logging in as a user at run level 3.I have my .bash_profile in my home directory

Code:
if [ -f ~/.bashrc ]; then
source ~/.bashrc

[code]....

View 8 Replies


ADVERTISEMENT

General :: .bash_profile Not Activated On Login?

Oct 27, 2010

I have loaded oracle 10g. I have made a shell namely Menu and copied it inside the /home/oracle directory. In the .bash_profile, entry has been made sh ./Menu. I want to execute this Menu whenever I login as oracle user.My system does not executeell. However, I am able to activate this shell by typing sh ./Menu from $ prompt

View 2 Replies View Related

Slackware :: .bash_profile, "-bash: export: Command Not Found"?

Dec 31, 2010

I was trying to get rid of qtconfig's error message "QGtkStyle was unable to detect the current GTK+ theme.".

So I created the file ~/.gtkrc-2.0 with this content:

Code:
gtk-theme-name="Xfce"
Then I had to read this file after logging in (or at least, when I start X. So I created a ~/.bash_profile file with the following line:

Code:
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
When I now login, I get this message:
Code:
-bash: export: command not found
Any idea what could cause this problem?

I am running Slackware 13.1.

View 3 Replies View Related

General :: .bash_profile Not Loading ?

Apr 1, 2010

Whenever I reboot my fedora core 12 box I find that my .bash_profile does not load... I have to issue source ~/.bash_profile

How do I get this to load automatically each time?

View 14 Replies View Related

General :: Bash_profile [ Unexpected End Of The File ]?

May 18, 2011

I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.

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

[code]....

View 3 Replies View Related

General :: Sysdate Setting In Bash_profile?

Mar 29, 2010

this is my situation,I'm taking backup for some files in that i need to append the sysdate so that i can easily identify which file has to restore at some point,I've tried the following In my bash_profile(RHEL4)

Code:
SYSDATE=`%d/%m/%Y`
export SYSDATE

i tried after relogin to another terminal ,but when i give the following command

Code:
[malick@home ~]$ echo $SYSDATE
[malick@home ~]$ source ~/.bash_profile
bash: fg: %d/%m/%Y: no such job

I don't know what to do ,once the sysdate is set i can add that element to my script where it takes the back up

View 2 Replies View Related

General :: Unable To Find .bash_profile

Dec 13, 2010

I have installed oracle11g R2 on ubuntun 10.04, upon completing I need to set the profile with environment variables but, could not locate the .bash_profile

View 11 Replies View Related

General :: Edit The .bash_profile Being A Normal User In Red Hat?

Feb 18, 2011

I have installed Oracle Database server in Red Hat Linux for the first time. I edited the .bash_profile first time & defined some parameters like "export ORACLE_SID =orcl".I quit the editing. Then When I entered ". .bash_profile" it got error " not a valid identifier" it shows like "bash: export: '=orcl' : not a valid identifier for all the lines I edited it shows same error beacause I think I put a space in between "ORACLE_SID" & "=orcl".

So when I tried to edit that using "vi .bash_profile" being a normal user. It doesn't allow me editing.when I try to delete that space (because I think I have got error) using Backspace key on my computer,,it just moves the cursor to left in stead of deleting that space.

View 5 Replies View Related

General :: Where To Write JAVA_HOME? In .bashrc Or In .bash_profile

Feb 9, 2010

Where to write JAVA_HOME? In .bashrc or in .bash_profile? What's the difference?

View 1 Replies View Related

General :: Setting JAVA_HOME In .bash_profile Doesn't Work

Apr 15, 2009

I have some Flex and Java files which can be compiled with JDK1.5. My server was already loaded with 1.4 (at path /usr/bin/java) and our sys admin(I dont know why) copied another JDK, JDK 1.5 at path /usr/java/jdk1.5.0_16/. It seems very easy to use this java. Just set the path in .bash_profile. I did it and now if I run which java I still see the path for java 1.4 not java 1.5. Am I doing something wrong? Following is actual entry from bash_profile

Code:
PATH=$PATH:$HOME/bin
PATH=/usr/java/jdk1.5.0_16/bin:$PATH
JAVA_HOME=/usr/java/jdk1.5.0_16/
export PATH JAVA_HOME

View 3 Replies View Related

General :: Errors In .bash_profile And Startx Does Not Load Automatically?

Sep 4, 2010

I have installed Damn Small Linux on an old laptop.very boot reports that the SSH has loaded as I have configured it to do so but does not load startx as instructed in .bash_profile.After bootup, the following is reported by the system.-bash: /home/dsl/.bash_profile: line 12: syntax error: unexpected end of fileThis is the content of the .bash_profile

#!/bin/bash
export IRCNICK=DSL
export DISPLAY=:0

[code]....

View 1 Replies View Related

General :: -bash: /home/rb27/.bash_profile: Permission Denied

Sep 9, 2011

I have tried changing permissions and I have looked for a solution, but the error still exists.In fact it gives me a different error every time I log in.

Could not chdir to home directory /home/rb27: Permission denied

here is a snippet of what I get when I use the command ls -al:

drwxr-xr-x 16 root root 0 Sep 8 18:28 .
drwxr-xr-x 23 root root 4096 Feb 5 2011 ..
d????????? ? ? ? ? ? ajd74
d????????? ? ? ? ? ? ban45
d????????? ? ? ? ? ? rb27

I cannot log in as root since the permission is denied

View 1 Replies View Related

General :: Login Prompt Never Displays On RH Running In VM?

Jun 2, 2011

Linux version 2.6.18-194.el5 (mockbuild@x86-007.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Mar 16 21:52:43 EDT 2010Am using VWware ESX to host this guest operating system. When it clears post, the screen goes to the red background you typically see right before the login prompt comes up... but it never does. If the machine made it on the wire I can putty to it, but through deploying these, the machine isn't always on the wire and I need to be able to use VMware's viewer to gain access to it

View 2 Replies View Related

General :: Running Ssh Commands With Sudoers Login?

Dec 10, 2010

I added the following line in /etc/sudoers file

<username> ALL=(ALL) NOPASSWD:ALL

after adding this if I run any command it is not asking for the password. Now I need to shutdown the remote machine with sudoers user.

View 6 Replies View Related

General :: Slackware 13.1 Can't Login

Feb 5, 2011

I just installed slackware 13.1 and it wont let me login? how do i figure out what my login is? I changed my login when i was in the installation process and i didnt forget it.

View 3 Replies View Related

General :: Slackware 13.1 - Login And Password?

May 9, 2010

After I load slackware 13.1 and reboot it comes up with, Welcome to linux 2.6.33.3-smp (tty1) then darkstar login. What do I use for login and password.

View 3 Replies View Related

General :: Install D-Link DWA-125 On Laptop Running Slackware 13?

Oct 15, 2010

I have just started with linux and have installed slackware 13 on my laptop - a Compaq Armarda. I need to install a wireless card and have a d-link dwa 125 usb adaptor. How do I install it?

View 6 Replies View Related

General :: Slackware - Running X - (EE) Screen(s) Found, But None Have A Usable Configuration?

Oct 24, 2010

I'm totally new to linux and a more experienced friend advised me to install slackware if I want to get the best possible understanding of how linux works. I've installed slackware but having logged in as root, when I type the command "startx" to load the GUI I get this error message:

(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 24 14:40:24 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) intel(0): Given depth (4) is not supported by I830 driver
(EE) intel(1): [drm] failed to set drm interface version.
(EE) intel(1): Failed to become DRM master.

[Code]...

View 5 Replies View Related

General :: Installed Slackware - Host Login On Restart?

Apr 10, 2011

I just installed slackware on my pc. The installation went fine (I think). When I am trying to turn the computer on, I am asked to type the "host login". As I can remember I didn't write any username, or password. But as it seems, I have to type this in to login. I tried with "root", then this comes up "root@host:^#" if this is right, what should I type here to get further...

View 6 Replies View Related

General :: No Audio / HDA Intel Sound Card On Toshiba Netbook Running Slackware 13

Jan 30, 2010

I have a toshiba netbook, and I'm running linux slackware 13.The sound card is an HDA intel.So far I've ran alsaconf and configured the above mentioned sound card. I've also gone into the alsamixer and unmuted everything and turn the volume up.I get absolutely no audio.

View 15 Replies View Related

Slackware :: Can't Reach Main Slackware Directory - Login Required

May 20, 2011

The Slackbook reads:

Quote: The precompiled Slackware kernels are available in the /kernels directory on the Slackware CD-ROM or on the FTP site in the main Slackware directory. I am unable to reach it, what's the proper login?

[Code]....

View 3 Replies View Related

Fedora :: Bash_profile For ALL Users?

Oct 27, 2009

There are things that I want to have for all my users.For example, I want to set the java_home, the PATH, I want to mount a drive, etc ...I understand there is a .bash_profile file that does that, but it seems I need to copy the code for all users every time.Is there some kind of MASTER file that sets all those things before running the individual profile files?

View 3 Replies View Related

Ubuntu :: How To Edit The .bash_profile

Mar 10, 2011

I have just started using ubuntu and use the terminal a lot.I would like to edit it(blue username).I have tried changing the .bash_profile file, but my changes do not seem to affect it.I also added an alias to bash.bashrc but my computer started looping at login I reinstalled. I dont know if that caused it (I doubt it, but I didnt do anything else, though undoing it didnt work). what to put in the .bash_profile file. It is currently blank, and nothing I add seems to work (using online tutorials).Using ubuntu 10.10 (netbook) and normal - I would like to edit the netbook edition, though I thought they would be the same.

View 2 Replies View Related

Fedora :: .bash_profile Is Sourced Rather Than .bashrc?

Jan 17, 2010

I am curious since "Run command as a login shell" is UNTICKED (I think for all new users) under Gnome Terminal -> Menu Bar -> Profiles -> Edit -> Title and Command , BUT .bash_profile is sourced. I thought .bashrc should be sourced instead ?

View 6 Replies View Related

CentOS 5 :: Executing Bash_profile Everytime?

Jul 21, 2010

I have installed Centos 5 for Oracle on my PC. I observe that everytime I have to execute .bash_profile. Otherwise I get command not found message.How to change this behaviour so that it executes automatically everytime I open a new terminal or a tab.The bash_profile is as follows. I notice that the same entry is in another Centos 5 installation in another PC, But I don't have to executeeverytime the bash_profile .

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

[code]....

View 1 Replies View Related

CentOS 5 :: .bash_profile Contents Of Root To Pass?

Jun 18, 2010

I lost my root .bash_profile. Have anyone, the .bash_profile contents of root to pass me?

View 3 Replies View Related

Slackware :: Is Anyone Running MythTv On Slackware 13?

Apr 27, 2010

I'm new to slackware and I am going to try install 13 but I would like to know how well MythTv will run on slackware 13. There are so many parts to MythTv that I thought there might be issues with depedencies not being up to date, etc.If you have it running on 13 were there any issues to work through?

View 14 Replies View Related

Slackware :: Power Outage - Get "Login Problem, Please Login Manually" When Try Use KPackage

Aug 15, 2010

While I was installing some packages, the power in my street went out (uncleanly killing my system) ... unfortunately Kpackage was open at the time of the power outage. Now when I try to use KPackage, I get "Login Problem, Please Login Manually" ... which does not allow me to login using either the root or user's password. I have rebooted my computer many times and have even run a 'reiserfsck /dev/*** --fix-fixable' on my system, which did not repair the problem.

I have researched this error, but have only found responses that people suggest changing the KPackage behaviour from 'su' to 'sudo' ... ; while this does work, it feels like a 'putting-a-band-aid-over-a-warning-light-so-I-can't-see-the-warning-light-anymore' kind of 'fix?' which isn't good as it would enable anyone using the system to add or remove packages without thought or consequence. What I would prefer to do is actually fix the problem so that proper root password entering is again required to add or remove packages, so my question is:

1. Does anyone know if KPackage 'locks' out a file(s) on the system which may be preventing me from logging into the program correctly, and if so what and where the file(s) may be?

2. Can I delete any kpackage (profile?) file to gain normal login behaviour again?

3. Is this a permissions error?, has something in users/groups? been broken that I can look into?

4. how I may be able to properly repair this KPackage login problem on my system?

View 6 Replies View Related

Ubuntu :: Running An App Without Login?

Apr 21, 2010

I have a ubuntu 9.10 machine which is left 24/76, as my "download server". I have Vuze/Azureus installed, which I control mainly through the HTML UI, so rarely log into the machine.

Currently, when the machine restarts (not often) I have to log in via NeatX, and run Vuze. I then disconnect, and use the HTML UI.

Is it possible to set Vuze to run automatically, on startup, without the neeed to log in ? If I did this, where exactly would it be running ? As what user ? And what would happen if I then logged in, and ran it in a session ?

View 2 Replies View Related

Debian :: Running A Script On Login?

Jun 7, 2011

How can I have it so a script can run as soon as a user logs on with gdm?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved