Re: How to allow some basic programs to start automatically



blmblm@xxxxxxxxxxxxx wrote:
In article <1148379212.31273.6@xxxxxxxxxxxxxxxxxxxxxx>,
The Natural Philosopher <a@xxx> wrote:
danish wrote:
Chirag Shukla wrote:
danish wrote:
Hi,
I want some programs to automatically start when I switch on my linux
box. For eg I would like to have the linpopup program automatically
start up..linpopup allows me to send messages to windows machines using
smb....
Can anyone help me out with this......

[ snip ]

there is a script file in the users home directory that executes when the user logs in. I forget what it is called, but it begins with a dot...put all user specific stuff in there.

Is there? Every shell seems to have its own such file, sometimes more
than one depending on whether the shell is invoked as a "login shell",
but is there something that's read in when one does a graphical login?

Yeah...I AM rusty aren't I? .rc .nashrc etc etc..

I THINK that x window logins have their own... .xsomething?



If I'm right that there's no such file -- why not? I can imagine
historical reasons -- for example, that it was assumed that any login
would immediately invoke a shell, which would read in user configuration
files, etc., etc. -- but it seems like now it would be a useful thing
to have.

FAIRLY sure that early x implementations at least - been years since I used X-windoze..have some sort of initialization, if only to fire up the window in the correct sort of way and spawn some kind of setup that is user based...chances are theres a script file somewhere that could read user environment stiff and spawn whatever else was needed.


[ snip ]

.



Relevant Pages

  • Re: Shutdown, No Login/Logout Window
    ... I have problems Log Out> End Session, takes me straight to the 'shell' ... login window and goes right back to Desktop of last user. ... If I reboot computer I get the "Login Window" ...
    (Fedora)
  • Re: Shutdown, No Login/Logout Window
    ... I have problems Log Out> End Session, takes me straight to the 'shell', no login/logout Window. ... At the 'Shell' prompt, login as user and 'startx', it bypasses user login window and goes right back to Desktop of last user. ...
    (Fedora)
  • RE: SSH Tunneling without console login
    ... > that the command will also login onto PC2. ... > not give a shell prompt, ... I only need SSH ... > tunneling purposes, i login to the remote server ...
    (SSH)
  • [Full-disclosure] Reverse Shell Without Enabling Netcats "GAPING_SECURITY_HOLE"
    ... While the method below does not provide a "TRUE" interactive shell it ... get in the way of proper communication using this method. ... output of your commands in and run. ... On the attacker host open a terminal window that you want to enter in your ...
    (Full-Disclosure)
  • Environment Poisoning and login -p
    ... login -p can be used to propagate environment flags ... in order to trojan the user shell of the target account. ... I will note that in -CURRENT, both "nologin" and /bin/sh ...
    (FreeBSD-Security)