[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xsession file



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



Reply to: