Skip to main content

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

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support