Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

no $ prompt while starting console

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-05-2001
softarch softarch is offline
Registered User
 
Join Date: Feb 2001
Last Activity: 19 December 2001, 12:46 PM EST
Location: Littleton, CO
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
I had this problem before but it started working OK for a while. I can create a new profile but when I launch the console for that user it does not show the $ prompt. It shows for su and I tried to set the terminal but I am not sure if I did it correctly since it does not work still. The terminal runs OK. This is on Solaris 8.
Appriciate your help, George
Sponsored Links
    #2  
Old Unix and Linux 04-05-2001
softarch softarch is offline
Registered User
 
Join Date: Feb 2001
Last Activity: 19 December 2001, 12:46 PM EST
Location: Littleton, CO
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
it does, after 15 .. 20 seconds

any idea why that might be?
Thanks, George
Sponsored Links
    #3  
Old Unix and Linux 04-05-2001
98_1LE 98_1LE is offline Forum Advisor  
Registered User
 
Join Date: Dec 2000
Last Activity: 21 May 2012, 6:37 PM EDT
Location: Greater Dallas area
Posts: 405
Thanks: 0
Thanked 3 Times in 3 Posts
I'm not clear on your question. Is the user getting a shell? Can they execute commands? If so what are the results from:

Code:
echo $PS1
echo $SHELL

    #4  
Old Unix and Linux 04-05-2001
softarch softarch is offline
Registered User
 
Join Date: Feb 2001
Last Activity: 19 December 2001, 12:46 PM EST
Location: Littleton, CO
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Data console

Well, on the bottom bar I pop-up the selection from which I launch the console on solaris 8. The console or the window comes up but it takes 60 seconds (I just measured that) for the $ to come up. Then I can type commands. I an type anything in but it does not do anything until the 60 seconds when it resolve itself.
When I log in like another user the system takes like 2 minutes to come up. It's like trying to resolve something. It did not do that before. Did I mess up the system so much that it takes it so much to resolve its setup?
Thank you, George
Sponsored Links
    #5  
Old Unix and Linux 04-05-2001
PxT's Unix or Linux Image
PxT PxT is offline Forum Advisor  
Registered User
 
Join Date: Oct 2000
Last Activity: 7 May 2009, 12:22 PM EDT
Location: Sacramento, CA
Posts: 909
Thanks: 0
Thanked 4 Times in 4 Posts
add the line:
set -x

to your .profile. This should show you in great detail which commands are being run as you start up the shell.
Sponsored Links
    #6  
Old Unix and Linux 04-05-2001
softarch softarch is offline
Registered User
 
Join Date: Feb 2001
Last Activity: 19 December 2001, 12:46 PM EST
Location: Littleton, CO
Posts: 41
Thanks: 0
Thanked 1 Time in 1 Post
Data output by -x

+PATH=/sbin:/usr/sbin:/usr/ccs/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/openwin/bin:/opt/NSCPcom:/etc:.
+ export PATH
+ tty
+ [ /dev/pts/4 = /dev/console ]

That's the output.
Thanks, George
Sponsored Links
    #7  
Old Unix and Linux 04-05-2001
Neo's Unix or Linux Image
Neo Neo is online now Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 20 October 2017, 6:44 AM EDT
Location: Asia pacific region
Posts: 13,767
Thanks: 891
Thanked 1,219 Times in 569 Posts
The problem you are discussing may be an X related profile issue vs. the shell profile. Most X systems have a different set of profiles which are executed which are in the X paths vs. the /etc/profile and .profile under discussion.

I suggest that it is necessary to understand the full sequence of events after you launch an X console, e.g. all the resource files and their sequence and debug step-by-step. Does this make sense to you?
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to exit prompt when starting a weblogic administration server remotely? bhaskar_m Shell Programming and Scripting 4 01-26-2012 10:59 AM
How to prompt for login on OSX when starting Terminal Straitsfan OS X (Apple) 4 12-20-2010 02:03 PM
Console - root command prompt displayed twice after hitting enter aleith Solaris 11 06-22-2010 01:23 AM
Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer wbdevilliers UNIX for Dummies Questions & Answers 1 02-23-2010 08:11 AM
Starting up linux to Console stealthdestroyr UNIX for Dummies Questions & Answers 2 06-09-2002 11:01 PM



All times are GMT -4. The time now is 06:44 AM.