40 ms·
Pretty ingenious workaround. Just a note to skip some of the first 'blind' section (installing openssh server through the desktop environment with no screen vis
by kbaker 10y ago
Pretty ingenious workaround. Just a note to skip some of the first 'blind' section (installing openssh server through the desktop environment with no screen visible):
Ctrl+Alt+F1 still works in many distros to switch VTs to a text-mode terminal tty1, and likely also works without logging into the desktop. Ctrl-Alt-F7 to switch back.
From here, you should be able to login blind, then sudo apt install openssh-server (assuming Internet connectivity,) or kill whatever misbehaving process, or even restart the whole DE or computer.
- tombh 10y agoAbsolutely! Should have thought of that myself. Added to the blog post now. Thanks.
- JdeBP 10y agoThe Z shell's and Bourne Again shell's Control-L key binding would have helped with operating using only the top of the screen, too.
- ferbivore 10y agoSwitching to TTY2 is probably a better idea. I haven't used Linux in a while, but IIRC modern distributions use TTY1 for the graphical session due to some sort of limitation with systemd.
- morganvachon 10y agoNot so on my Bunsenlabs installation, which is just plain Debian, systemd included, with a minimalist OpenBox theme. Ctrl+Alt+F1 from the desktop gives me a text login session, and Alt+F7 returns to the desktop. Alt+F(1-6) switches between six text sessions.
- akiselev 10y agoI don't think that's true. Under my NixOS distribution the display manager tty is configurable and defaults to Ctrl+Alt+F7 (with systemd).
- timpattinson 10y agoArch defaults to tty1 on my machine at least
- mdadm 10y agoFor a bit of context: http://unix.stackexchange.com/questions/141604/why-x-server-runs-on-tty1-and-not-tty7-on-arch-linux http://unix.stackexchange.com/questions/141604/why-x-server-...
- i336_ 10y agoAFAIK: Not a limitation, but the notion that the graphical console should replace the text console on the same TTY. Kind of makes sense, but very consistency/tradition-breaking. One of those decisions that should have been implemented a while back in order to be elegant.
- JdeBP 10y agoActually, it dates from a couple of years before systemd existed, and started with the idea of minimizing monitor flicker during the system bootstrap in Fedora. The idea was to make the display not switch between text and graphics modes, as it did when successively switching from graphical splash screen to textual virtual terminal to graphical X display. Starting the X server on the default virtual terminal eliminated the middle part. By the time that systemd came along, this was already established Fedora behaviour with upstart. The systemd people had to work to replicate existing semantics. * http://fedoraproject.org/wiki/Features/BetterStartup http://fedoraproject.org/wiki/Features/BetterStartup * http://fedoraproject.org/wiki/FWN/Issue150#Moving_X_from_VT7_to_VT1 http://fedoraproject.org/wiki/FWN/Issue150#Moving_X_from_VT7... * https://bugzilla.redhat.com/show_bug.cgi?id=614454#c6 https://bugzilla.redhat.com/show_bug.cgi?id=614454#c6 * https://bugzilla.redhat.com/show_bug.cgi?id=619889#c12 https://bugzilla.redhat.com/show_bug.cgi?id=619889#c12
- digi_owl 10y agoAnd now systemd is spreading this behavior to other distros that has adopted systemd?
- raverbashing 10y agoWeird how this is not know by more people, apparently "Kids these days" don't even know what it is to spend days having to make their X11/Xorg work * coff * coff