Re: Start only one program at login

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

 



On 02Feb2007 12:24, khemera lin <lin.kh@xxxxxxxxxxxx> wrote:
| I tried to make the setting apply globally by editing the
| file /etc/X11/xinit/Xsession file by putting the sames two lines:
| 
| #####
| metacity --sm-disable

You need a trailing "&" here. But that is not your problem.

| exec firefox
| #####
| 
| But it did not work. It gives me this error:
| "Cannot start the session due to some internal error."
| 
| In my case, i would like any user to login to my system and can only use
| firefox. Could someone please help me to fix it?

Modify it like this:

  exec >/tmp/session.out.$$ 2>&1
  set -x
  metacity --sm-disable &
  exec firefox

Let it fail. Then:

  cd /tmp
  ls -ltr session.out.*

Examine the most recent one. It may contain error messages which clarify
the problem.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

I'm not procrastinating... I'm being _uncooperative_.
- hey! <http://slashdot.org/~hey!>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux