LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Console/Terminal Configuration issue (https://www.linuxquestions.org/questions/linux-newbie-8/console-terminal-configuration-issue-669021/)

jayley77 09-10-2008 04:47 PM

Console/Terminal Configuration issue
 
I apologize in advance if the solution to this issue easily found. I have spent the past 90 minutes searching the web and rephrasing my questions to no avail. This is the problem. I have a server running Red Hat Enterprise 4.0 update 5. I installed Intels storage manager Raid Web Console 2. After doing this when ever I right click the desktop and open a terminal/console, instead of it opening to /root as default it now opens to /usr/local/RAID Web Console 2/MegaPopup. If open a terminal from the Applications --> System Tools menu it will open to /root. My question is why does this open to 2 different locations and how can I change the desktop one to open to /root like it did before I installed that application. Also note that I am not opening the terminal from a shortcut icon on the desktop. I open it by right clicking and selecting it.

{BBI}Nexus{BBI} 09-10-2008 05:20 PM

Maybe a change has been written to your ~/username/.bashrc file.

jayley77 09-10-2008 05:47 PM

I just checked that file and there is not anything in there that would indicate for the terminal to open to that appliactions directory.

jayley77 09-11-2008 09:10 AM

I just tried typing "cd" and the directory changed to /root which is where it should change to as that is my home directory. This seems like that the application has set a parameter or an environment variable somewhere else that makes the console open to that specific location. I just dont know where else to look for this. Any more advice would be greatly appreciated.

{BBI}Nexus{BBI} 09-11-2008 10:43 AM

Check also /etc/bashrc & /etc/profile maybe the changes have been made in one of those two files.

tredegar 09-11-2008 11:37 AM

Errr, are you running your GUI as root?
Most people would strongly advise against doing that.

john test 09-11-2008 12:08 PM

At the terminal as root you could type "export" and it should show all variables and you might be able to find the variable that is set to equate desktop right click with the new program.

jayley77 09-11-2008 02:16 PM

Unfortunately I am logged in gnome as root which I know is a big "NO NO!" The system is undergoing integration for a customer and they dont want us adding users as they will be doing that themselves. What I ended up doing is I uninstalled the application and reinstalled it using the complete argument as opposed to using the standalone arguement which as seemed to remedy this. Its better off this way now the RAID can be managed remotely which was not an option under the standalone install. I have a few more of these I think I will install it as standalone again and run the export command to see if I can find the MegaPopup references in it for my own curiosity and expiermentation. As for the one I am currently working on it seems to be working fine, I'm just going to make a ghost image for the rest of them now that I have it configured the way the customer wants it. Thanks for all the help.


All times are GMT -5. The time now is 10:26 PM.