LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-14-2003, 06:44 PM   #1
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
a few questions


here are my questions


1. In Gnome (rh9) i goto lock the screen but nothing happens, whats up with this.

2. How can I change my login to be just command line, and then start an x window manager if i choose?

thanks in advance
 
Old 10-14-2003, 06:52 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I would guess you are using root, which you should not do in X. xscreensaver does not have permission to control root xsessions.

edit /etc/inittab and set the id to 3

id:3:initdefault:

this is the runlevel, 5 is for x
 
Old 10-14-2003, 07:07 PM   #3
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Original Poster
Rep: Reputation: 30
so runlevel determines the login session? Ive heard that before but never knew what runlevel was.

whats 4 then
 
Old 10-14-2003, 08:16 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
actually runlevel determines a lot of things, one being starting X, but there are a lot more services that may be running in certain runlevels.

look at the folders in /etc/rc.d. In these folders you will see the links that start and stop services at the different runlevels, each runlevel has a folder. shutdown of your computer consists of bringing it down to runlevel 0, runlevel 6 is also a shutdown but instead of poweroff it is setup to reboot the system.


runlevel 4 is not normally used for anything special, however I think slackware used to run X in runlevel 4.

checkout these commands with man


chkconfig ( used setup links in the runlevel folders, determines what gets started and stopped)

service ( used to start a servie from the command line)

init ( or telinit, can be used to change runlevels from the command line)
 
  


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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 05:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 04:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 08:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 07:35 AM

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

All times are GMT -5. The time now is 10:42 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