U
U
Urdin2017-09-04 16:08:16
linux
Urdin, 2017-09-04 16:08:16

How to shutdown linux when a windowed program terminates?

It is planned to make a workstation on ubuntu with automatic entry of a single user into a graphical environment and autorun of a single program. How can I make sure that when this program ends, the entire station turns off?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Ocelot, 2017-09-04
@Ocelot

/bin/user_program ; shutdown -h now

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question