LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 10: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, 10:29 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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, 10: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, 11:14 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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, 11: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, 11:42 AM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
~/.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, 11: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, 12:19 PM   #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


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


All times are GMT -5. The time now is 03:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration