Re: Window Manager doesn't start

2003-01-15 Thread Harvey Kelly
On Tuesday 14 Jan 2003 15:51, Colin Watson wrote:
 On Tue, Jan 14, 2003 at 03:11:36PM +, Harvey Kelly wrote:
  Don't know what has happened.  Wasn't doing anything unusual yesterday.
  But now after I type startx I don't get a window manager (and I've tried
  kde, gnome, blackbox).  X itself starts, I get the nasty nvidia logo
  splash screen, but then it shuts down - and this with root too.  Why has
  it started messing me around?

 Is .xinitrc broken? Try putting a simple 'xterm' at the top and then
 running the rest by hand to see where it breaks.

Ha!  Putting exec xterm in .xinitrc worked, as did exec kde2.  

Normally I just have a .xsession with:

#exec blackbox
#exec ion
exec kde2
#exec wmaker

and nothing else - should I just use .xinitrc instead then?  And why has 
.xsession suddenly starting playing around?

Many thanks,

Harvey


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Manager doesn't start

2003-01-15 Thread Colin Watson
On Wed, Jan 15, 2003 at 03:33:38PM +, Harvey Kelly wrote:
 On Tuesday 14 Jan 2003 15:51, Colin Watson wrote:
  On Tue, Jan 14, 2003 at 03:11:36PM +, Harvey Kelly wrote:
   Don't know what has happened.  Wasn't doing anything unusual yesterday.
   But now after I type startx I don't get a window manager (and I've tried
   kde, gnome, blackbox).  X itself starts, I get the nasty nvidia logo
   splash screen, but then it shuts down - and this with root too.  Why has
   it started messing me around?
 
  Is .xinitrc broken? Try putting a simple 'xterm' at the top and then
  running the rest by hand to see where it breaks.
 
 Ha!  Putting exec xterm in .xinitrc worked, as did exec kde2.  

Right, it will certainly work, but my point was that that was pretty
much guaranteed to work. Once you have an X display up with just an
xterm in it, you can then run the other things that are normally in
.xinitrc by hand and see where they go wrong.

 Normally I just have a .xsession with:
 
 #exec blackbox
 #exec ion
 exec kde2
 #exec wmaker
 
 and nothing else - should I just use .xinitrc instead then?  And why has 
 .xsession suddenly starting playing around?

To my knowledge, startx has only ever used .xinitrc, not .xsession ... I
don't know why it used to work. Maybe you had a symlink in place at one
point?

My .xinitrc at work reads:

  #! /bin/sh
  xrdb -merge .Xresources
  exec $HOME/.xsession

I don't think this gets me quite the same environment as I do when
logging in normally using a display manager (which just uses .xsession),
but it serves well enough for the odd occasion when the display manager
breaks.

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Manager doesn't start

2003-01-15 Thread Stephen Gran
This one time, at band camp, Colin Watson said:
 To my knowledge, startx has only ever used .xinitrc, not .xsession ... I
 don't know why it used to work. Maybe you had a symlink in place at one
 point?

I don't know if that's true - I don't have an .xinitrc, just an
.xsession, and startx does The Right Thing here.

-- 
 --
|  Stephen Gran  | One father is more than a hundred   |
|  [EMAIL PROTECTED] | schoolmasters.   -- George Herbert  |
|  http://www.lobefin.net/~steve | |
 --



msg24341/pgp0.pgp
Description: PGP signature


Re: Window Manager doesn't start

2003-01-15 Thread Travis Crump
Colin Watson wrote:


To my knowledge, startx has only ever used .xinitrc, not .xsession ... I
don't know why it used to work. Maybe you had a symlink in place at one
point?



man startx:
[...]

Note that in the Debian system, what many people traditionally  put  in
the .xinitrc file should go in .xsession instead; this permits the same
X environment to be presented whether startx, xdm, or xinit is used  to
start  the  X  session.  All  discussion  of  the  .xinitrc file in the
xinit(1) manual page applies equally well to .xsession.  Keep  in  mind
that  .xinitrc  is  used  only  by  xinit(1)  and completely ignored by
xdm(1).


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Window Manager doesn't start

2003-01-15 Thread Shyamal Prasad

Colin == Colin Watson [EMAIL PROTECTED] writes:

 
 and nothing else - should I just use .xinitrc instead then?
 And why has .xsession suddenly starting playing around?

Colin To my knowledge, startx has only ever used .xinitrc, not
Colin .xsession ... I don't know why it used to work. Maybe you
Colin had a symlink in place at one point?

I was under the impression Debian encourages the use of .xsession
instead of .xinitrc just so you get the same environment with various
login managers. See 'man startx' for this suggestion.

Colin My .xinitrc at work reads:

Colin   #! /bin/sh xrdb -merge .Xresources exec $HOME/.xsession

