LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices



Reply
 
Search this Thread
Old 03-28-2003, 07:47 AM   #1
evian
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 15
configuring X


Hello,

I currently an unable to access the gnome x-window and would like to configure it to start up in TWN. What file do I need to edit so that it will start up in this mode?

thanks,
 
Old 03-28-2003, 09:32 AM   #2
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Rep: Reputation: 15
I think if you run XFree86config you might have that option. Also, you might create .initrc file with twn in it and run startx .
This should do it
 
Old 03-28-2003, 10:11 AM   #3
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
If I create the .initrc file, where do I put it, and do I just type twn in it? What should it look like?

thanks,
 
Old 03-28-2003, 01:32 PM   #4
loke137
Member
 
Registered: Feb 2003
Location: Brasil
Distribution: Debian Etch
Posts: 147

Rep: Reputation: 15
I never used this for twn, I used it for fluxbox (should be similar).

I created .initrc on my /home directory and just wrote fluxbox on the first line (nothing else) and ran it. Fluxbox because that is the command to start the display. Yours is probably twn.
 
Old 03-28-2003, 01:45 PM   #5
evian
Member
 
Registered: Mar 2003
Posts: 126

Original Poster
Rep: Reputation: 15
hmmm...didn't work
 
Old 03-28-2003, 01:58 PM   #6
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
it depends on how you're logging in

If you log in from the console and run xinit or startx
OR if you use xdm to login
OR you use gdm or kdm AND select xsession as your session type

then you can edit either .xsession or .xinitrc (both of those files must be executable (use 'chmod +x .xinitrc .xsession' to set this)). using .xsession is preferable. One of those will override the other one, but I don't remember wich way it goes.

Basically, put the following line at the end:
exec gnome-session

You'll need to replace the line for twm (yes, it's M twm is Tim's Window Manager, not Tim's Window Nanager)

If you're using gdm or kdm and you select something other that Xsession you'll get that type. If you're getting twm instead of a different session type that you selected it means that session type is not installed.

Eg, if you select Gnome Session but you end up in twm then you don't have Gnome installed.

Last edited by bahamat; 03-28-2003 at 01:59 PM.
 
Old 07-05-2003, 07:25 PM   #7
jonnieo
LQ Newbie
 
Registered: Jun 2003
Location: USA
Distribution: Red Hat 9.0
Posts: 17

Rep: Reputation: 0
bahamat:

This is a real newbie question, but if you run the command exec gnome-session and it comes back to the twm desktop, how do you install the Gnome Desktop from TWN?
 
Old 07-05-2003, 07:29 PM   #8
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
You should use your distribution's package manager to install the gnome packages. It's different for each distro, but look for things beginning with gnome-*

gnome
gnome-panel
gnome-session
nautilus
gnome-core

etc.
It might help if I knew what distro you are using.
 
  


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
Not configuring Culbert Linux - Software 3 08-24-2003 11:37 AM
Configuring X Nexer Linux - Newbie 8 05-06-2003 11:02 PM
configuring x Linux_guru_not Slackware 7 03-29-2003 07:52 AM
configuring help n00bster Slackware 1 03-01-2003 03:15 AM
configuring X dictatorofgoats Linux - General 2 08-11-2001 10:03 AM


All times are GMT -5. The time now is 05:48 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration