Re: how to configure users X setup?

2007-06-20 Thread Michelle Konzack
Hello *,

Am 2007-06-13 08:47:56, schrieb Tom Furie:
 On Wed, Jun 13, 2007 at 05:04:14PM +, M-L wrote:
  
  #!/bin/sh

~/.xsession does NOT NEED the above line but MUST BE EXECUTABLE.

  #
  # My creation .Xsession file
  #
  # To remove the cursor after a short break
  unclutter -idle 1 
  # To get up the Rox panel
  rox -b=MyPanel 
  # Have gkrellm working
  gkrellm 
  # Start Fluxbox, maybe it should be up top. Not according to Liam's example
  exec /usr/bin/fluxbox 
 
 Try without the  in the above line.

...and without the exec which spans a new shell.

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: how to configure users X setup?

2007-06-13 Thread M-L
Subject: Fwd: Re: how to configure users X setup?
Date: Wed, 13 Jun 2007 16:13:27 +1000
User-Agent: KMail/1.9.5


this to reply too
--  Forwarded Message  --

Subject: Re: how to configure users X setup?
Date: Wednesday 13 June 2007 15:42
From: Liam O'Toole [EMAIL PROTECTED]
To: debian-user@lists.debian.org

On Wed, 13 Jun 2007 12:29:25 +1000
M-L [EMAIL PROTECTED] wrote:

[...]

 In much the same situation, on an old Toshiba laptop, 64 MB RAM and
 10 GB hard drive, Etch installed, using fluxbox window manager and I
 created an ~/.Xsession just as your example above. With is file the
 machine boots to XDM and when the user name and password are inserted
 appropriately, just keeps coming back to XDM login.

 So I have to kill the GUI and get in through CLI and remove the
 ~/.Xsession script and then restart with startx.

 So there must be something wrong, either with the scrip, or something
 the script interferes with? I wonder if it works for Zach?

 I had hoped that I would be able to get gkrellm and the Rox panel to
 run after fluxbox has started. This should possibly be able to be
 placed in the ~/.fluxbox/init script, but it won't happen. Mainly
 because even though I have googled extensively, and read the fluxbox
 wiki and all the documentation I could find, none had the answer.
 Created startup scrips and such, have not had any joy with any of
 these.

 I just thought that maybe the Debian way you described above might
 be the way to go.

Could you show us the contents of the ~/.Xsession file? The contents of
the file /etc/X11/Xsession.options could be relevant too.

Forwarded this to the machine in question to get those details.

Here is the ~/.Xsession file in question.

#!/bin/sh
#
# My creation .Xsession file
#
# To remove the cursor after a short break
unclutter -idle 1 
# To get up the Rox panel
rox -b=MyPanel 
# Have gkrellm working
gkrellm 
# Start Fluxbox, maybe it should be up top. Not according to Liam's example
exec /usr/bin/fluxbox 

Here is the /etc/X11/Xsession.options

# $Id: Xsession.options 189 2005-06-11 00:04:27Z branden $
#
# configuration options for /etc/X11/Xsession
# See Xsession.options(5) for an explanation of the available options.
allow-failsafe
allow-user-resources
allow-user-xsession
use-ssh-agent
use-session-dbus

Maybe you have a solution. It's not a big thing, because it's only a couple of 
mouse clicks and tab keystrokes to get the panel up. But I would have liked to 
get it running the way desired.

Charlie


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



Re: how to configure users X setup?

2007-06-13 Thread Tom Furie
On Wed, Jun 13, 2007 at 05:04:14PM +, M-L wrote:
 
 #!/bin/sh
 #
 # My creation .Xsession file
 #
 # To remove the cursor after a short break
 unclutter -idle 1 
 # To get up the Rox panel
 rox -b=MyPanel 
 # Have gkrellm working
 gkrellm 
 # Start Fluxbox, maybe it should be up top. Not according to Liam's example
 exec /usr/bin/fluxbox 

Try without the  in the above line.

Cheers,
Tom

-- 
Anti-trust laws should be approached with exactly that attitude.


signature.asc
Description: Digital signature


Re: how to configure users X setup?

2007-06-13 Thread M-L
On Wed, 13 Jun 2007 08:47:56 +0100
Tom Furie [EMAIL PROTECTED] wrote:

 On Wed, Jun 13, 2007 at 05:04:14PM +, M-L wrote:
  
  #!/bin/sh
  #
  # My creation .Xsession file
  #
  # To remove the cursor after a short break
  unclutter -idle 1 
  # To get up the Rox panel
  rox -b=MyPanel 
  # Have gkrellm working
  gkrellm 
  # Start Fluxbox, maybe it should be up top. Not according to Liam's example
  exec /usr/bin/fluxbox 
 
 Try without the  in the above line.
 
 Cheers,
 Tom
 
 -- 
 Anti-trust laws should be approached with exactly that attitude.


Brilliant Tom, but absobloominlootly brilliant - that did it, works like a 
treat.

Thank you very much.

Charlie


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



Re: how to configure users X setup?

