HI ,

After updating /etc/profile with some environment variables for installing a package like eclipse and restarting the machine I am getting the following error when logging in as 'root' in the GNOME dialog box;

"Could not connect to session bus. Failed to execute dbus-launch to auto-launch D-Bus session"

My profile seems to have been screwed up

How can I revert to a previous profile or a default one to get back in ?

I have tried to do a system repair with the installation disk but no avail.....

What can I try in 'rescue mode'?

Am using SLES11sp3


/etc/profile
When I wanted to edit this file - I noticed that it mentioned about swap space and prompted if I wanted to edit or just read the file , I selected edit....

In general where is the best place to modify environment variables??

Thanks