LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   change desktop manager from command line (https://www.linuxquestions.org/questions/linux-newbie-8/change-desktop-manager-from-command-line-107985/)

pepino 10-24-2003 09:09 AM

change desktop manager from command line
 
Hey !

Got a problem. I have gnome over red hat 8.0. I executed the desktop switching tool and changed to twm to "see" that desktop manager. Surprisingly, i can do almost nothuing from there and i want to go back to gnome.

Does someone know some command of the terminal to switch the desktop manager ?

thanks.

aaa 10-24-2003 09:29 AM

Logout, then login again into Gnome. If you run X via startx from the console instead of a graphical logon, you can use xwmconfig to set the default window manager.

pepino 10-24-2003 09:46 AM

in what directory is xwmconfig??

(i get command not found)

aaa 10-24-2003 10:14 AM

You might have to be root to run it, or it might not be in RH. If not, you may need to edit the ~/.xinitrc file. Take a look at this:
http://www.redhat.com/docs/manuals/l...runlevels.html

pepino 10-24-2003 10:36 AM

couldn't do it.

"One important script in this directory is xinput, which configures settings such as the default language to use and the desktop environment to start from (/etc/sysconfig/desktop). "

i saw /etc/sysconfig/desktop and it says DESKTOP="GNOME". So it should load gnome, shouldn't it?

isn't there some like XF86Config but to set up the default desktop?

aaa 10-24-2003 10:42 AM

~/.xinitrc is what sets up the default desktop. From what I read, the xinitrc calls another file which specifies what window manager to run. I think its called '.Xclients'. If you're trying to run Gnome, make sure the file runs 'gnome-session' instead of twm.

pepino 10-24-2003 10:51 AM

FIXED ! !

all i had to do was execute "swithdesk" in xterm and choose gnome again !

thanks for the support.

superbondbond 10-24-2003 11:19 AM

FYI, as far as I know xwmconfig is only a slackware thang.

(if I'm wrong about this feel free to flame me :D )


All times are GMT -5. The time now is 06:48 PM.