[NBLUG/talk] What controls the "prompt"?

Todd Cary todd at aristesoftware.com
Tue Aug 5 12:24:00 PDT 2003


The change below does not fix the problem.  I sent you a "ls -la" of my directory.

# grep "todd" /etc/passwd
All looks good

# df
Everything is on one partition and 12% is used.

# uname -a
Yes, it has the GNU version 2.4.20

Todd


+++++++


OK, I have found something that looks suscpicious to me. Could you do this:

Gain access to a roor shell.
# cd ~todd/
# mv .gconfd .gconfd.bad
# for i in .gnome* ; do mv $i ${i}.bad ; done

(These should move all of your gnome pref folders to named with ".bad"
extentions.)

*** NOTE: any gnome preferences setup prior will not look as you set the,
gnome will look "stock". We still have your prefs backed up in case this
does not help.

Then try logging out and then back into gnome and see if you can then
start gnome-terminal.

(I can explain this further if this does fix it. We still have more work
to do if this does fix it-- not much work though.)

If the above does not fix it, please verify the following:
# grep "todd" /etc/passwd
(ensure there is only one line returned and look at the last field. It
should be your shell. Verify the spelling of the shell and path are
exactly the same as what appears in /etc/shells. So, if your shell is
/bin/bash then verify you have /bin/bash in /etc/shells)
# df
(Verify that none of your mounted volumes are over 90% full -- especially
/tmp )
# uname -a
(shows kernel version verify it is a stock kernel.)

Also, to verify that tmp does not have stuff that it should not:
# ls -la /tmp

After this is resolved, the answer should be posted to the list.

I think we are rather close. (Being hopeful.)




ME wrote:

>Todd Cary said:
>  
>
>>Here are the result of the ls -la /dev/pts/ :
>>
>>drwxr-xr-x    2 root     root         4096 Jun 19 18:31 .
>>drwxr-xr-x   21 root     root       118784 Aug  4 11:53 ..
>>
>>And here are the results of ls -la /dev/ | grep pts
>>
>>drwxr-xr-x    2 root     root         4096 Jun 19 18:31 pts
>>
>>The trace is another story!  Since there appears to be a lot of
>>"looping" in both coupled with my lack of understanding of what Linux is
>>doing at this level of granulitity, I am not sure where the one run as
>>"todd" hangs and the one run as "root" succeeds.
>>    
>>
>
>yep. Both will loop until they die. If after they startup, you quit both,
>they will stop looping and the files will be completed. Send those files
>to my address not the talk list. I do not expect any moderators to okay
>your message with attachments that are too big.
>
>For the gnome-terminal running under your username, dont kill it right
>away. Try typing a few words into that window and let it run for a bit
>before closing the box.
>
>You will want to keep these files.
>
>-ME
>
>
>  
>
>>ME wrote:
>>
>>    
>>
>>>Good! Progress. I need some more information and would like to request
>>>you
>>>do some things:
>>>
>>>Are you running devfs or is dev a mounted physical filesystem? (I expect
>>>you have a /dev/ mounted filesystem that is not devfs)
>>>
>>>If you are running wit /dev/ that is not /devfs, then again, please check
>>>to see if you have a directory in /dev called "pts"
>>>
>>>(Do these as root)
>>>
>>>ls -la /dev/ | grep pts
>>>and
>>>ls -la /dev/pts/
>>>
>>>Also, please send me (not the list) the results of these:
>>>
>>>strace gnome-terminal 2> /tmp/gnome-output1.txt
>>>(as your own username in gnome)
>>>
>>>and again:
>>>
>>>strace gnome-terminal 2> /tmp/gnome-output-root.txt
>>>(as root)
>>>
>>>Different files for each. These should provide some details on what files
>>>are being opened and where it might be getting stuck.
>>>
>>>Thanks!
>>>-ME
>>>
>>>Todd Cary said:
>>>
>>>
>>>      
>>>
>>>>Here are the results of
>>>>
>>>>$ ls -la /dev/ptys* /dev/tty* > /tmp/my-tty.txt
>>>>
>>>>
>>>>        
>>>>
>>>_______________________________________________
>>>talk mailing list
>>>talk at nblug.org
>>>http://nblug.org/mailman/listinfo/talk
>>>
>>>.
>>>
>>>
>>>
>>>      
>>>
>>--
>>
>>_______________________________________________
>>talk mailing list
>>talk at nblug.org
>>http://nblug.org/mailman/listinfo/talk
>>
>>
>>    
>>
>
>_______________________________________________
>talk mailing list
>talk at nblug.org
>http://nblug.org/mailman/listinfo/talk
>
>.
>
>  
>

-- 




More information about the talk mailing list