2007-06-13 Thread Andrew Sackville-West
On Thu, Jun 14, 2007 at 04:33:53AM +1000, M-L wrote:
 On Wed, 13 Jun 2007 08:47:56 +0100
 Tom Furie [EMAIL PROTECTED] wrote:
 
  On Wed, Jun 13, 2007 at 05:04:14PM +, M-L wrote:
   
   #!/bin/sh
   #
   # My creation .Xsession file
   #
   # To remove the cursor after a short break
   unclutter -idle 1 
   # To get up the Rox panel
   rox -b=MyPanel 
   # Have gkrellm working
   gkrellm 
   # Start Fluxbox, maybe it should be up top. Not according to Liam's 
   example
   exec /usr/bin/fluxbox 
  
  Try without the  in the above line.
  
  Cheers,
  Tom
  
  -- 
  Anti-trust laws should be approached with exactly that attitude.
 
 
 Brilliant Tom, but absobloominlootly brilliant - that did it, works like a 
 treat.

just in case you missed why... X runs until it has completed
everything in the .Xsession file. Once that's done, it kicks out and
either dies, or respawns itself depending on how you started X
()startx vs *dm). SO with the  after fluxbox, you allowed fluxbox to
move into the background and X to move on through the .Xsession
file. Thus you were starting all that stuff up everytime you logged
in, but then X died at the end of .Xsession and you were back at the
xdm prompt :)

A


signature.asc
Description: Digital signature


Re: how to configure users X setup?

2007-06-13 Thread M-L
On Thursday 14 June 2007 09:04, Andrew Sackville-West shared this with us all:
--} On Thu, Jun 14, 2007 at 04:33:53AM +1000, M-L wrote:
--}  On Wed, 13 Jun 2007 08:47:56 +0100
--}  Tom Furie [EMAIL PROTECTED] wrote:
--} 
--}   On Wed, Jun 13, 2007 at 05:04:14PM +, M-L wrote:
--}  
--}#!/bin/sh
--}#
--}# My creation .Xsession file
--}#
--}# To remove the cursor after a short break
--}unclutter -idle 1 
--}# To get up the Rox panel
--}rox -b=MyPanel 
--}# Have gkrellm working
--}gkrellm 
--}# Start Fluxbox, maybe it should be up top. Not according to
 Liam's example --}exec /usr/bin/fluxbox 
--}  
--}   Try without the  in the above line.
--}  
--}   Cheers,
--}   Tom
--}  
--}   --
--}   Anti-trust laws should be approached with exactly that attitude.
--} 
--} 
--}  Brilliant Tom, but absobloominlootly brilliant - that did it, works
 like a treat. --}
--} just in case you missed why... X runs until it has completed
--} everything in the .Xsession file. Once that's done, it kicks out and
--} either dies, or respawns itself depending on how you started X
--} ()startx vs *dm). SO with the  after fluxbox, you allowed fluxbox to
--} move into the background and X to move on through the .Xsession
--} file. Thus you were starting all that stuff up everytime you logged
--} in, but then X died at the end of .Xsession and you were back at the
--} xdm prompt :)
--}
--} A
--}

Thanks for that excellent explanation. Now I know why, what happened.

Be well,
Charlie
-- 
Registered Linux User:- 329524
+++
I disapprove of what you say, but I will defend to the death your right to say 
it. ..Voltaire


Linux Debian Etch


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



Re: how to configure users X setup?

2007-06-12 Thread Liam O'Toole
On Tue, 12 Jun 2007 01:37:35 -0400
Zach [EMAIL PROTECTED] wrote:

 i looked in /home/foo and /root (i hav  2 users: 1 regular and root)
 neither has a .xinitrc or .Xclients
 i am running Debian testing release

Both of those files influence what clients (e.g. window managers) are
run when the user starts an X server. They do not set up X itself. Just
what setting up do you want to achieve?

-- 

Liam


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



Re: how to configure users X setup?

2007-06-12 Thread Kevin Mark
On Tue, Jun 12, 2007 at 07:21:46AM +0100, Liam O'Toole wrote:
 On Tue, 12 Jun 2007 01:37:35 -0400
 Zach [EMAIL PROTECTED] wrote:
 
  i looked in /home/foo and /root (i hav  2 users: 1 regular and root)
  neither has a .xinitrc or .Xclients
  i am running Debian testing release
 
 Both of those files influence what clients (e.g. window managers) are
 run when the user starts an X server. They do not set up X itself. Just
 what setting up do you want to achieve?
 
There are also a few ways to start X:
from a display mananger, from the console with startx, from a special
program like startkde and a few other. Which one do you want to use?
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|  my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian!  |
|___  Unless I ask to be CCd, assume I am subscribed ___|


pgpMtmzkmng2a.pgp
Description: PGP signature


Re: how to configure users X setup?

2007-06-12 Thread Zach

On 6/12/07, Liam O'Toole [EMAIL PROTECTED] wrote:


Both of those files influence what clients (e.g. window managers) are
run when the user starts an X server. They do not set up X itself. Just
what setting up do you want to achieve?


Right. I want certain programs run when I start X such as
xscreensaver, xload, and a certain custom built window manager in
/usr/local (not a debian package).

