LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-08-2005, 09:59 AM   #1
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Rep: Reputation: 15
New Terminal menu item does nothing


Here's one for you . . .

Two days ago the users reported that the New Terminal menu item in the desktp context menu no longer brings up a new gnome-terminal. They are using gnome 2.2.2 (or at least that is the version of the gnome-desktop rpm installed on the machines with RedHat WS3. This is the latest package offered by rhn for this version of RH.

I can't seem to find an easy way to verify if the code behind the menu is still valid. I suppose I could try to re-install the gnome-desktop package if I new that was indeed the correct one. Of course, this menu is not one that can be edited through the GUIs.

Main Menu-> System Tools-> Terminal does indeed bring up the terminal as does gnome-terminal from an existing terminal. So, the exectuable itself is still good.

I have been able to use gconf-editor to set up a keyboard shortcut as a temporary work-around. But the thought of having to implement that for each user makes me tired.

Thanks in advance for your assistance.
 
Old 12-09-2005, 05:08 AM   #2
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Quote:
Originally Posted by flgal3
Here's one for you . . .

Two days ago the users reported that the New Terminal menu item in the desktp context menu no longer brings up a new gnome-terminal. They are using gnome 2.2.2 (or at least that is the version of the gnome-desktop rpm installed on the machines with RedHat WS3. This is the latest package offered by rhn for this version of RH.

I can't seem to find an easy way to verify if the code behind the menu is still valid. I suppose I could try to re-install the gnome-desktop package if I new that was indeed the correct one. Of course, this menu is not one that can be edited through the GUIs.

Main Menu-> System Tools-> Terminal does indeed bring up the terminal as does gnome-terminal from an existing terminal. So, the exectuable itself is still good.

I have been able to use gconf-editor to set up a keyboard shortcut as a temporary work-around. But the thought of having to implement that for each user makes me tired.

Thanks in advance for your assistance.
This functionality (context menu terminal option) exists in Gnome versions up to 2.10, but not in 2.12. I don't have 2.12, so I can't say for sure, but read it is gone from the menu in 2.12. Don't know if RH has patched anything in their distro that would be different than in any other version. There is a graphical tool in Gnome 2.10 for setting keyboard shortcuts, but that doesn't help your multiple user issue. From the Gnome web site:

" Some old features in Nautilus, such as the Open Terminal, that would be available on the desktop context menu, have now been moved into more powerful extensions, with more functionality for the power users that need them."
 
Old 12-09-2005, 07:08 AM   #3
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Original Poster
Rep: Reputation: 15
But we are only using 2.2.2

Thanks Sargek for your reply. I've read about the change to this menu item in versions of gnome beyond 2.10 as well. However, from what I can see, version 2.2.2 is what is include with the version of RH WS on our machines. Even so, the gnome packages have not been updated recently. There is no evidence that I can see indicating a software change triggering this problem. Further, the menu item is still in the context menu. If functionality had been moved, I can only assume its associated menu item would be moved as well.

I've also read that customizing this context menu is not possible. But, does anyone know how I can confirm that the code behind it has not been corrupted.

Finally, I thought I had created a keyboard shortcut to enable users to bring up a new terminal window. But it only seems to work when any other window is active. If there are no windows open on the desktop, the keyboard shortcut doesn't work. ARGH!!!
 
Old 12-09-2005, 07:59 PM   #4
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Quote:
Originally Posted by flgal3
Thanks Sargek for your reply. I've read about the change to this menu item in versions of gnome beyond 2.10 as well. However, from what I can see, version 2.2.2 is what is include with the version of RH WS on our machines. Even so, the gnome packages have not been updated recently. There is no evidence that I can see indicating a software change triggering this problem. Further, the menu item is still in the context menu. If functionality had been moved, I can only assume its associated menu item would be moved as well.

I've also read that customizing this context menu is not possible. But, does anyone know how I can confirm that the code behind it has not been corrupted.

Finally, I thought I had created a keyboard shortcut to enable users to bring up a new terminal window. But it only seems to work when any other window is active. If there are no windows open on the desktop, the keyboard shortcut doesn't work. ARGH!!!
RH must have a tweaked version of Gnome, or their own version numbers because Gnome itself is only on 2.1! Anyway, what are the settings under "Preferred Applications" for the terminal? I assume they are the gnome-terminal, which is the default. At first I thought since this is a Workstation version, there may be facilities to lock it down so users cannot use the command line, and there are, but I believe when this is done, the context menu item disappears, which is not true in your case.

As for the code being corrupted, that can't happen since there is no code running on the system, only compiled binaries. I can't help but wonder if a setting is wrong, or something. I searched gnomesupport.org and google'd, but didn't find anything either. I will keep looking and see if I can find something - if I do I'll post back.
 
Old 12-12-2005, 08:15 AM   #5
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Original Poster
Rep: Reputation: 15
Still searching . . .

I certainly appreciate your persistence. I agree it seems like a screwed up permission or user setting. But, how each user managed to do the same thing to cause the same problem is beyond me.

Thanks again.
 
Old 12-13-2005, 04:54 AM   #6
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Maybe I missed something entirely - since all of your users reported it, perhaps a security or other patch removed this functionality? Have you pushed out any patches lately? If it was a setting, why would all users report it, unless of course, you have gremlins...!
 
Old 12-13-2005, 09:46 AM   #7
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Original Poster
Rep: Reputation: 15
Trolls are afoot

Not gremlins, trolls. I no nada about pushing any patches or updates out. Even so, I've rechecked the logs to see if anything was done automagically. Nothing is being reported in the log files. A few a the machines have also since be rebooted. Things with the menu item remain hosed. I am perplexed.
TU.
 
Old 12-13-2005, 09:47 AM   #8
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by flgal3
I no nada

Well I obviously *know* nothing after this last post. Ack!
 
Old 01-30-2006, 08:03 AM   #9
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Original Poster
Rep: Reputation: 15
After months of never understanding what happened, a different problem caused me to stumbled over the source of the issue in this post. Somehow, in one of our automounted directories, directories are being created with the same name as key executables. Worse yet, these directories are owned by root. How it happens I do not know. But, because the automounted dir is in the user's $PATH, the system tries to execute the directory named as the executable. Of course it fails, but there is rarely a warning anywhere. All I had to do was remove these directories, and the original command files are found and executed. Here's an example . . .

Quote:
$ ls -al
total 248
drwxrwxr-x 14 cadmgr cadmgr 4096 Jan 29 14:24 .
drwxr-xr-x 5 root root 0 Jan 30 07:30 ..
-rwxrwxr-x 1 cadmgr cadmgr 1114 Jun 2 2003 MCS.pl
drwxrwxr-x 2 cadmgr cadmgr 4096 Oct 14 11:25 data
dr-xr-xr-x 2 root root 4096 Jan 27 10:31 df
drwxrwxr-x 23 cadmgr cadmgr 4096 Oct 14 11:25 doc
dr-xr-xr-x 2 root root 4096 Jan 29 14:24 expr
dr-xr-xr-x 2 root root 4096 Jan 29 08:38 gnome-terminal
-rwxrwxr-x 1 cadmgr cadmgr 485 Aug 15 10:04 ic_index.sdx
drwxrwxr-x 6 cadmgr cadmgr 4096 Oct 14 11:25 install
drwxrwxr-x 2 cadmgr cadmgr 4096 Oct 14 11:25 installData
drwxrwxr-x 2 cadmgr cadmgr 4096 Jan 18 17:18 logfiles
dr-xr-xr-x 2 root root 4096 Jan 27 10:31 sh
Notice all the directories owned by root have the same names as an executable (df, sh, gnome-terminal). The directories themselves are empty. Delete the directories and everything goes back to normal. Cool.

Not really. They get re-created and I can't figure out what the trigger is!! The only clue I have going for me at this point is the date and time that the directories are being created. But, because this particular directory is automounted to several other systems, I really have no idea which machine the actually creation is happening on let alone what user.

Has anyone ever seen anything like this?!?!?!?
 
Old 01-30-2006, 05:48 PM   #10
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Glad you found a reason...sort of! I am not a big GNU/Linux network guru, so I may stumble through this - are you guys using an NIS/NFS network? I am thinking of a mounting script in /etc that lets the system know what to mount and not to mount, but haven't looked at an NFS system in a couple of years. Not /etc/fstab, but something else - I do not have either NIS or NFS support installed in this box, so cannot say. Just trying suggestions to maybe stir up some thought...
 
Old 01-30-2006, 09:45 PM   #11
flgal3
LQ Newbie
 
Registered: Aug 2005
Distribution: RedHat Enterprise WS v.3
Posts: 27

Original Poster
Rep: Reputation: 15
More thoughts

I'm certainly no Linux expert myself and I've caused more than enough havoc on my share on Solaris boxes. That is how I cut my teeth with this UNIX stuff, so Linux never fails to throw curve balls at me.

At any rate, yes, we use NFS and NFS along with the automounter. You should check out the automounter (/etc/init.d/autofs) for the mounting and unmounting scheme you mention. Autofs seems to be fairly stable on Linux, or at least on RedHat AS 3.0 which we are using.

The automounter has this feature named ghosting that I suspect may be the cause of the core issue at work with my mystery directories. We shall see, I'm going to turn this "feature" off tonight and see what happens. None of my searches here, or on google, or RedHat's support site, have turned anyhthing useful.

Good luck and thank you for your help.
 
Old 02-05-2006, 09:27 PM   #12
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
You are welcome. I have only set up one NIS/NFS network, and it was small. I used RH 9 for both the server and workstations, and it worked well, with the user's /home dir's being on the server so the users could be totally mobile. That was a long time ago though, and I don't remember a whole lot about it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Right-click "Terminal here" menu item....? dangerousdave Linux - Software 7 08-26-2005 02:27 AM
making a menu item in suse9.2 invinciblegod Linux - Newbie 2 07-20-2005 07:09 PM
add a menu item in gnome... jkassemi Linux - Newbie 1 03-31-2005 11:38 PM
Menu item in Madrake 9.2 Veli Mandriva 2 07-11-2004 06:24 AM
How do I get rid of a LILO menu item?? enigma Z Linux - Software 3 09-25-2003 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration