0

I have installed NS2 (using Ubuntu 13.04) Tried to update Path and Library Path using command gedit .bashrc but getting the following error.

** (gedit:3732): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-UnpdNFJM8M: Connection refused.
(gedit:3732): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported.

can you help?

1 Answer 1

2

Since I don't have the rep to leave a quick suggestion to try sudo & nano as comment, I'll do my best to answer your question.

Press Alt-F2 and enter

gksu gedit /your/path/to/.bashrc

if that doesn't open, there's something deeply wrong worthy of some troubleshooting. However, you can by pass it for now using nano, in a terminal type:

sudo nano /your/path/to/.bashrc

if you are trying to edit the .bashrc for the user you are logged in as then simply

nano ~/.bashrc 

should work

To exit and save in nano press Ctrl-x then y and Enter.

2
  • Wow! I didn't know about the kbd mark-up!!; not sure why some mods are rejecting it, I'll change on my end. Thanks Braiam!
    – virtualxtc
    Dec 12, 2013 at 13:28
  • Problem solved.just a beginner.Having a great feeling.Thanks Dec 12, 2013 at 13:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .