startx/alias problems
two questions
1. Everytime i type startx I get a bunch of blank scrolling that I can't stop. ANy wasy to fix it? I'd like to be able to load my desktop 2.I've set up the ls alias's in root, but when I'm in normal user, I can't get it to work. I've edited the .bashrc file in ~ and it still won't work. Any ideas? |
Hello,
I had this problem and I did not have X fully installed. Try apt-get install x-window-system. |
2. Post what you put in ~/.bashrc
BTW, after editing .bashrc did you either 1) log out and back in or 2) source ~/.bashrc |
yes I logged out and logged back in, I'll post the output in little while, I have to get it so I can read it in my Windows partition.
|
heres what my user .bashrc file says
Quote:
|
Change
lias ls='ls --color=auto' to alias ls='ls --color=auto' EDIT: your "a" was on the previous line. Delete that too. |
nope, I went and checked my .bashrc file under linux and that's corrected, I must have copied it wrong. Any other ideas?
|
It may have something to do with the extra single quote in the ll, la, and l lines.
|
Quote:
|
It is the blue or middle one you need to remove.
When using the LQ color tags the closing color tag shouldn't have an =color. |
I removed those apostrophes and it still doesn't do anything. any other ideas?
|
add the line in your /etc/profile (at the end) you can use if/fi to check if its there, but i just make sure both root/ftp/and my user have one
source $HOME/.bashrc |
I'm sorry, add what line to where. The last post is kind of confusing. Could you restate that?
|
there should be a file in the /etc directory called profile. It is called by bash shells (and other shells, but not sure which all) the final line can read
source $HOME/.bashrc |
Thank you, I'll see if that works
|
All times are GMT -5. The time now is 10:46 PM. |