Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I'm new in the Linux world ok ... I'm running a java app when my specific user (not root) login. It's running fine. The problem is that profile.local are ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2

    Calling apps twice on user login

    Hi,
    I'm new in the Linux world ok ...
    I'm running a java app when my specific user (not root) login. It's running fine.
    The problem is that profile.local are calling my app twice ... The first call, it’s blocking Linux environment until I close java app. After that, occurs the second call, then it's free Linux for usage.
    I tried to change my java app for gedit, and I can see the problem too.
    I tried with profile.local and /home/<my user>/.profile, the result is the same.
    This is my script:

    if test $LOGNAME = "userx" ; then
    xterm -e /home/userx/bridge/bridge.sh &
    fi

    Any idea? Am I doing anything wrong?
    Ops, sorry ... I'm using openSUSE 11.3

    Regards,

    Alexandre.

  2. #2
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2
    Hi,

    Problem solved: I put the script in

    /home/userx/.bash_profile

    Alexandre.

  3. #3
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    Good job!
    Thanks for posting solution.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...