Re: Corrupted Gnome terminal

2008-01-18 Thread Jack Schneider
On Thu, 2008-01-17 at 10:20 -0500, Lennart Sorensen wrote: 
 On Tue, Jan 15, 2008 at 02:36:02PM -0600, Jack Schneider wrote:
  Tried the failsafe Gnome-Terminal, Terminal is fine when I login as
  alternate-user, but when I login as myself it continues to fail...8-(
  
  Tried the strace procedure the Jurriaan suggested.  and the diff
  returned a null output.  so it seems that starting gnome-terminal does
  not give a traceable error..  unless I screwed up again...8-)
  I hope I'm not interfering with your day... Thanks for your efforts and
  guidance
 
 You would have to do something like:
 
 strace gnometerminalprogram 2 logfile
 
 All output from strace is on stderr not stdout.
 
 otherwise you end up with a log containing only the output of the
 terminal program, not the strace.
 
 --
 Len Sorensen
 
 

Hi, all 

Finally got back to this..  I ran in a login safe gnome-terminal:
strace gnome-terminal 2 term_error
on both users 


Speeduke:/home/jack# diff term_error ~puck/term_error  diff_terms
Speeduke:/home/jack# less diff_terms
Speeduke:/home/jack# man diff

Speeduke:/home/jack# diff  --suppress-common-lines  term_error
~puck/term_error  diff_terms
Speeduke:/home/jack# tar cvf diff_terms.tar diff_terms

The tarred file is attached..  Hope someone can make some sense out of
it... I just don't have the knowledge to get farther...

Any suggestions??

Thanks,  Jack 



diff_terms.tar
Description: Unix tar archive


Re: Corrupted Gnome terminal

2008-01-18 Thread Jack Schneider
On Fri, 2008-01-18 at 12:45 -0500, Lennart Sorensen wrote:
 On Fri, Jan 18, 2008 at 09:45:14AM -0600, Jack Schneider wrote:
  Finally got back to this..  I ran in a login safe gnome-terminal:
  strace gnome-terminal 2 term_error
  on both users 
  
  
  Speeduke:/home/jack# diff term_error ~puck/term_error  diff_terms
  Speeduke:/home/jack# less diff_terms
  Speeduke:/home/jack# man diff
  
  Speeduke:/home/jack# diff  --suppress-common-lines  term_error
  ~puck/term_error  diff_terms
  Speeduke:/home/jack# tar cvf diff_terms.tar diff_terms
  
  The tarred file is attached..  Hope someone can make some sense out of
  it... I just don't have the knowledge to get farther...
  
  Any suggestions??
 
 All I see in that file is 10240 0x00 bytes.  That seems wrong.
 
 Maybe you could try:
 
 strace -o termerrors -ff gnome-terminal
 
 That should generate termerrors.### where ### is the PID of the
 gnome-terminal when it runs.
 
 --
 Len Sorensen
 
 

Thanks, Len I'll try that

Jack


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Corrupted Gnome terminal

2008-01-18 Thread Lennart Sorensen
On Fri, Jan 18, 2008 at 09:45:14AM -0600, Jack Schneider wrote:
 Finally got back to this..  I ran in a login safe gnome-terminal:
 strace gnome-terminal 2 term_error
 on both users 
 
 
 Speeduke:/home/jack# diff term_error ~puck/term_error  diff_terms
 Speeduke:/home/jack# less diff_terms
 Speeduke:/home/jack# man diff
 
 Speeduke:/home/jack# diff  --suppress-common-lines  term_error
 ~puck/term_error  diff_terms
 Speeduke:/home/jack# tar cvf diff_terms.tar diff_terms
 
 The tarred file is attached..  Hope someone can make some sense out of
 it... I just don't have the knowledge to get farther...
 
 Any suggestions??

All I see in that file is 10240 0x00 bytes.  That seems wrong.

Maybe you could try:

strace -o termerrors -ff gnome-terminal

That should generate termerrors.### where ### is the PID of the
gnome-terminal when it runs.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Corrupted Gnome terminal

2008-01-17 Thread Lennart Sorensen
On Tue, Jan 15, 2008 at 02:36:02PM -0600, Jack Schneider wrote:
 Tried the failsafe Gnome-Terminal, Terminal is fine when I login as
 alternate-user, but when I login as myself it continues to fail...8-(
 
 Tried the strace procedure the Jurriaan suggested.  and the diff
 returned a null output.  so it seems that starting gnome-terminal does
 not give a traceable error..  unless I screwed up again...8-)
 I hope I'm not interfering with your day... Thanks for your efforts and
 guidance

You would have to do something like:

strace gnometerminalprogram 2 logfile

All output from strace is on stderr not stdout.

otherwise you end up with a log containing only the output of the
terminal program, not the strace.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Corrupted Gnome terminal

2008-01-15 Thread Jack Schneider
On Mon, 2008-01-14 at 15:11 -0800, Alex Malinovich wrote:
snip 
  Also
  
  when I started gnome-terminal from that point it gave me a completely
  working terminal... I tried to capture the profile as the default and
  restarted my normal login...  No Improvemnt 
 
 Well, this tells us that, most likely, the problem doesn't lie with
 gnome-terminal itself, but rather with some other application that's
 running in your session. The next step would be to try to log into a
 failsafe gnome session and see if it works there. That'll just start up
 gnome with none of your personal settings applied.
 
 If it works fine there, then it's time to start really digging. At that
 point, you can try the strace approach that Jurriaan mentioned and see
 if it helps. If you have a conflict with another program the strace
 should show you where the problem lies (if you can read the output that
 is. It's a bit of an acquired skill...)
 
 p.s. I'm subscribed to the list so you don't have to do a Reply To All
 when responding. As it looks like you're using Evolution you can just do
 Reply to List (Ctrl+L is the default, I believe), and it will take
 care of the rest for you.
 

Hi, Alex

Tried the failsafe Gnome-Terminal, Terminal is fine when I login as
alternate-user, but when I login as myself it continues to fail...8-(

Tried the strace procedure the Jurriaan suggested.  and the diff
returned a null output.  so it seems that starting gnome-terminal does
not give a traceable error..  unless I screwed up again...8-)
I hope I'm not interfering with your day... Thanks for your efforts and
guidance

Jack



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Corrupted Gnome terminal

2008-01-15 Thread Alex Malinovich
On Tue, 2008-01-15 at 14:36 -0600, Jack Schneider wrote:
 On Mon, 2008-01-14 at 15:11 -0800, Alex Malinovich wrote:
--snip--
 Tried the failsafe Gnome-Terminal, Terminal is fine when I login as
 alternate-user, but when I login as myself it continues to fail...8-(
 
 Tried the strace procedure the Jurriaan suggested.  and the diff
 returned a null output.  so it seems that starting gnome-terminal does
 not give a traceable error..  unless I screwed up again...8-)
 I hope I'm not interfering with your day... Thanks for your efforts and
 guidance

Ok, let's do a quick refresher so I can make sure we're both on the same
page here:

1) Launching gnome-terminal through a failsafe xterm session works fine
2) Launching it as a different user in a regular gnome session works
fine
3) Launching it as yourself in a regular gnome session or even a
failsafe gnome session causes it to fail?
4) Using xterm or any other terminal emulator works fine

And of the following, which have you/haven't you done already:

1) Removed all the gnome-terminal gconf settings
2) Done a purge of gnome-terminal followed by a reinstall (apt-get
remove --purge gnome-terminal)

Now, come to think of it, can you give some more details on what exactly
is happening with the window? I know you said you can't close it, but
does the terminal work ok otherwise? After you open the terminal, can
you actually type commands, get output, etc?

Do the drop-down menus at the top work if you click on them?

If you click the close button at the top of the window does Gnome give
you the force quit dialog?

If you can provide a screenshot of the terminal in the hung state that
would also be helpful.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Corrupted Gnome terminal

2008-01-14 Thread thunder7
From: Jack Schneider [EMAIL PROTECTED]
Date: Mon, Jan 14, 2008 at 08:02:28AM -0600
 Hi, all
 
 I screwed up my Gnome Terminal setup some how... on my workstation
 desktop.
 
 My system:
 Debian Lenny
 Kernel: 2.6.22-3-amd64
 Video:  Nvidia 8600 GT
 Video Drv. NVIDIA 169.07
 
 My Problems:
 Gnome terminal has unreadable fonts..TOO small. The terminal will not
 close, when clicking on X, and cntrl++ will not work. 
 
 Xterm seems to work. OK  /var/log/Xorg.0.log has one failure:
 (EE) Failed to load module type1 (module does not exist, 0)
 
 I created a new user, and the Gnome terminal on that Desktop works
 normally..OK  So it seems I have a hidden file screwed up on my
 desktop...
 
 Anyone have a idea what folder i should replace???  or what/where I
 should look or go from here???  I have been struggling for several days
 and come up blank from Archive and Google.
 
 Thanks, in advance..
 Jack 
 

If you remove the package (apt-get remove --purge) and then reinstall
it, does it disappear?

If not, what I'd do is compare strace logs of Gnome terminal for the
user where it isn't OK and the strace logs of Gnome terminal for the
user where it is OK, or find all files including hidden files changed in
the last week or so starting from ~ and guessing which one interacts
with Gnome terminal.

Good luck,
Jurriaan
-- 
Morwatz said fretfully, Why are you so interested in the mannerisms of
the race? Tonight, they intend to eat us . . .
Jack Vance - Big Planet


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Corrupted Gnome terminal

2008-01-14 Thread Alex Malinovich
On Mon, 2008-01-14 at 08:02 -0600, Jack Schneider wrote:
--snip--
 My Problems:
 Gnome terminal has unreadable fonts..TOO small. The terminal will not
 close, when clicking on X, and cntrl++ will not work. 
 
 Xterm seems to work. OK  /var/log/Xorg.0.log has one failure:
 (EE) Failed to load module type1 (module does not exist, 0)
 
 I created a new user, and the Gnome terminal on that Desktop works
 normally..OK  So it seems I have a hidden file screwed up on my
 desktop...
 
 Anyone have a idea what folder i should replace???  or what/where I
 should look or go from here???  I have been struggling for several days
 and come up blank from Archive and Google.

A good place to start would be to take a look at the gconf settings for
gnome-terminal, specifically /apps/gnome-terminal. If you don't mind
losing any settings for it, you can do:

gconftool-2 --recursive-unset /apps/gnome-terminal

However, as you've mentioned you're having difficulties closing the
program, I'd be inclined to think that the problem might lie with
another application in your session. Try logging into a failsafe xterm
session and starting up just your WM and gnome-terminal. Something along
the lines of:

[EMAIL PROTECTED]:~$ metacity 
[EMAIL PROTECTED]:~$ gnome-terminal

And then see what happens. Doing it this way will allow you to determine
if the fault lies with another program that's running in your session.

Hope that helps.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: Corrupted Gnome terminal

2008-01-14 Thread Jack Schneider
On Mon, 2008-01-14 at 13:41 -0800, Alex Malinovich wrote:
 On Mon, 2008-01-14 at 08:02 -0600, Jack Schneider wrote:
 --snip--
  My Problems:
  Gnome terminal has unreadable fonts..TOO small. The terminal will not
  close, when clicking on X, and cntrl++ will not work. 
  
  Xterm seems to work. OK  /var/log/Xorg.0.log has one failure:
  (EE) Failed to load module type1 (module does not exist, 0)
  
  I created a new user, and the Gnome terminal on that Desktop works
  normally..OK  So it seems I have a hidden file screwed up on my
  desktop...
  
  Anyone have a idea what folder i should replace???  or what/where I
  should look or go from here???  I have been struggling for several days
  and come up blank from Archive and Google.
 
 A good place to start would be to take a look at the gconf settings for
 gnome-terminal, specifically /apps/gnome-terminal. If you don't mind
 losing any settings for it, you can do:
 
 gconftool-2 --recursive-unset /apps/gnome-terminal
 
 However, as you've mentioned you're having difficulties closing the
 program, I'd be inclined to think that the problem might lie with
 another application in your session. Try logging into a failsafe xterm
 session and starting up just your WM and gnome-terminal. Something along
 the lines of:
 
 [EMAIL PROTECTED]:~$ metacity 
 [EMAIL PROTECTED]:~$ gnome-terminal
 
 And then see what happens. Doing it this way will allow you to determine
 if the fault lies with another program that's running in your session.
 
 Hope that helps.
 

