LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-24-2004, 11:02 PM   #1
Crasherz
Member
 
Registered: Sep 2003
Location: Australia_Warm & Sunny
Distribution: Fedora & Doze XP Pro
Posts: 68

Rep: Reputation: 15
stopping and restarting x on fedora


I want to be able to have fedora boot into the graphical environment so I can use the graphical tools to log on the the Internet, setup firewalls and some other stuff etc. I then want to be able to stop x but to leave everything running so that the overhead of x is not slowing the system. I also need to be able to restart x as and when needed to use graphical tools for mail and web access. The reason is that this is a low spec machine that acts as a gateway and DNS server. I don't want to just run the system from the command line only.......I still learning my way around.
Keep it simple please...Thanks
 
Old 02-25-2004, 12:33 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you use gdm, which I think is the default in Fedora, there should be a command IIRC called "gdm-stop"
Or you can have the same runlevel 5 services in runlevel 3, using a tool such as "redhat-config-services" and do "init 3".
 
Old 02-25-2004, 02:06 AM   #3
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
by default boot into runlevel 3, change this in /etc/inittab

then 'startx' when you want to use graphical tools, then log out back to console
 
Old 02-25-2004, 08:25 PM   #4
Crasherz
Member
 
Registered: Sep 2003
Location: Australia_Warm & Sunny
Distribution: Fedora & Doze XP Pro
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks fulla's I shall try this as soon as I get home.....the idea of booting into run level 3 sounds good. Can I log out of X and still leave things like firestarter and KPPP running with no X environment or do I need to use other softwware.
 
Old 02-25-2004, 08:56 PM   #5
stuNNed
Member
 
Registered: Aug 2003
Distribution: Gentoo/Ubuntu
Posts: 134

Rep: Reputation: 15
firestarter is just a front end to iptables, as the same with kppp is frontend to pppd, so, yes, i would think both would continue running even if logged out of X. I know for sure with iptables but not so sure with kppp.

also, with firestarter, you can start the firewall for it in console using the 'firestarter -s' command, same with 'firestarter -p' to stop.

hth.
 
  


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
restarting x jcombs_31 Slackware 3 12-27-2004 01:07 PM
Keeps Restarting NotSoSure123 Linux - Software 14 06-16-2004 02:17 AM
restarting logrotate.d cuss Linux - General 1 02-06-2003 04:01 PM
restarting services juanb Linux - General 1 01-02-2003 07:20 AM
Starting / Stopping / Restarting Services in VA Linux? abell Linux - General 1 11-15-2002 01:17 PM

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

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