public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] why does not startx or xinit start gnome?
       [not found] ` <200702211204.07076.shrdlu@unlimitedmail.org>
@ 2007-02-21 12:19   ` John covici
  2007-02-21 13:06     ` Etaoin Shrdlu
  0 siblings, 1 reply; 8+ messages in thread
From: John covici @ 2007-02-21 12:19 UTC (permalink / raw
  To: gentoo-user

on Wednesday 02/21/2007 Etaoin Shrdlu(shrdlu@unlimitedmail.org) wrote
 > On Wednesday 21 February 2007 09:02, John covici wrote:
 > 
 > > Hi.  I was having major problems getting gnome to work at all when I
 > > discovered that it onlyy works if I login using gdm -- is there
 > > something about the gentoo distribution which has broken startx so
 > > gnome does not run or am I doing something wrong here?
 > 
 > I think that's what XSESSION in /etc/rc.con is for. At least, in my 
 > system I see that 'startx' honors that setting.

Yep, that does work, but I had no idea that functionality was even
there -- the line was commented out in the file.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] why does not startx or xinit start gnome?
       [not found] ` <200702211024.18430.alan@linuxholdings.co.za>
@ 2007-02-21 12:23   ` John covici
  2007-02-21 13:11     ` Bo Ørsted Andresen
  0 siblings, 1 reply; 8+ messages in thread
From: John covici @ 2007-02-21 12:23 UTC (permalink / raw
  To: gentoo-user

on Wednesday 02/21/2007 Alan McKinnon(alan@linuxholdings.co.za) wrote
 > On Wednesday 21 February 2007, John covici wrote:
 > > Hi.  I was having major problems getting gnome to work at all when I
 > > discovered that it onlyy works if I login using gdm -- is there
 > > something about the gentoo distribution which has broken startx so
 > > gnome does not run or am I doing something wrong here?
 > 
 > No-one can answer that question for you easily, as you haven't supplied 
 > any information at all beyond that you use startx. It's always a good 
 > idea on a mailing list to supply all relevant data up front
 > 
 > At a minimum we would at least need to know what's in your ~/.xinitrc
 > 
 > To start gnome, it should contain (usually as the last  line):
 > 
 > exec gnome-session

OK, but I had none of that -- I had just installed gnome and all its
packages, so I had no idea that I needed that file -- I figured the
default one would start gnome, if I had gnome installed.

But I have since found an rc.conf variable which takes care of things.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] why does not startx or xinit start gnome?
       [not found] <17883.64691.809394.183398@ccs.covici.com>
       [not found] ` <200702211204.07076.shrdlu@unlimitedmail.org>
       [not found] ` <200702211024.18430.alan@linuxholdings.co.za>
@ 2007-02-21 12:46 ` Bo Ørsted Andresen
  2 siblings, 0 replies; 8+ messages in thread
From: Bo Ørsted Andresen @ 2007-02-21 12:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

On Wednesday 21 February 2007 09:02:59 John covici wrote:
> Hi.  I was having major problems getting gnome to work at all when I
> discovered that it onlyy works if I login using gdm -- is there
> something about the gentoo distribution which has broken startx so
> gnome does not run or am I doing something wrong here?

I'm surprised noone has pointed you to this and based on your replies you 
don't seem to have found it yourself either..

http://www.gentoo.org/doc/en/gnome-config.xml

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] why does not startx or xinit start gnome?
  2007-02-21 13:06     ` Etaoin Shrdlu
@ 2007-02-21 12:59       ` Mrugesh Karnik
  2007-02-21 13:41         ` Etaoin Shrdlu
  0 siblings, 1 reply; 8+ messages in thread
From: Mrugesh Karnik @ 2007-02-21 12:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

On Wednesday 21 Feb 2007 18:36:59 Etaoin Shrdlu wrote:
> On Wednesday 21 February 2007 13:19, John covici wrote:
> > Yep, that does work, but I had no idea that functionality was even
> > there -- the line was commented out in the file.
>
> That sets a systemwide default. As others suggested, the file ~/.xinitrc
> might be used to choose on a per-user basis the X session to run (it has
> to be created by each user who wants it).

Actually, GDM uses Xsessions and startx uses xinitrc files.

If you look at the /etc/X11/xinitrc file, it looks for and uses the ~/.xinitrc 
file if present. Otherwise, it uses the system default 
of /etc/X11/chooser.sh, which uses the variable XSESSION.

