Solved

Installing Redhat 4 without basic X Windows

Posted on 2006-10-24
3
566 Views
Last Modified: 2013-12-15
We have gone through and tried installing Redhat 4 with a bare install, no packages or GUI options selected. After the install on boot, loading up the OS, it goes to a very basic X Windows type system. Any idea why this might be happening?


Thanks.
0
Comment
Question by:newgentechnologies
3 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 17801435
Many applications, even if they don't use X directly need some X libraries (ie they changing xterm titlebar).
Therefore some part of X system is always installed. You may try uninstall it by hand after the system is installed.
Also, if Your system run in X mode at startup, then You have checked something from X envinronment during install. You can revery it back by editing /etc/inittab file. Find line like
id:5:initdefault:
change to
id:3:initdefault:
and reboot (or issue: telinit q)
0
 
LVL 14

Accepted Solution

by:
ygoutham earned 250 total points
ID: 17801455
if you want the system to boot with a non-GUI option, then change the file

/etc/inittab

change the default boot option to 3 in line

id:5:initdefault

to read something like

id:3:initdefault

this will make the system boot in a command line mode or a non-gui mode.

make sure that the xdm is running on level 5 in the line
x:5:respawn:/etc/X11/prefdm

which means that the GUI is running level 5 but you want the system to boot in default level 3 which is non GUI for you.

probably you tried to install a base level, and chose some package that had a X dependency which got automatically resolved at installation time and redhat installation by default makes the system boot in GUI mode (if you had clicked next on most of the options in install time)

goutham
0
 
LVL 5

Expert Comment

by:kyle_in_taiwan
ID: 17802581
Or:

-- you could just go into /etc/rc.d folders for your default runlevel (runlevel 3, i think, so that'd be rc3.d, but you could do ~2 and ~4 just to be safe) and change all entries starting with "S--X11" or "S91xserver" or whatever you've got and change the "S" to a "K"

-- just try and un-install your xserver hardware, and see if you get any dependency conflicts.  If you don't, then fine -- take it off.  If you do, then investigate whether or not you really need to have that functionality present.

-- Similar to the above, you could simply disable all kdm, xdm, and gdm entries by changing them, instead, to a "K".  Your xserver won't initialize, then.

Queries about your hardware will take the form:

$ yum list all [your-favorite-regexpression-here]

So you could do something like this:

$ yum list all *xorg*

and

$ yum list all *x11*  // <=== this one you might want to try changin the x to uppercase, as well

to see what sort of Xserver software you've got installed.  Then, after examining what you've got, you can just go through it all and take off what you don't need.

Still, it sounds like what's happened is y'all unwittingly chose some sort of package that requires and X *environment* to work, and so Fedora's gone and isntalled the entire xserver package because there's no other way to resolve the dependencies that package triggered.  So my guess is that you are going to need to review your installation and track down the packages that called up the xserver installation to see if you really need them (and it).
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best way to virtualise a remote Linux server 2 69
Choosing CentOS 16 82
Linux VM 6 90
How to check currently configured static routes on CentOS 7? 1 30
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question