LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-22-2003, 04:49 PM   #1
jaylee
Member
 
Registered: Jun 2003
Posts: 54

Rep: Reputation: 15
default logging in method


how do i switch between the default "graphical" and "virtual console" logging in method?
 
Old 06-22-2003, 04:51 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
do you mean when you turn your computer on you want it to boot to the console and not the GUI?
 
Old 06-22-2003, 05:11 PM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Which distro are you using?
 
Old 06-22-2003, 05:51 PM   #4
jaylee
Member
 
Registered: Jun 2003
Posts: 54

Original Poster
Rep: Reputation: 15
Yes, sometimes I want to boot from text mode, and sometimes I would like to boot from graphics mode.

I would like to know the way of switching in between.

I'm using RedHat Linux 9.
 
Old 06-22-2003, 05:56 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well you can edit the /etc/inittab file with a text editor and change the id:x:initdefault option where -> x <- is the number of your boot option..
5 = graphical mode
3 = text mode
you have to be logged as root to make these changes..
 
Old 06-22-2003, 06:11 PM   #6
jaylee
Member
 
Registered: Jun 2003
Posts: 54

Original Poster
Rep: Reputation: 15
yes, it works. that's exactly what i'm looking for.

by the way, i remember there's a way of switching between virtual consoles by a combination of keyboard shortcuts.

how do i do so?

thanks.
 
Old 06-23-2003, 01:46 PM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Ctrl+Alt+a number between 1 and 6
Ctrl+Alt+F7 is the gui if the X server is running.
 
Old 06-24-2003, 12:35 AM   #8
jaylee
Member
 
Registered: Jun 2003
Posts: 54

Original Poster
Rep: Reputation: 15
thanks.
 
Old 06-24-2003, 02:23 AM   #9
LinuxBAH
Member
 
Registered: Jun 2003
Distribution: FreeBSD
Posts: 119

Rep: Reputation: 15
I know this is off topic and perhaps relatively a "duh" answer question. But with ctrl+alt+ a number being able to switch to up to 7 prompts, this would mean I can setup 7 different window managers and run them all seperately, this would of course need 7 different users would it not?
 
Old 06-24-2003, 04:32 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You can run an indefinite number of consoles/window managers. Usually limited by the number of F keys though

This is defined in /etc/inittab as well.

No, 1 user logged in per console works. So the same user could be logged in on all 6 different consoles (my systems all have 6 defined by default, not 7) and startx from each (however this is normally a waste of time because of virtual desktops).

To startx on seperate consoles, login, and for the first one it's just:
startx
For the next it's:
startx -- :1
And so on:
startx -- :2

There is a space in there, here's how it would look:
startx[space]--[space]:3



Up to the number of F keys you have, or the number of consoles you have defined, whichever comes first. Something else to try:
startx &

This will startx and drop you back to a console (IIRC, haven't used it for quite a while), very nice if you are in need of another one.

Cool
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
Details about default web Browser & default Email client sudhasmyle Linux - Software 4 06-15-2006 11:45 AM
PF: Why isn't quick the default method? OlRoy *BSD 2 12-12-2004 06:12 AM
A Different Method Bigun Linux - Networking 2 05-23-2003 05:37 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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