If neither of the methods works, it starts a twm session.

Correct me if I'm wrong please.

HTH.

-- 
----------------------------------------
Mrugesh Karnik
GPG Key 0xBA6F1DA8
Public key on http://wwwkeys.pgp.net
----------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] why does not startx or xinit start gnome?
  2007-02-21 12:19   ` [gentoo-user] why does not startx or xinit start gnome? John covici
@ 2007-02-21 13:06     ` Etaoin Shrdlu
  2007-02-21 12:59       ` Mrugesh Karnik
  0 siblings, 1 reply; 8+ messages in thread
From: Etaoin Shrdlu @ 2007-02-21 13:06 UTC (permalink / raw
  To: gentoo-user

On Wednesday 21 February 2007 13:19, John covici wrote:

> Yep, that does work, but I had no idea that functionality was even
> there -- the line was commented out in the file.

That sets a systemwide default. As others suggested, the file ~/.xinitrc 
might be used to choose on a per-user basis the X session to run (it has 
to be created by each user who wants it).
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] why does not startx or xinit start gnome?
  2007-02-21 12:23   ` John covici
@ 2007-02-21 13:11     ` Bo Ørsted Andresen
  0 siblings, 0 replies; 8+ messages in thread
From: Bo Ørsted Andresen @ 2007-02-21 13:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

On Wednesday 21 February 2007 13:23:40 John covici wrote:
> OK, but I had none of that -- I had just installed gnome and all its
> packages, so I had no idea that I needed that file -- I figured the
> default one would start gnome, if I had gnome installed.

Nothing prevents you from installing kde, gnome, xfce4, fluxbox and at least 5 
other window managers all at the same time (unless you have a small disk)... 
Hence you have to configure it.

The default is the most minimal of all (twm) which is so ugly that no sane 
person will use it for an extended period of time. That way the default will 
work even if only xorg-server (with the minimal use flag globally disabled) 
has been emerged...

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] why does not startx or xinit start gnome?
  2007-02-21 12:59       ` Mrugesh Karnik
@ 2007-02-21 13:41         ` Etaoin Shrdlu
  2007-02-21 13:44           ` Etaoin Shrdlu
  0 siblings, 1 reply; 8+ messages in thread
From: Etaoin Shrdlu @ 2007-02-21 13:41 UTC (permalink / raw
  To: gentoo-user

On Wednesday 21 February 2007 13:59, Mrugesh Karnik wrote:

> Actually, GDM uses Xsessions and startx uses xinitrc files.
>
> If you look at the /etc/X11/xinitrc file, it looks for and uses the
> ~/.xinitrc file if present. Otherwise, it uses the system default
> of /etc/X11/chooser.sh, which uses the variable XSESSION.
>
> If neither of the methods works, it starts a twm session.
>
> Correct me if I'm wrong please.

startx's behavior is explained here:

http://www.gentoo.org/doc/en/xorg-config.xml#using_startx

If you want to use a display manager, you should set DISPLAYMANAGER 
in /etc/conf.d/xdm.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] why does not startx or xinit start gnome?
  2007-02-21 13:41         ` Etaoin Shrdlu
@ 2007-02-21 13:44           ` Etaoin Shrdlu
  0 siblings, 0 replies; 8+ messages in thread
From: Etaoin Shrdlu @ 2007-02-21 13:44 UTC (permalink / raw
  To: gentoo-user

On Wednesday 21 February 2007 14:41, Etaoin Shrdlu wrote:

> If you want to use a display manager, you should set DISPLAYMANAGER
> in /etc/conf.d/xdm.

and, of course, add xdm to your runlevel.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-02-21 13:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <17883.64691.809394.183398@ccs.covici.com>
     [not found] ` <200702211204.07076.shrdlu@unlimitedmail.org>
2007-02-21 12:19   ` [gentoo-user] why does not startx or xinit start gnome? John covici
2007-02-21 13:06     ` Etaoin Shrdlu
2007-02-21 12:59       ` Mrugesh Karnik
2007-02-21 13:41         ` Etaoin Shrdlu
2007-02-21 13:44           ` Etaoin Shrdlu
     [not found] ` <200702211024.18430.alan@linuxholdings.co.za>
2007-02-21 12:23   ` John covici
2007-02-21 13:11     ` Bo Ørsted Andresen
2007-02-21 12:46 ` Bo Ørsted Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox