LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-31-2002, 06:41 PM   #1
Streams
Member
 
Registered: Jun 2002
Location: NewZealand
Distribution: Slackware 9.1
Posts: 146

Rep: Reputation: 15
Graphical Login?


I recently reinstalled Redhat 7.1. But i did not enable graghical login. Now when i login using text and startx i only get KDE. how do i select gnome to start? and how do enable graphical login?

Thanks
 
Old 07-31-2002, 07:10 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
To enable GUI login, you need to set your default runlevel to 5. To do this, open up the file /etc/inittab and change the line that looks like this:
id:3:initdefault:
to this
id:5:initdefault:
There should be an explanation of the different runlevels immediately above this line.

How to startup in Gnome? Well, if you've enabled the GUI login, then you should be presented with a little selector box, so that's not a problem. If, however, you choose to stay with text login, then you need to:
edit/create a file in your home directory called .xinitrc (all in small letters, with a dot at the beginning) and add exec startgnome to it. If you want to have various programs run when you type startx, then you put them in the file. My .xinitrc file looks like this:

exec Esetroot -scale ~/files/images/beast-background-1600x1200.png &
exec gkrellm &
exec ical &
exec konsole &
exec xmms &
#exec twm
#exec startkde
#exec startblackbox
#exec starticewm
exec startsawfish
#exec startgnome
#exec startwindowmaker
#exec startxfce

It changes the background images, it runs gkrellm (the monitoring thing), it runs an organiser, it runs a text console, it runs xmms, and then starts sawfish. The & symbol means 'continue to next line even if program hasn't finished yet', so all the things are run, and then sf, so that when I quit sf, they all quit. The # is a comment, so if I want, I can choose between any of the other window managers simply by editing the file.

Hope this helps.
 
Old 07-31-2002, 07:18 PM   #3
Streams
Member
 
Registered: Jun 2002
Location: NewZealand
Distribution: Slackware 9.1
Posts: 146

Original Poster
Rep: Reputation: 15
Thanks just what I needed to know

 
Old 08-01-2002, 10:19 PM   #4
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
an even easier way to switch the default desktop al the command line is to type switchdesk gnome, and they already had a good way to change the login to graphical, another way to do that too, though I don't think it is as nice is to just run back thought Xconfigurator one of the questions it asks is about the graphical login.
 
Old 08-02-2002, 01:25 AM   #5
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
hmm I tried that with blackbox once. on redhat..
first time it works fine but after a reset it's gone. But it's still in .xinirc though.

ne1 knows how to fix it?
 
Old 03-12-2003, 08:45 AM   #6
miebro
LQ Newbie
 
Registered: Jan 2003
Location: Augusta Georgia
Distribution: Red Hat 7.3
Posts: 21

Rep: Reputation: 15
What is suppose to happen when you type in startx? because when I do it this information comes on the screen but it doesn't change to graghcial. I also tried switchdesk and that didn't work, it asked wich one I wanted and I typed it in but nothing happened.
 
Old 03-12-2003, 02:44 PM   #7
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Miebro,

What information comes on the screen when you type startx? It should launch your desktop environment/window manager. Did you get any errors? You can check by typing at command line less /var/log/XFree86.0.log. To get back to a command line prompt type the letter Q. Please post any error messages or at least the information that came on screen.
 
Old 03-13-2003, 11:57 AM   #8
miebro
LQ Newbie
 
Registered: Jan 2003
Location: Augusta Georgia
Distribution: Red Hat 7.3
Posts: 21

Rep: Reputation: 15
When I did startx it told me where to go to report bugs and stuff and it wrote that no screens where found. When I did the /var/log..... one all this information came on the screen half of it I didn't even know what it meant.
 
Old 03-13-2003, 03:50 PM   #9
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
What distribution are you running? Have you configured your XFree86 yet? It sounds like you haven't or that it is misconfigured.
 
Old 03-14-2003, 12:25 PM   #10
miebro
LQ Newbie
 
Registered: Jan 2003
Location: Augusta Georgia
Distribution: Red Hat 7.3
Posts: 21

Rep: Reputation: 15
Red Hat 7.3. Well I didn't put it on my computer someone else did so I guess they configured it.
 
Old 03-14-2003, 03:32 PM   #11
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Try typing, as root, into command line:

redhat-config-xfree86

RedHat users, please correct me if I'm wrong here. Thank you.

Hope this helps out miebro.
 
Old 03-14-2003, 03:36 PM   #12
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
redhat-config-xfree86 only works for RH8.0. For pre 8.0, you have to run the Xconfigurator.
 
Old 03-14-2003, 04:04 PM   #13
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Thanks Capt! I knew there was something to that, but never knew the difference.

Miebro, type Xconfigurator as root into command line, per Capt_Caveman. This will get your XFree86 setup going and you should be able to configure it to work.

Thanks again Capt!
 
Old 03-14-2003, 04:09 PM   #14
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Trust me, I learned that the hard way. I almost chucked my linux box out the window after upgrading from 7.3
 
Old 03-15-2003, 10:37 AM   #15
miebro
LQ Newbie
 
Registered: Jan 2003
Location: Augusta Georgia
Distribution: Red Hat 7.3
Posts: 21

Rep: Reputation: 15
Ok thankyou, I've tried that but I don't know how much video memory I have and what the clockchip configuration is.

Last edited by miebro; 03-15-2003 at 11:02 AM.
 
  


Reply



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
Graphical login fail, text login works livewire98801 Linux - General 2 10-11-2004 06:09 PM
using KDE or gnome to login (graphical login) mep]-[isto Linux - Newbie 5 11-20-2003 12:13 PM
Need help changing graphical login to regular login jnezezon Linux - Newbie 2 11-13-2003 09:36 PM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 09:43 PM
Gnome Graphical Login -> Text Login, how? Furtzi Linux - Newbie 1 03-09-2002 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:53 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
Open Source Consulting | Domain Registration