WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline heiheshang

  • Newbie
  • *
  • Posts: 24
auto start and auto shutdown
« on: March 16, 2010, 02:47:45 AM »
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 16, 2010, 02:52:24 AM by heiheshang »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: auto start and auto shutdown
« Reply #1 on: March 16, 2010, 08: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, 09:02:46 PM »
Has not helped