Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 01-07-2010, 01:45 PM   #1
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Rep: Reputation: 15
Stuck w/ twm Window Manager in CentOS 5.3

Hi Folks,

I've found a number of other entries about this, but they don't apply (the config files mentioned do not exist or whatever). My RHEL 4.x systems work differently, so the solutions I used there don't help either.

In the course of some fussing around trying to get Virtual Box OSE to load, I apparently stomped on something so that when I log in now, I get the twm window manager--I was perfectly willing to have Gnome or whatever, but twm is a bit too light-weight for what I need.

Anyone know where the magic config file or whatever lives in RHEL/CentOS 5.x?

Old 01-07-2010, 04:53 PM   #2
Registered: Jan 2007
Location: midwest USA
Distribution: gentoo w/ funtoo overlay
Posts: 146

Rep: Reputation: 23
1) usually there's a choice at the login screen...options>sessions
2)if not, see if there is a .xinitrc file in the users home folder that you're logging in to. If can create one with a simple line like: exec gnome-session

The question I would have for you is: are you running xdm, gdm, kdm, entrance etc...?
Old 01-07-2010, 05:33 PM   #3
Registered: Feb 2003
Location: Utah, USA
Distribution: Red Hat EL/CentOS, Ubuntu/Debian
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks for your reply.

I expected to get a choice on the login screen too (it still looks the same as it did before), but the choice under the Session option is limited to "Default" or "Last Session"--neither of which gets me back to Gnome. There is no .xinitrc file. (First two things I checked.) I didn't find anything that seemed related in /etc/X11/xinit either.

I had been running gdm; I'm considering trying to install another window manager and see if it'll then give me a choice.
Old 01-08-2010, 04:41 PM   #4
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
First try
rpm -qa gnome*
to see what packages for Gnome you have installed. And maybe install one of the packages to see if yum gives you anything. maybe you have de-installed some gnome packages along the way.


And read THIS, and THIS.

Might help.

Last edited by DrLove73; 01-08-2010 at 04:43 PM.


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
problem with default window manager, stuck in KDE 4 somehow, session type option gone mandrak Mandriva 1 02-16-2008 03:28 PM
Stuck in twm dj_prime Linux - Newbie 4 03-08-2006 09:45 AM
Help I'm stuck in TWM? SonoranFun Linux - Newbie 7 02-05-2006 06:40 AM
the window manager TWM speedemonV12 SUSE / openSUSE 3 09-02-2005 03:25 AM
Seem Stuck in TWM dsschanze *BSD 5 05-01-2005 10:05 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration