no $ prompt while starting console


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers no $ prompt while starting console
# 1  
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
# 2  
it does, after 15 .. 20 seconds

any idea why that might be?
Thanks, George
# 3  
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  
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
# 5  
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.
# 6  
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
# 7  
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?
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #325
Difficulty: Medium
Early RAM was not directly seated onto the motherboard so it could easily changed and upgraded.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

2. UNIX for Advanced & Expert Users

$ Prompt on Serial console is not responding.

Hi Experts. i have been stuck up with an issue. i have connected my Solaris 8 , Sun fire V445 on serial port by using Teraterm. Initially i was able to login and executed some tasks. After executing some commands (mainly Control +c), i am not able to type any key or not able to do anything at... (2 Replies)
Discussion started by: siddulamadhu
2 Replies

3. Solaris

$ Prompt on Serial console is not responding.

Hi Experts. i have been stuck up with an issue. i have connected my Solaris 8 , Sun fire V445 on serial port by using Teraterm. Initially i was able to login and executed some tasks. After executing some commands (mainly Control +c), i am not able to type any key or not able to do anything at... (2 Replies)
Discussion started by: siddulamadhu
2 Replies

4. Solaris

Console Prompt

Hey guys, I'm trying to get the servers up, but I am having a hard time just trying to get in the system and configure it. I am connecting to the Sun 240,220 servers via the Serial Connection. Watching the server come up after it starts to come up and does all the post message the screen... (6 Replies)
Discussion started by: br1an
6 Replies

5. Solaris

Zone console login prompt exit

Hi , I am not able to exit fom zone console login prompt. I have tried options like ~. ~~. and @. but it is not working fo me. Could someone Please help me on this. Thanks in Advance!! Regards, Laxxi (7 Replies)
Discussion started by: Laxxi
7 Replies

6. Shell Programming and Scripting

How to exit prompt when starting a weblogic administration server remotely?

Hi, I am trying to start Weblogic Admin server using start-up script (./startWeblogic.sh) from a remote host using a different user. The server starts fine but prompt is stuck, it does not return Background: We have multiple admin servers in different environment and the requirement is all... (4 Replies)
Discussion started by: bhaskar_m
4 Replies

7. OS X (Apple)

How to prompt for login on OSX when starting Terminal

I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in. Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies

8. Solaris

Console - root command prompt displayed twice after hitting enter

Dear All, I hope you can help me. I have a pair of E2900's I've inherited. Both running Solaris 9. Both have LOM> consoles. The problem I'm experiencing only occurs when connected to the /dev/console tty. Whenever I hit 'Enter' for a new line, I receive two new lines: - myhost# ... (11 Replies)
Discussion started by: aleith
11 Replies

9. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

:confused:Hi This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons. I get a whole bunch of errors when starting the service too: Tue Feb 23 14:29:45 2010 ... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

10. UNIX for Dummies Questions & Answers

Starting up linux to Console

How do i start linux without going straight into X window enviroment, but into the console instead, and also, how do i get back in ? (2 Replies)
Discussion started by: stealthdestroyr
2 Replies

Featured Tech Videos