WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: auto start and auto shutdown  (Read 2114 times)

Offline heiheshang

  • Newbie
  • *
  • Posts: 24
auto start and auto shutdown
« on: March 15, 2010, 11:47:45 PM »
At system loading starts rdesktop. Autostart has placed in./.xsession.
rdesktop-f-uddd-p123 192.168.6.57
pid = $ (ps-a |grep rdesktop |awk ' {print $3} ')
wait $pid
/etc/init.d/rc.shutdown
rdesktop successfully starts, but at end of session deenergizing does not occur. Prompt as to be?
« Last Edit: March 15, 2010, 11:52:24 PM by heiheshang »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10960
Re: auto start and auto shutdown
« Reply #1 on: March 16, 2010, 05:02:55 AM »
Try using "sudo poweroff" instead of rc.shutdown
The only barriers that can stop you are the ones you create yourself.

Offline heiheshang

  • Newbie
  • *
  • Posts: 24
Re: auto start and auto shutdown
« Reply #2 on: March 16, 2010, 06:02:46 PM »
Has not helped