The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Hp-UX 11.23 - CDE not starting netwalker HP-UX 4 10-08-2007 12:54 PM
Starting over DudeMan Shell Programming and Scripting 2 10-29-2005 09:16 PM
Starting up linux to Console stealthdestroyr UNIX for Dummies Questions & Answers 2 06-09-2002 11:01 PM
Starting X? AMDPwred UNIX for Dummies Questions & Answers 2 03-14-2002 12:07 PM
Starting up msm UNIX for Dummies Questions & Answers 1 11-28-2001 01:51 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-05-2001
softarch softarch is offline
Registered User
  
 

Join Date: Feb 2001
Location: Littleton, CO
Posts: 41
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 (permalink)  
Old 04-05-2001
softarch softarch is offline
Registered User
  
 

Join Date: Feb 2001
Location: Littleton, CO
Posts: 41
it does, after 15 .. 20 seconds

any idea why that might be?
Thanks, George
  #3 (permalink)  
Old 04-05-2001
98_1LE 98_1LE is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
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 (permalink)  
Old 04-05-2001
softarch softarch is offline
Registered User
  
 

Join Date: Feb 2001
Location: Littleton, CO
Posts: 41
Unhappy 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 (permalink)  
Old 04-05-2001
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
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 (permalink)  
Old 04-05-2001
softarch softarch is offline
Registered User
  
 

Join Date: Feb 2001
Location: Littleton, CO
Posts: 41
Unhappy 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 (permalink)  
Old 04-05-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,706
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?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0