Thanks for the reply,

Below is the output of the metacity command:

[EMAIL PROTECTED]:~$ metacity 
[1] 5844
[EMAIL PROTECTED]:~$ Window manager warning: AltButton3 found in
configuration d
atabase is not a valid value for keybinding activate_window_menu
Window manager warning: AltButton1 found in configuration database
is not a 
valid value for keybinding begin_move
Window manager warning: AltButton2 found in configuration database
is not a 
valid value for keybinding begin_resize

Also

when I started gnome-terminal from that point it gave me a completely
working terminal... I tried to capture the profile as the default and
restarted my normal login...  No Improvemnt 

The above looks like somthing to work on..???

What next Coach???

Thanks, Alex..



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Corrupted Gnome terminal

2008-01-14 Thread Jack Schneider
On Mon, 2008-01-14 at 13:41 -0800, Alex Malinovich wrote:
 On Mon, 2008-01-14 at 08:02 -0600, Jack Schneider wrote:
 --snip--
  My Problems:
  Gnome terminal has unreadable fonts..TOO small. The terminal will not
  close, when clicking on X, and cntrl++ will not work. 
  
  Xterm seems to work. OK  /var/log/Xorg.0.log has one failure:
  (EE) Failed to load module type1 (module does not exist, 0)
  
  I created a new user, and the Gnome terminal on that Desktop works
  normally..OK  So it seems I have a hidden file screwed up on my
  desktop...
  
  Anyone have a idea what folder i should replace???  or what/where I
  should look or go from here???  I have been struggling for several days
  and come up blank from Archive and Google.
 
 A good place to start would be to take a look at the gconf settings for
 gnome-terminal, specifically /apps/gnome-terminal. If you don't mind
 losing any settings for it, you can do:
 
 gconftool-2 --recursive-unset /apps/gnome-terminal
 
 However, as you've mentioned you're having difficulties closing the
 program, I'd be inclined to think that the problem might lie with
 another application in your session. Try logging into a failsafe xterm
 session and starting up just your WM and gnome-terminal. Something along
 the lines of:
 
 [EMAIL PROTECTED]:~$ metacity 
 [EMAIL PROTECTED]:~$ gnome-terminal
 
 And then see what happens. Doing it this way will allow you to determine
 if the fault lies with another program that's running in your session.
 
 Hope that helps.
 

Thanks, Alex 

I'll try that in a few hours...

Jack


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Corrupted Gnome terminal

2008-01-14 Thread Alex Malinovich
On Mon, 2008-01-14 at 17:01 -0600, Jack Schneider wrote:
--snip--
 Below is the output of the metacity command:
 
 [EMAIL PROTECTED]:~$ metacity 
 [1] 5844
 [EMAIL PROTECTED]:~$ Window manager warning: AltButton3 found in
 configuration d
 atabase is not a valid value for keybinding activate_window_menu
 Window manager warning: AltButton1 found in configuration database
 is not a 
 valid value for keybinding begin_move
 Window manager warning: AltButton2 found in configuration database
 is not a 
 valid value for keybinding begin_resize

These are just warnings. If you're so inclined you can try fixing them
up later, but they shouldn't matter for the current problem at least.

 Also
 
 when I started gnome-terminal from that point it gave me a completely
 working terminal... I tried to capture the profile as the default and
 restarted my normal login...  No Improvemnt 

Well, this tells us that, most likely, the problem doesn't lie with
gnome-terminal itself, but rather with some other application that's
running in your session. The next step would be to try to log into a
failsafe gnome session and see if it works there. That'll just start up
gnome with none of your personal settings applied.

If it works fine there, then it's time to start really digging. At that
point, you can try the strace approach that Jurriaan mentioned and see
if it helps. If you have a conflict with another program the strace
should show you where the problem lies (if you can read the output that
is. It's a bit of an acquired skill...)

p.s. I'm subscribed to the list so you don't have to do a Reply To All
when responding. As it looks like you're using Evolution you can just do
Reply to List (Ctrl+L is the default, I believe), and it will take
care of the rest for you.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part