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-12-2004, 04:34 PM   #1
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Rep: Reputation: 15
I was here but now its gone .....


Ok let me put it like I want it .. or should I say what it was like when it came and then left. First thing is that when my system booted up it went strat to GUI and allowed me to log on with my username and password. And it went stright to the Gnome desktop with no errors or any thing, just like a normal OS should. And when I went to the terminal emulation program it said [root@host3 root]# and most importantly I could print.


But now its back to the same 'ol sam 'ol where when I boot up my system it goes to the command line for me to do my login and then I have to type startx to get to the Gnome GUI and then when it loads every thing it comes up with the error, (and depending on the boot I may have to log in again for my keyboard to work. And no there is nothing wrong with my keyboard it just sometime requiers me log on again in the GUI enviroment right after I login in the cmd line eviroment.)

----This is the error it shows me everytime I boot up----

Could not lookup internet add. for host3-null. this prevents gnome form operating correctly it may be possible to correct the problem by adding host3null to file.

And when I go to terminal emulation program it says [root@host3-null root]# at the command prompt.
But worst of all I can't print..

Can any one help me get it back to where it should be where every thing works.

Thanks in Adv ...



 
Old 03-12-2004, 04:57 PM   #2
Gibsonist
Member
 
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
Hi
sounds like something kicked some of your confs.
Could you answer these questions please:
what distribution are you using (still RH7.3)
what print spooler (ie CUPS, LPRng ...)
do you always log on as root

Cheers

Last edited by Gibsonist; 03-12-2004 at 04:58 PM.
 
Old 03-12-2004, 05:00 PM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Linux Mint 17.1
Posts: 1,424

Rep: Reputation: 137Reputation: 137
A console login is determined by the file /etc/inittab, you will have to edit this file as root.

Change the line

id:3:initdefault to id:5:initdefault

the correct number should be shown above this line.

If you can't use a console editor such as vi

try running

su -c "telinit 5"

Then if X starts you should be able to edit the /etc/inittab as described above.

Your other problem with gnome may require help from someone else, I use KDE.
 
Old 03-12-2004, 05:07 PM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
If you are still using rh find the file called /etc/inittab. There should be a line that looks like this

id:5:initdefault:

There should be the number 5 right there.

Also you should not log in as root. Create a new user and use that as your primary user account. It is too easy to screw something up on accident as root. You may be feeling that effect now.

The file to add host3-null to is /etc/hosts . Add a line like:
127.0.0.1 host3-null
 
Old 03-12-2004, 09:29 PM   #5
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
Yes I'm running RH 7.3

And this file "/etc/inittab" already has this line "id:5:initdefault"
yes I always log in as root casue I don't know how to create another account.


Have no idea how to find out my CUPS can ya help me

Last edited by AndreL; 03-12-2004 at 09:35 PM.
 
Old 03-12-2004, 10:38 PM   #6
shane25119
Member
 
Registered: Aug 2003
Location: Illinois
Distribution: Linux Mint XFCE
Posts: 653

Rep: Reputation: 53
logging in as root all the time is a bad call.... too easy to screw stuff up

open a terminal

adduser username

where username=your name
 
  


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




All times are GMT -5. The time now is 10:33 AM.

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