LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Stuck w/ twm Window Manager in CentOS 5.3 (https://www.linuxquestions.org/questions/red-hat-31/stuck-w-twm-window-manager-in-centos-5-3-a-780599/)

JMCraig 01-07-2010 12:45 PM

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?

Thanks!

MrChilly0 01-07-2010 03:53 PM

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 not...you 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...?

JMCraig 01-07-2010 04:33 PM

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.

DrLove73 01-08-2010 03:41 PM

First try
Code:

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.


/usr/share/switchdesk
$HOME/.xinputrc
/etc/X11/xinit/xinputrc
/etc/sysconfig/desktop
/etc/X11/prefdm


And read THIS, and THIS.

Might help.


All times are GMT -5. The time now is 10:43 AM.