You are not logged in.
Hi,
I have a weird problem. I did a full system update today and now my default bash path has changed.
When I start a bash now the default location is:
/tmp/.X11-unix
instead of
/home/maex/
Anyway the HOME variable still is fine:
maex@crimson:.X11-unix $ echo $HOME
/home/maexso when i run
maex@crimson:.X11-unix $ cdI'm back in my "real" homedir. Any ideas where this might come from?
Regards,
Keen
Last edited by keen90 (2013-05-09 15:59:24)
Offline
ok I did a quick hack by adding
cdto the .bashrc.
This does work.
But I'd rather find the problem then fight the symptoms.
Offline
Restart the computer and try again.
Maybe you did start X from /tmp/.X11-unix (from the console).
Offline
FILES
/bin/bash
The bash executable
/etc/profile
The systemwide initialization file, executed for login shells
~/.bash_profile
The personal initialization file, executed for login shells
~/.bashrc
The individual per-interactive-shell startup file
~/.bash_logout
The individual login shell cleanup file, executed when a login
shell exits
~/.inputrc
Individual readline initialization file
You should take a look through all of those files (except /bin/bash
) and see where it is happening. Note that the files in /etc run first, and those in your $HOME override.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks for the quick responses!
karol was right - I did start X11 manually from
/tmp/.X11-unix
Since the last update my X11 does not start up any more, however if I log in and run startx everytthing runs fine... I'll go after that now.
And I'll mark this thread as solved and post a new one in case I can't figure out my X11 startup problem.
Offline