Computing.Net > Forums > Solaris > Solaris 8, .profile

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Solaris 8, .profile

Reply to Message Icon

Name: PhilShowalter
Date: April 10, 2004 at 12:51:14 Pacific
OS: Solaris 8
CPU/Ram: Sun hardware, ram unknown
Comment:

I'm a novice UNIX/Solaris user at best, so be gentle :-)

My premise on Solaris 8:

It's my understanding that when a user (let's say "oracle") logs in, the .profile in the user's home directory will "execute".

What's happening:

When I log in as oracle and run "env" it shows that the environmental variables I set in .profile seem to have worked.

Example: export DISPLAY=me.somewhere.com:0.0

But when I try to run xterm to start a session (I ran Xwin32 first) I get an error message saying that it can't output to a null display, or something to that effect. If I then manually type in the export DISPLAY command and try xterm again, it works like a charm.

If .profile is not really executing, then why do the env variables show that they are set correctly?

I'm a beginner, thanks for any help.

Phil



Sponsored Link
Ads by Google

Response Number 1
Name: guardian2221
Date: May 18, 2004 at 16:17:31 Pacific
Reply:

Unless I misread your .profile example, try using two lines in the .profile to get your results.

DISPLAY=me.somewhere.com:0.0
export DISPLAY


0
Reply to Message Icon

Related Posts

See More


Mail subject produced by ... How to watch movies in so...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Solaris 8, .profile

Solaris 8 www.computing.net/answers/solaris/solaris-8/4690.html

solaris 8 help www.computing.net/answers/solaris/solaris-8-help/2414.html

Solaris 8 bootup message www.computing.net/answers/solaris/solaris-8-bootup-message/4788.html