Re: Fw: Re: FVWM: Beginners how to

2007-10-02 Thread Chris G
On Mon, Oct 01, 2007 at 10:21:20PM +0100, Thomas Adam wrote:
 On Mon, Oct 01, 2007 at 10:10:18PM +0100, Chris G wrote:
  On Mon, Oct 01, 2007 at 10:47:19PM +0200, Jes?s Guerrero wrote:
   On Mon, 1 Oct 2007 22:41:56 +0200
   Jes?s Guerrero [EMAIL PROTECTED] wrote:
   
exec $HOME/.xsession.$DISPLAY
   
   Ok, forget my comment about that exec line. It is a redirector. I didn't 
   even read
   it, it was my fault. Still, the rest of things I said are valid. Your 
   xinitrc is
   strange.
   
  Not to mention that if the system is set to run at run level 5 (which
  tends to be the default nowadays) it won't even look at .initrc.
 
 Umm, this depends entirely on the distribution.  Debian, for instance
 doesn't distinguish between what's started in runlevels 2-5 inclusive,
 they're essentially all the same.
 
OK, it's the scripts 'underneath' xdm/kdm/wdm/gdm.  The distributions
I have played with have all ignored the .xinitrc when at run level 5.

Whatever, depending on distribution, there's a fair chance that
.xinitrc isn't being looked at.

-- 
Chris Green



Re: Fw: Re: FVWM: Beginners how to

2007-10-02 Thread Thomas Adam
On 02/10/2007, Chris G [EMAIL PROTECTED] wrote:
 On Mon, Oct 01, 2007 at 10:21:20PM +0100, Thomas Adam wrote:
  On Mon, Oct 01, 2007 at 10:10:18PM +0100, Chris G wrote:
   On Mon, Oct 01, 2007 at 10:47:19PM +0200, Jes?s Guerrero wrote:
On Mon, 1 Oct 2007 22:41:56 +0200
Jes?s Guerrero [EMAIL PROTECTED] wrote:
   
 exec $HOME/.xsession.$DISPLAY
   
Ok, forget my comment about that exec line. It is a redirector. I 
didn't even read
it, it was my fault. Still, the rest of things I said are valid. Your 
xinitrc is
strange.
   
   Not to mention that if the system is set to run at run level 5 (which
   tends to be the default nowadays) it won't even look at .initrc.
 
  Umm, this depends entirely on the distribution.  Debian, for instance
  doesn't distinguish between what's started in runlevels 2-5 inclusive,
  they're essentially all the same.
 
 OK, it's the scripts 'underneath' xdm/kdm/wdm/gdm.  The distributions
 I have played with have all ignored the .xinitrc when at run level 5.

 Whatever, depending on distribution, there's a fair chance that
 .xinitrc isn't being looked at.

http://fvwmwiki.bu-web.de/HashFvwmIrcFaq?highlight=%28CategoryIRC%29#head-5fd61e65135d57c37be671b7cf0970711e6cb591

-- Thomas Adam



Re: Fw: Re: FVWM: Beginners how to

2007-10-02 Thread Lucio Chiappetti
On Tue, 2 Oct 2007, Chris G wrote:

 Whatever, depending on distribution, there's a fair chance that
 .xinitrc isn't being looked at.

Sorry, I've not archived the beginning of the thread, but if I remember 
correctly the original poster was asking something about using fvwm 
remotely under VNC.

That's nothing to do with .xinitrc or alike.

All what you have to do is to provide in the directory ~/.vnc a file 
called xstartup. A minimal version of such file could just be 

#!/bin/sh
xsetroot -solid blue
fvwm 

and then do all your desktop configuration in ~/.fvwm/.fvwmrc

I arranged this for a retired colleague which uses VNC from a remote site 
to have a desktop running here so that he can read journals from our 
server.

If one wishes one can put other applications in xstartup, but I find 
easier and more elegant to let fvwm do it itself.

-- 
---
Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
---
()  ascii ribbon campaign - against html mail 
/\  http://arc.pasp.de/



Fw: Re: FVWM: Beginners how to

2007-10-01 Thread Jesús Guerrero
On Mon, 1 Oct 2007 22:41:56 +0200
Jesús Guerrero [EMAIL PROTECTED] wrote:

 exec $HOME/.xsession.$DISPLAY

Ok, forget my comment about that exec line. It is a redirector. I didn't even 
read
it, it was my fault. Still, the rest of things I said are valid. Your xinitrc is
strange.
-- 
Jesús Guerrero [EMAIL PROTECTED]


-- 
Jesús Guerrero [EMAIL PROTECTED]



Re: Fw: Re: FVWM: Beginners how to

2007-10-01 Thread Chris G
On Mon, Oct 01, 2007 at 10:47:19PM +0200, Jesús Guerrero wrote:
 On Mon, 1 Oct 2007 22:41:56 +0200
 Jesús Guerrero [EMAIL PROTECTED] wrote:
 
  exec $HOME/.xsession.$DISPLAY
 
 Ok, forget my comment about that exec line. It is a redirector. I didn't even 
 read
 it, it was my fault. Still, the rest of things I said are valid. Your xinitrc 
 is
 strange.
 
Not to mention that if the system is set to run at run level 5 (which
tends to be the default nowadays) it won't even look at .initrc.

-- 
Chris Green



Re: Fw: Re: FVWM: Beginners how to

2007-10-01 Thread Thomas Adam
On Mon, Oct 01, 2007 at 10:10:18PM +0100, Chris G wrote:
 On Mon, Oct 01, 2007 at 10:47:19PM +0200, Jes?s Guerrero wrote:
  On Mon, 1 Oct 2007 22:41:56 +0200
  Jes?s Guerrero [EMAIL PROTECTED] wrote:
  
   exec $HOME/.xsession.$DISPLAY
  
  Ok, forget my comment about that exec line. It is a redirector. I didn't 
  even read
  it, it was my fault. Still, the rest of things I said are valid. Your 
  xinitrc is
  strange.
  
 Not to mention that if the system is set to run at run level 5 (which
 tends to be the default nowadays) it won't even look at .initrc.

Umm, this depends entirely on the distribution.  Debian, for instance
doesn't distinguish between what's started in runlevels 2-5 inclusive,
they're essentially all the same.

-- Thomas Adam

--
He wants you back, he screams into the night air, like a fireman going
through a window that has no fire. -- Mike Myers, This Poem Sucks.



Re: Fw: Re: FVWM: Beginners how to

2007-10-01 Thread Jesús Guerrero
On Mon, 1 Oct 2007 22:21:20 +0100
Thomas Adam [EMAIL PROTECTED] wrote:

 On Mon, Oct 01, 2007 at 10:10:18PM +0100, Chris G wrote:
  On Mon, Oct 01, 2007 at 10:47:19PM +0200, Jes?s Guerrero wrote:
   On Mon, 1 Oct 2007 22:41:56 +0200
   Jes?s Guerrero [EMAIL PROTECTED] wrote:
   
exec $HOME/.xsession.$DISPLAY
   
   Ok, forget my comment about that exec line. It is a redirector. I didn't 
   even read
   it, it was my fault. Still, the rest of things I said are valid. Your 
   xinitrc is
   strange.
   
  Not to mention that if the system is set to run at run level 5 (which
  tends to be the default nowadays) it won't even look at .initrc.
 
 Umm, this depends entirely on the distribution.  Debian, for instance
 doesn't distinguish between what's started in runlevels 2-5 inclusive,
 they're essentially all the same.
 
I think he means if you run k/gdm, since they completely ignore those
settings allowing you to dynamically choose your wm and some other things.
That is, or course, not the same that to run in runlevel 5, though it *can*
be depending on your configuration.

Runlevel5 doesn't necessarily imply that. In Gentoo it is completely
up to the user what services to run on a given runlevel. In fact,
runlevels from 3 to 5 comes all labeled like default, and they are
equivalent, unless you effectively create a different label for runlevel
5, assign that in inittab, and add some services to that new runlevel.
And here you are free to chose what to put into that runlevel. You
can easily put kdm in runlevel 3 and, let's say, qingy in funlevel 5
if that makes you happy.
-- 
Jesús Guerrero [EMAIL PROTECTED]