LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-29-2004, 01:22 AM   #1
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Rep: Reputation: 15
Xwindows starts automatically at start up How can I stop that?


Hello,
Can I stop Xwindows from starting at startup?
if so how?

any help would be appreciated
 
Old 06-29-2004, 01:28 AM   #2
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
edit /etc/inittab - it is using init4 change that to 3 for multiuser mode, without x.
 
Old 06-29-2004, 01:29 AM   #3
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Inittab

Go to /etc

open inittab file with your favourite editor

id:5:initdefault:


Change the 5 in the above line to 3.

Three is for console mode


Use startx from console to go to Xwindows

Cheers
Z
 
Old 06-29-2004, 01:39 AM   #4
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Original Poster
Rep: Reputation: 15
Wait,
I don't know how to edit in Linux.
 
Old 06-29-2004, 01:42 AM   #5
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
If in X I would use gedit, if working in command line use vi. If you're working in X just double click the file you want to edit, like in windows.
 
Old 06-29-2004, 01:48 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
Adding to the above posts, you need to login as root to edit the inittab file.
 
Old 06-29-2004, 02:01 AM   #7
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Original Poster
Rep: Reputation: 15
that sounds nice point and click............
And where do I go to find that file????
X windows is not easy to understand for me.
what do I use to find the file I want edit?
 
Old 06-29-2004, 04:48 AM   #8
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Ok i`ll try ot give it clearly

Select any viewer ( kedit,gedit,kword ). You can just type gedit in the Run option of your start panel.

From there select file > Open . Default you will be in /root .

Go to /etc/ [simple as in ms-word]


There you find this file inittab

Open it edit[change 5 to 3] and save.

That `s it.

Cheers
Z
 
Old 06-29-2004, 05:51 AM   #9
Goala
Member
 
Registered: May 2004
Location: Merida (Spain)
Distribution: Debian
Posts: 89

Rep: Reputation: 15
Wolfy....

if you don't know how to edit a file in linux console.... and you don't know how to find the file /etc/inittab..... are you sure you want to stop loading X at boot?

don't misunderstand me!, but these are the kind of things you will have to do if you want to administrate your linux system (and the easiest ones!)

bye.
 
  


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
How do I start a program automatically when KDE starts up? zmaint Linux - Software 8 12-21-2004 04:52 PM
VNC starts new xwindows session sephiro499 Linux - Newbie 15 11-17-2004 03:51 PM
how do you bypass xwindows before it starts AmdMhz Linux - Software 4 02-07-2004 07:04 PM
Start programs when Xwindows starts? ksun Linux - Newbie 3 10-13-2003 04:40 PM
Everything freezes when XWindows starts shaun_bakker Linux - General 4 02-17-2003 11:59 AM


All times are GMT -5. The time now is 04:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration