Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why doesn't X-Windows start automatically?

Status
Not open for further replies.

cpjust

Programmer
Sep 23, 2003
2,132
US
Hi,
I just installed Fedora 7 in a VMWare image, and for some reason X-Windows fails to start and it just boots into console mode. I've installed Fedora (older versions) in the past and never saw this happen.

I'm by no means a Linux expert -- I fumble around until I find out how to do what I want...

I managed to figure out that I can start X-Windows by running telinit 5.

If it helps, I see these errors in /root/.xsession-errors:
Code:
localuser:root being added to access control list
xset:  bad font path element (#63), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
ASSERT: "!name.isEmpty()" in kdirlister.cpp (969)
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x140070f
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x140070f
QInputContext: cannot create input context for non-toplevel widgets
QInputContext: cannot create input context for non-toplevel widgets
QPopupMenu: (go) Popup has invalid menu item
QPopupMenu: (go) Popup has invalid menu item
QInputContext: cannot create input context for non-toplevel widgets
QInputContext: cannot create input context for non-toplevel widgets
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x1400738
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
ASSERT: "!name.isEmpty()" in kdirlister.cpp (1555)
QInputContext: cannot create input context for non-toplevel widgets
QInputContext: cannot create input context for non-toplevel widgets
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
ASSERT: "!name.isEmpty()" in kdirlister.cpp (1555)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x2600003
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x1400a65
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x14009c9
/usr/share/system-config-selinux/system-config-selinux.py:72: Warning: IA__g_object_get_valist: object class `GnomeProgram' has no property named `default-icon'
  xml = gtk.glade.XML ("/usr/share/system-config-selinux/system-config-selinux.glade", domain=PROGNAME)
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x260000c
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x1400f3b
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x1401176
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x1401176
Load smb config files from /dev/null
Loaded services file OK.
Server role: ROLE_STANDALONE
QComboBox::setCurrentItem: (protocolCombo) Index 5 out of range
QComboBox::setCurrentItem: (aclCompatibilityCombo) Index 3 out of range
QComboBox::setCurrentItem: (ldapSslCombo) Index 3 out of range
QComboBox::setCurrentItem: (maxProtocolCombo) Index 5 out of range
QComboBox::setCurrentItem: (serverSigningCombo) Index 3 out of range
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x1401188
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x2400003
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x140128f
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  19
  Minor opcode:  0
  Resource id:  0x220010d
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x140150d
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x3f
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode:  54
  Minor opcode:  0
  Resource id:  0x14016bd
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  158
  Minor opcode:  6
  Resource id:  0x14016bd
 
If you are experiencing errors in the startup of X, that's one issue.

Normally X is associated with 'runlevel' 5 at startup, whereas 'runlevel' 3 is normally text mode startup.

'runlevel' is a setting found in /etc/inittab

look for 'id:3:initdefault:', set to 5 for bootup to launch X

D.E.R. Management - IT Project Management Consulting
 
Thanks, that worked.

The last line in inittab said something about runlevel 5, so I thought the last thing it did was go into runlevel 5... Doh!

Are those errors anything I should be worried about?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top