r/linuxquestions • u/UsernameWhole6854 • 2h ago
Using USB portable display for TTY from headless Ubuntu
My thinkcentre M910q is running Ubuntu server, and I currently access via ssh with a terminal emulator. However, I'm curious about purchasing a small eink display that can be connected via USB cable. I'd like to just have this non-obtrusive eink display mounted on the wall by my desk so I can interact with my server command line.
Assuming that the eink display acts like a typical portable monitor, and the USB 3.0 connectors can satisfy the power demands of the display, is it possible to configure Ubuntu server to output a TTY over the USB 3.0 connector? Or is it necessary to emulate in one way or another?
2
u/jjangg96 2h ago
depends on how the display takes video. if it's hdmi or displayport, or usb-c with dp alt mode, the tty just shows up on it like on any monitor. nothing to configure on the ubuntu side, the usb cable is only for power (and touch if it has it).
the m910q has a displayport and usually an hdmi or second dp on the back, so you'd run a cable from there. i wouldn't count on the usb ports carrying video.
the thing to avoid is a displaylink style usb display that sends the picture over usb. that needs the evdi driver and only works inside a graphical session, so you won't get the plain console on it. check the product page for hdmi/dp/alt mode vs displaylink before you buy.
1
u/symcbean 2h ago
Linux is a Unix conformant operating systems. Unix systems were talking to serial terminals long before anyone invented graphical user interfaces. Your Ubuntu system is perfectly capable of talking to a tty.
However the software on your e-ink display is a different story - we know nothing about it. However it is unlikely to have a keyboard so I don't know how you expect interact with it. OTOH, if it can run a VNC client you can extend your current desktop onto the device (but then you need to work out how to route TCP/IP over a USB cable).
1
u/m4uri 1h ago
jjangg96 nailed the important part, just check it is HDMI/DP or USB-C alt mode and not DisplayLink. A few things for after its connected, because the plain console on e-ink has some quirks:
The console blanks after about 10 minutes by default. For a wall display you want that off, add
consoleblank=0to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, thensudo update-gruband reboot.Small console fonts look awful on e-ink.
sudo dpkg-reconfigure console-setuplets you pick Terminus and a big size like 16x32, much easier to read from a distance.Scrolling output is where e-ink hurts, every redraw flashes and ghosts. If its mostly for watching the box, something static works way better, like
watch -n 30with a few status commands or a tmux session with htop that you just leave there. Typing works too, you only need a USB keyboard plugged into the M910q, the console doesnt care what screen it is on.Which display are you looking at ?