Peter Tribble wrote: > On 4/29/07, Rafal Chojnacki <erch at student.agh.edu.pl> wrote: >> Hi, >> >> Can I halt OpenSolaris directly from Java Desktop System just like a >> can logout (for example from launch menu) without opening terminal, >> logging as root and running shutdown command? > > You don't need to be root. The console user can run sys-suspend (in > /usr/openwin/bin) to shut down the system. Depending on your hardware, > the power button may trigger this - or, on sparc at least, the power key > on the keyboard. > > A related question I would like to know the answer to. I can use > sys-suspend > to stop the machine, how could one do a regular reboot? > /opt/sfw/bin/sudo /sbin/init 6
- [desktop-discuss] How to halt system directly from Java D... Rafal Chojnacki
- [desktop-discuss] Re: How to halt system directly fr... Philip Brown
- [desktop-discuss] How to halt system directly from J... Peter Tribble
- [desktop-discuss] How to halt system directly fr... Paul Gress
- [desktop-discuss] Re: How to halt system dir... Lars Tunkrans
- [desktop-discuss] How to halt system directl... Peter Tribble
- [desktop-discuss] Re: How to halt system directly fr... MC
- [desktop-discuss] Re: How to halt system directl... lloy0076
- [desktop-discuss] Re: How to halt system directl... Doug Scott
- [desktop-discuss] Re: How to halt system directl... Alan Coopersmith
- [desktop-discuss] Re: How to halt system directl... Halton Huo
- [desktop-discuss] Re: How to halt system dir... Brian Nitz
- [desktop-discuss] Re: How to halt system... Peter Tribble