Colin I don't think this gets me quite the same environment as I
Colin do when logging in normally using a display manager (which
Colin just uses .xsession), but it serves well enough for the odd
Colin occasion when the display manager breaks.

startx runs ~/.xinitrc if there is such a file, but otherwise runs
xinit. This basically results in the executions of the files in
/etc/X11/Xsession.d/ where your ~/.xsession file gets sourced. Looking
in that directory is actually quite instructive.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Manager doesn't start

2003-01-15 Thread Colin Watson
On Wed, Jan 15, 2003 at 08:28:17PM -0500, Travis Crump wrote:
 Colin Watson wrote:
 To my knowledge, startx has only ever used .xinitrc, not .xsession ... I
 don't know why it used to work. Maybe you had a symlink in place at one
 point?
 
 man startx:
 [...]
 
 Note that in the Debian system, what many people traditionally  put  in
 the .xinitrc file should go in .xsession instead;

Ah, fair enough. My knowledge of startx dates back to when I used to use
Red Hat.

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Manager doesn't start

2003-01-15 Thread Shyamal Prasad

Shyamal == Shyamal Prasad [EMAIL PROTECTED] writes:

Shyamal startx runs ~/.xinitrc if there is such a file, but
Shyamal otherwise runs xinit. This basically results in the
Shyamal executions of the files in /etc/X11/Xsession.d/ where
Shyamal your ~/.xsession file gets sourced. Looking in that
Shyamal directory is actually quite instructive.

Duh. That first sentence should have been startx runs xinit with
~/.xinitrc if there is such a file, but otherwise runs xinit with the
systemwide... 

It's all in 'man startx' anyway. I should've just said that ;-)

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Window Manager doesn't start

2003-01-14 Thread Harvey Kelly
Hi All,

Apologies: I'm using Mutt instead of KMail to write this (due to reason listed below) 
and can't remember how to get vim to wrap.  Sorry.

Don't know what has happened.  Wasn't doing anything unusual yesterday.
But now after I type startx I don't get a window manager (and I've tried
kde, gnome, blackbox).  X itself starts, I get the nasty nvidia logo
splash screen, but then it shuts down - and this with root too.  Why has
it started messing me around?

Thanks.

Harvey


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Manager doesn't start

2003-01-14 Thread Rodrigo F. Baroni
  What error message the display shows ?

  For instance, try $xinit -- : 2

--Baroni


 --- Harvey Kelly [EMAIL PROTECTED] escreveu:  Hi
All,
 
 Apologies: I'm using Mutt instead of KMail to write
 this (due to reason listed below) and can't remember
 how to get vim to wrap.  Sorry.
 
 Don't know what has happened.  Wasn't doing anything
 unusual yesterday.
 But now after I type startx I don't get a window
 manager (and I've tried
 kde, gnome, blackbox).  X itself starts, I get the
 nasty nvidia logo
 splash screen, but then it shuts down - and this
 with root too.  Why has
 it started messing me around?
 
 Thanks.
 
 Harvey
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
  

___
Busca Yahoo!
O melhor lugar para encontrar tudo o que vocĂȘ procura na Internet
http://br.busca.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Manager doesn't start

2003-01-14 Thread Rodrigo F. Baroni
  What error message the display shows ?

  For instance, try $xinit -- : 2

--Baroni


 --- Harvey Kelly [EMAIL PROTECTED] escreveu:  Hi
All,
 
 Apologies: I'm using Mutt instead of KMail to write
 this (due to reason listed below) and can't remember
 how to get vim to wrap.  Sorry.
 
 Don't know what has happened.  Wasn't doing anything
 unusual yesterday.
 But now after I type startx I don't get a window
 manager (and I've tried
 kde, gnome, blackbox).  X itself starts, I get the
 nasty nvidia logo
 splash screen, but then it shuts down - and this
 with root too.  Why has
 it started messing me around?
 
 Thanks.
 
 Harvey
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
  

___
Busca Yahoo!
O melhor lugar para encontrar tudo o que vocĂȘ procura na Internet
http://br.busca.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Window Manager doesn't start

2003-01-14 Thread Colin Watson
On Tue, Jan 14, 2003 at 03:11:36PM +, Harvey Kelly wrote:
 Apologies: I'm using Mutt instead of KMail to write this (due to
 reason listed below) and can't remember how to get vim to wrap.
 Sorry.

'gqaction', so 'gqip' will wrap the current paragraph, for instance.

 Don't know what has happened.  Wasn't doing anything unusual yesterday.
 But now after I type startx I don't get a window manager (and I've tried
 kde, gnome, blackbox).  X itself starts, I get the nasty nvidia logo
 splash screen, but then it shuts down - and this with root too.  Why has
 it started messing me around?

Is .xinitrc broken? Try putting a simple 'xterm' at the top and then
running the rest by hand to see where it breaks.

-- 
Colin Watson  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]