[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Halt in X
From: |
Joshua Branson |
Subject: |
Re: Halt in X |
Date: |
Sat, 26 Oct 2024 15:43:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Samuel Thibault <samuel.thibault@gnu.org> writes:
> Joshua Branson, le ven. 25 oct. 2024 22:28:30 -0400, a ecrit:
>> - One cannot do `# halt` when running X. [This is a known
>> issue.](https://darnassus.sceen.net/~hurd-web/faq/x-exit/)
>
> No, the faq entry is about the normal session shutdown, due to a missing
> kill() functionality.
>
> Halt not being able to kill the X session is another concern. It would
> need to be tracked e.g. using a serial console, to check what process is
> lying behind, and that the initscripts don't manage to kill. Normally
> they are able to kill -KILL them after some (not too long) time, it
> should be checked why that's not happening.
>
>> I should try this again and see if I can ssh into the machine at
>> this state.
>
> You shouldn't be able to since halt turns down all daemons etc.
>
>> Not being able to run `# halt` will confuse the casual user.
>> So to halt my machine, I still have to kill X, then run `#halt`. I
>> tried running shutdown-hurd from inside X, as per Samuel's request.
>
> Not shutdown-hurd, but poweroff-hurd.
That's another (VERY VERY VERY) minor issue. I can never remember what
the specific hurd specific shutdown commands are. Can we link
shutdown-hurd, hurd-shutdown, hurd-poweroff, halt-hurd, and hurd-halt to
poweroff-hurd ?
>
>> Weirdly enough, after I pressed return on that command, I could
>> still move the cursor.
>
> That's not really surprising since since poweroff-hurd only cuts the
> base translators, without taking care of termination daemons etc.
>
>> It took X maybe 5 or so minutes before it
>> locked up on me and stopped accepting mouse movements.
>
> That, however, is surprising. Again, using a serial console would allow
> to know what is actually happening.
I wonder if my T43 has a serial console? What sort of hardware could I
run the hurd on that has a serial cable?
--
Joshua Branson
Sent from the Hurd