Zach


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




Re: how to configure users X setup?

2007-06-12 Thread Zach

On 6/12/07, Kevin Mark [EMAIL PROTECTED] wrote:


There are also a few ways to start X:
from a display mananger, from the console with startx, from a special
program like startkde and a few other. Which one do you want to use?


I start X different ways: if I am gonna do a lot of desktop-ish stuff
I use my display manager gdm, otherwise I use xinit/startx.

Zach


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




Re: how to configure users X setup?

2007-06-12 Thread Liam O'Toole
On Tue, 12 Jun 2007 03:07:42 -0400
Zach [EMAIL PROTECTED] wrote:

 On 6/12/07, Liam O'Toole [EMAIL PROTECTED] wrote:
 
  Both of those files influence what clients (e.g. window managers)
  are run when the user starts an X server. They do not set up X
  itself. Just what setting up do you want to achieve?
 
 Right. I want certain programs run when I start X such as
 xscreensaver, xload, and a certain custom built window manager in
 /usr/local (not a debian package).

OK. The 'Debian way' is to place the commands in the
executable file ~/.Xsession, e.g.,

#!/bin/sh
xscreensaver 
xload 
exec /usr/local/bin/my_custom_window_manager

That file will determine your X session when you start X from the
console and when you choose the default session in GDM.

Liam


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



Re: how to configure users X setup?

2007-06-12 Thread M-L
On Tuesday 12 June 2007 18:59, Liam O'Toole shared this with us all:
--} On Tue, 12 Jun 2007 03:07:42 -0400
--} Zach [EMAIL PROTECTED] wrote:
--}
--}  On 6/12/07, Liam O'Toole [EMAIL PROTECTED] wrote:
--}  
--}   Both of those files influence what clients (e.g. window managers)
--}   are run when the user starts an X server. They do not set up X
--}   itself. Just what setting up do you want to achieve?
--} 
--}  Right. I want certain programs run when I start X such as
--}  xscreensaver, xload, and a certain custom built window manager in
--}  /usr/local (not a debian package).
--}
--} OK. The 'Debian way' is to place the commands in the
--} executable file ~/.Xsession, e.g.,
--}
--} #!/bin/sh
--} xscreensaver 
--} xload 
--} exec /usr/local/bin/my_custom_window_manager
--}
--} That file will determine your X session when you start X from the
--} console and when you choose the default session in GDM.
--}
--} Liam

In much the same situation, on an old Toshiba laptop, 64 MB RAM and 10 GB hard 
drive, Etch installed, using fluxbox window manager and I created an 
~/.Xsession just as your example above. With is file the machine boots to XDM 
and when the user name and password are inserted appropriately, just keeps 
coming back to XDM login.

So I have to kill the GUI and get in through CLI and remove the ~/.Xsession 
script and then restart with startx.

So there must be something wrong, either with the scrip, or something the 
script interferes with? I wonder if it works for Zach?

I had hoped that I would be able to get gkrellm and the Rox panel to run after 
fluxbox has started. This should possibly be able to be placed in the 
~/.fluxbox/init script, but it won't happen. Mainly because even though I 
have googled extensively, and read the fluxbox wiki and all the documentation 
I could find, none had the answer. Created startup scrips and such, have not 
had any joy with any of these.

I just thought that maybe the Debian way you described above might be the 
way to go.

Charlie

-- 
Registered Linux User:- 329524
+++
Even the best things are not equal to their 
fame. .Henry David Thoreau


Linux Debian Etch


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



Re: how to configure users X setup?

2007-06-12 Thread Liam O'Toole
On Wed, 13 Jun 2007 12:29:25 +1000
M-L [EMAIL PROTECTED] wrote:

[...]

 In much the same situation, on an old Toshiba laptop, 64 MB RAM and
 10 GB hard drive, Etch installed, using fluxbox window manager and I
 created an ~/.Xsession just as your example above. With is file the
 machine boots to XDM and when the user name and password are inserted
 appropriately, just keeps coming back to XDM login.
 
 So I have to kill the GUI and get in through CLI and remove the
 ~/.Xsession script and then restart with startx.
 
 So there must be something wrong, either with the scrip, or something
 the script interferes with? I wonder if it works for Zach?
 
 I had hoped that I would be able to get gkrellm and the Rox panel to
 run after fluxbox has started. This should possibly be able to be
 placed in the ~/.fluxbox/init script, but it won't happen. Mainly
 because even though I have googled extensively, and read the fluxbox
 wiki and all the documentation I could find, none had the answer.
 Created startup scrips and such, have not had any joy with any of
 these.
 
 I just thought that maybe the Debian way you described above might
 be the way to go.

Could you show us the contents of the ~/.Xsession file? The contents of
the file /etc/X11/Xsession.options could be relevant too.

-- 

Liam


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



how to configure users X setup?

2007-06-11 Thread Zach

i looked in /home/foo and /root (i hav  2 users: 1 regular and root)
neither has a .xinitrc or .Xclients
i am running Debian testing release

thx!
zach


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