Hello,
I would like to setup a headless Fedora box (i.e. No X). Is there an install parameter or respin I can use to accomplish this, or should I not bother?
Thanks in advance for your reply.
-Montana
One simple solution might be something like just doing a regular Fedora install, then just renaming xorg.conf to something else so X won't work. If you ever do need X, you could just reset the filename to the original.
On previous versions and also on RHEL I have been asked if I wanted X or not during the install time. I have only installed fedora 7 one time, and I don't remember being asked that but I may very well have overlooked it as a selection during setup. Actually I know why I wasn't asked - mine was an 'upgrade' installation - with the 'regular' install you *should* have some sort of choice
Marc
On 6/28/07, Montana Quiring montanaq@gmail.com wrote:
Hello,
I would like to setup a headless Fedora box (i.e. No X). Is there an install parameter or respin I can use to accomplish this, or should I not bother?
Thanks in advance for your reply.
-Montana
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Thu, 28 Jun 2007 00:46:55 -0400, Marc scripst:
One simple solution might be something like just doing a regular Fedora install, then just renaming xorg.conf to something else so X won't work.
Just one note -- since FC6 X will work even without any xorg.conf (http:// fedoraproject.org/wiki/StatelessLinux). If you don't want X start, edit / etc/inittab and change default runlevel to 3.
Matěj
Marc wrote:
One simple solution might be something like just doing a regular Fedora install, then just renaming xorg.conf to something else so X won't work. If you ever do need X, you could just reset the filename to the original.
On previous versions and also on RHEL I have been asked if I wanted X or not during the install time. I have only installed fedora 7 one time, and I don't remember being asked that but I may very well have overlooked it as a selection during setup. Actually I know why I wasn't asked - mine was an 'upgrade' installation - with the 'regular' install you *should* have some sort of choice
Marc
If you don't want X to run, boot in run level 3 instead of run level 5. That is one of the reasons for having different run levels. There is a GUI for doing this, but if you are going to be running from the CLI all the time, you may as well edit /etc/inittab and change id:5:initdefault to id:3:initdefault. You could also edit /boot/grub/grub.conf and add a 3 at the end of the kernel line you want to boot into run level 3. This will let you deside at boot time if X starts. There is also an option during install to set if you want the system to start in run level 3 or 5. (I forget the wording - something about starting it the graphics mode.)
One the system has booted, you can use telinit to change run levels. But you don't usually want to do this on a server, because it restarts most of the daemons.
Mikkel
Montana Quiring wrote:
I would like to setup a headless Fedora box (i.e. No X). Is there an install parameter or respin I can use to accomplish this, or should I not bother?
Thanks in advance for your reply.
When I installed a headless system, I chose the "customize now" option for package selection, and then made sure to deselect all the packages I could, making sure that yum got installed, and then used yum/rpm to remove any straggling X packages/libraries that got installed. If you have a system installed already, with X running, just change /etc/inittab to start at runlevel 3 instead of 5. I can send you more details on the latter, if that is your case.
Hope this helps! Steve
On Thu, 28 Jun 2007, Steven Ringwald wrote:
Montana Quiring wrote:
I would like to setup a headless Fedora box (i.e. No X). Is there an install parameter or respin I can use to accomplish this, or should I not bother?
Thanks in advance for your reply.
When I installed a headless system, I chose the "customize now" option for package selection, and then made sure to deselect all the packages I could, making sure that yum got installed, and then used yum/rpm to remove any straggling X packages/libraries that got installed. If you have a system installed already, with X running, just change /etc/inittab to start at runlevel 3 instead of 5. I can send you more details on the latter, if that is your case.
how different is that from just deselecting X and letting the dependency testing do the rest?
rday
The problem w/ that is if you pick a package that requires x yum will install x anyway. All my servers I setup w/out x. It doesn't do anything for a server besides take up resources. Even if you are in init 3 it is still taking up space on the hd and undesirable progs are on the system.
I deselect a lot of packages that I don't need - namely any package that is for the desktop - other people start w/ the minimal install then they yum in what they want.
Once you get it fedora will automatically set up inittab for run level 3 - then you know you don't have x or any progs that use x.
bazooka
On 6/28/07, Robert P. J. Day rpjday@mindspring.com wrote:
On Thu, 28 Jun 2007, Steven Ringwald wrote:
Montana Quiring wrote:
I would like to setup a headless Fedora box (i.e. No X). Is there an install parameter or respin I can use to accomplish this, or should I not bother?
Thanks in advance for your reply.
When I installed a headless system, I chose the "customize now" option for package selection, and then made sure to deselect all the packages I could, making sure that yum got installed, and then used yum/rpm to remove any straggling X packages/libraries that got installed. If you have a system installed already, with X running, just change /etc/inittab to start at runlevel 3 instead of 5. I can send you more details on the latter, if that is your case.
how different is that from just deselecting X and letting the dependency testing do the rest?
rday
======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Montana Quiring wrote:
Hello,
I would like to setup a headless Fedora box (i.e. No X). Is there an install parameter or respin I can use to accomplish this, or should I not bother?
Thanks in advance for your reply.
-Montana
Hi, if you CAN load a normal Fedora with the X window working then you can drop back to the non-X Window world by pressing Ctrl-Alt-F1 and you will be there. Or you can set init to take you to just a simple system.
Karl
At 6:52 PM +0200 6/28/07, Matej Cepl wrote:
On Thu, 28 Jun 2007 10:11:42 -0500, Michael Hennebry scripst:
I'd thought that "headless" meant no monitor. Am I wrong about that?
But without monitor you really don't need X (and you are managing the computer through ssh for example).
X Window client apps work just fine through ssh without a monitor on the remote computer. I often do that when managing servers when I prefer the X Window tool (e.g, gvim vs. vim). No X Window server is needed on the remote computer, but the X Window client libs and fonts are useful.
I think it can mean both: http://en.wikipedia.org/wiki/Headless ...and I kind of mean it both ways, as I don't want a GUI grabbing CPU cycles and I don't want to attach a mouse/kbd/monitor to it.
Thanks for the advice everyone. I'm asking because I am wanting to set up Scalix and am finding it quite difficult under Ubuntu (server), so I wanted to try a headless Fedora as a base, which should be better supported.
Hope that makes sense.
I hadn't thought of changing the run level. That's a good idea. then I can still boot to a GUI if I need it for something. hmmm...gonna have to think more about this.
Thanks again.
-Montana
On 6/28/07, Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Wed, 27 Jun 2007, Montana Quiring wrote:
I would like to setup a headless Fedora box (i.e. No X).
I'd thought that "headless" meant no monitor. Am I wrong about that?
-- Mike hennebry@web.cs.ndsu.NoDak.edu "Horse guts never lie." -- Cherek Bear-Shoulders
On Thu, 28 Jun 2007, Montana Quiring wrote:
I think it can mean both: http://en.wikipedia.org/wiki/Headless ...and I kind of mean it both ways, as I don't want a GUI grabbing CPU cycles and I don't want to attach a mouse/kbd/monitor to it.
Interesting. I hadn't encountered "headless" as a software term. As another pointed out, if you don't have a monitor, the X server won't run. The X client stuff could still be used.
On 6/28/07, Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Wed, 27 Jun 2007, Montana Quiring wrote:
I would like to setup a headless Fedora box (i.e. No X).
I'd thought that "headless" meant no monitor. Am I wrong about that?