LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2003, 09:09 AM   #1
pepino
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
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.
 
Old 10-24-2003, 09:29 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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.
 
Old 10-24-2003, 09:46 AM   #3
pepino
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
in what directory is xwmconfig??

(i get command not found)
 
Old 10-24-2003, 10:14 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
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
 
Old 10-24-2003, 10:36 AM   #5
pepino
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 10-24-2003, 10:42 AM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
~/.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.
 
Old 10-24-2003, 10:51 AM   #7
pepino
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
FIXED ! !

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

thanks for the support.
 
Old 10-24-2003, 11:19 AM   #8
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
FYI, as far as I know xwmconfig is only a slackware thang.

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


Reply



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
command line file manager sethgeekx86 Linux - Software 2 03-22-2004 02:02 AM
Command line file manager? jleybo Linux - Software 5 02-14-2004 01:05 AM
Getting to the Desktop enviroment from the Command Line id10t Linux - Newbie 3 01-06-2004 05:48 PM
package manager in command line doralsoral Linux - Software 3 11-16-2003 06:52 AM
change the desktop manager. kmistry Linux - General 2 09-29-2002 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:26 PM.

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