Thread: Ubuntu - Terminal is running after restart but is 'hidden'
i place script in rc2 directory:
#!/bin/sh -e
echo 123>>/home/qa/1.txt
gnome-terminal -e /home/[user]/desktop/tester.pl
if run manually works great (a new terminal opened , running script , terminal stays open).
when perform restart (power reset), file "1.txt" created terminal not "stays open" , not see it.....
shell run perl script on terminal , stay open after restart?!
after 2 days realy desperate
lot.
can advice?
lot…
matan
you don't place normal shell scripts in /etc/rc2.d directory, sym links sys-v init scripts located in /etc/init.d.
if want gui application run on startup run gnome-session-properties , add that.
normal non-gui applications can added /etc/rc.local
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Ubuntu - Terminal is running after restart but is 'hidden'
Ubuntu
Comments
Post a Comment