Re: Start only one program at login

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

 



On 24Jan2007 16:51, Kanwar Ranbir Sandhu <m3freak@xxxxxxxxxx> wrote:
| I want to start one application after logging in from GDM, and nothing
| else - I don't want any of the normal desktop environment.  I've been
| testing with a few different apps, such as gnome-terminal, but so far my
| attempts have failed.
| 
| I'm getting an error that says "no profile for user test found", and
| then I get logged out again.
| 
| What I've done so far is create a .xsession file, changed the
| permissions to 700, and added the following to the file:
| 
| exec gnome-terminal &
| 
| I know that won't give me any gnome settings, etc., but I'm just playing
| around at the moment.  All I want to do for now is get gnome-terminal
| started.

Get rid of the "&".

The duration of the .xsession script is the duration of your login.
Normally you would kick off a few things in the background with "&"
(terminals, browsers, whatever) and finally start a window manager
_without_ an "&". In this way the script is waiting for the window
manager - quitting the window manager logs you out.

So you want to start a single app _instead_ of a window manager.
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Get rid of internal customers. - NeilW in a SysAdmin Team Fundamentals meeting

[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