Re: Command terminates after log off

From: Aaron W Morris (aaronmorris@MINDSPRING.COM)
Date: Fri May 14 2004 - 02:46:57 EDT


faisalq@CYBER.NET.PK wrote:
> Dear all,
>
> We are executing command using nohup in AIX 5.2, but at logoff, command
> terminates.
>
> How can this be resolved?
>
> Regards
>
> # /bin/nohup xinit -- -vfb -force :1 1>/dev/null 2>/dev/null &
> [1] 700516
> # ps -eaf | grep -y 'vfb'
> root 434178 700516 0 17:38:29 pts/1 0:00 ksh
> /usr/lpp/X11/defaults/xserv
> errc -vfb -force :1
> root 589968 434178 0 17:38:29 pts/1 0:00 /usr/lpp/X11/bin/X -D
> /usr/lib/
> X11/rgb -vfb -force :1
> root 700516 696392 0 17:38:29 pts/1 0:00 xinit -- -vfb -force :1
> #
> # exit
> There are running jobs.
>
>

You may be able to put the command in a shell script and run "nohup
script.sh &"

--
Aaron W Morris <aaronmorris@mindspring.com> (decep)


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:55 EDT