Re: xsession file
Hi Bob,
Thanks for you reply, but I have some (maybe very stupid because Debian
is quite new to me) questions:
1. I do not have fvwm2 (not found when type fvwm2 --help as root)
2. my default windows manager is gnome, how should it be startkde there?
so far, here is what I can do with .xsession
#!/bin/sh
exec x-window-manager &
exec gnome-session
and it works. But one problem arises: when I logged in, and if I
wanted to log out, it does NOT log out immediately, but after at least five
minutes later. Why is that? I guess my .xsession file has problem, but
do not know how to fix.
Thanks,
KC.
On 7/20/07, Bob Proulx <bob@proulx.com> wrote:
Nguyen, Cuong K. wrote:
> I need to create one, but then I do not know what is the "official"
> command(s) to pass off the process to gnome whenever the script is
> implement. Tried gdm, xdm, /etc/init.d/gdm, startx etc... with no
> luck. Everybody has an idea?
Use something like this:
#!/bin/bash --login
exec fvwm2
exec startkde
exec gnome-session
exec x-session-manager
I have fvwm2 up front because that is what I use. The first exec that
succeeds overlays the script with the new exec'd process.
Make sure the file is executable.
Bob
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: