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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux