terminal errors
I have Slackware 10.1 and whenever I start aterm, I get the following at my prompt.
Code:
declare -x CLASSPATH="./:/opt/java/classes" [/code]root:# firefox Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key (firefox-bin:1813): Gtk-WARNING **: cannot open display:[/CODE] I am not for sure what I did. If anyone knows whats going on, I would appreciate it. It was working fine and now I get the Xlib error and have to add xhost +localhost now. How can I fix this? Thanx |
Code:
Also, whenever I run a program as su from terminal |
Heres my echo $PS2 :
Code:
secure:$ echo $PS1 Heres my .bashrc Code:
# .bashrc I couldnt find the .bash_profile though. I created another user and dont the garbage at the top of aterm until I su to root then I get the garbage file again. I think the localhost problem has to do with the first problem because I didnt get an error before. |
to allow " user_su-ed_to_root " to use the X-screen,
just type " $xhost + " ( as the user... ) egag |
It happened after I removed the recently used programs list from showing on the top of the aterm using the directions JohnB316 posted here: http://www.vectorlinux.com/forum/vie...839&highlight=
I have since went through the post and it works fine now. I only messed with the /home/user/.bashrc and not the root .bashrc. :eek: After I changed the root/.bashrc file to Code:
## This is the plain standard prompt Atleast its fixed though. I also found the fix for the running as root in Slackware Code:
root:# firefox Quote:
The problem is I lose the settings upon reboot. Anyone know how this can be autorun preferably in fluxbox? |
All times are GMT -5. The time now is 03:08 PM. |