LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2004, 09:14 AM   #1
hiplainsdrifter
Member
 
Registered: Jan 2002
Location: Cape Elizabeth, Maine USA
Distribution: SuSE 9.01
Posts: 44

Rep: Reputation: 15
Access to Gnome desktop problem


Specs -
SuSE 9.0 user
Native Linux box
Gnome user
Running Apache2 & Tomcat
Logging in as root
(This is all working)

Background:
I needed to add the JAVA_HOME to my environment settings to get Tomcat running (after installing JDK) - and in reading about how to do so - I saw an advisory that I should NOT actually change /etc/profile BUT should make a file called profile.local instead.

Being a newbie I just cp'ed the profile to profile.local and made the additions.
(...and it worked because Apache finally started as did Tomcat.)


Anyways to make sure the changes took I shutdown and restarted the system. ...and it appears to boot fine.

The problem is >
When I Login as Root (or any user) at the Gnome Login and then enter the password and the screen just goes blank when I enter to the gnome desktop.

What I'm doing now is
Starting up under failsafe -
logging in a the command line as root ---
which leaves me with a "Have Fun" statement - kind of no man's land
I can then <Ctrl> Z C Q (can't remember as I'm at work)
and break to a bash prompt and do
startx which brings up Gnome.

I'm gathering something is botched up in the profile.local or by having it there to begin with. Thoughts or assistance would be appreciated. Thanks.
 
Old 03-30-2004, 12:03 PM   #2
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Hello,

Code:
Being a newbie I just cp'ed the profile to profile.local and made the additions.
oh, that seems to be the problem! In "/etc/profile" from SuSE 9.0 I found the following line:
Quote:
test -s /etc/profile.local && . /etc/profile.local
So you have created a fine endless loop...

cu

hp_tux
 
Old 03-30-2004, 12:09 PM   #3
hiplainsdrifter
Member
 
Registered: Jan 2002
Location: Cape Elizabeth, Maine USA
Distribution: SuSE 9.01
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks!

So do you suggest just #'ing it out in
profile
and deleting it in
profile.local
?
 
Old 03-30-2004, 12:24 PM   #4
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Hello,

Quote:
So do you suggest just #'ing it out in
profile
and deleting it in
profile.local
?
no!

Initially you wanted to add some stuff to "/etc/profile", right?! Put this stuff, and no more, into "~/profile.local", and you're done!

cu

hp_tux
 
Old 03-30-2004, 12:28 PM   #5
hiplainsdrifter
Member
 
Registered: Jan 2002
Location: Cape Elizabeth, Maine USA
Distribution: SuSE 9.01
Posts: 44

Original Poster
Rep: Reputation: 15
OK so profile.local is just a supplement to profile got it. Thanks!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome desktop problem salahuddin_66 Debian 1 06-23-2005 01:31 PM
Gnome desktop problem hilbert Linux - Software 2 11-12-2004 03:59 AM
problem with gnome desktop nboul Linux - Software 2 10-18-2004 04:45 AM
Gnome desktop problem jdogg2001 Linux - Newbie 1 03-04-2002 02:09 PM
Gnome desktop problem TomHodder Linux - Newbie 2 09-10-2001 04:44 PM


All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration