Console Linux

In an effort to experiment with different ways of undertaking computer tasks, I have set up an Acer c720 with Debian 13, running XFCE. I have decided to experiment to see how much I can do with just the console.

After setting Debian to boot to the Linux console. I can get to the GUI typing startx (very 90s that). If I logout I go back to the console. Oddly CTRL-ALT-BACKSPACE just brings up the logout dialogue. It used to exit the GUI.

When installing, you get the option to connect to the wifi as part of the install process, so that the installer can pull in any packages etc it needs. Once installed and logged in via the console use nmtui to connect to wifi networks, which is useful. Thanks to Ben at Tinkerers for this.

Booting in to the console, I have set up:-

  • Both the joe and nano text editor (nano being the default)
  • Set up the console fonts.
  • Set up ansiweather so it gives the weather for my location - ansiweather -l location, then set up an alias so it adds the switch and location when run.
  • Set upirssi irc client to connect to ircnow. also have Hexedit installed
  • Set up htop this has a color UI and more features than top .
  • Lynx browser
  • acpi tfor battery monitoring
  • fastfetch, lshw, inxi and uname -a for hardware information
  • tmux the terminal multiplexer, this is also on my Raspberry Pi
  • gomuks (Matrix Client written in go), (thanks to Robin at Tinkerers for this)

I am still experimenting with this, so will update this post from time to time any questions feel free to ask on IRC (irc now) or on mastodon. I encourage people to experiment and learn.

Raspberry Pi : Remote login

Having set up a Pi 4 with a basic console, I spent part of this week configuring this and my firewall (on router) to allow remote access via ssh.

So to do this I:

  • Set up ssh-server on port 22 (this was already done)
  • Set up ufw to allow port 22 ((this was already done)
  • Set up my firewall to allow connections to be port forwarded to port 22 on IP of the Pi.
  • Checked this worked by connecting to via the internal network to the IP of my router
  • Checked this worked via vfsync using my outward facing IP address
  • Checked it worked by logging in via the STEAM Cafe wifi.
  • For clear security reasons:-
  • I have NOT Opened up port 22 on my firewall, I have chosen a different port number and this forwards to port 22 on my Pi.
  • I do NOT have the Pi on 24/7

This works really nicely and others can do the same easily, could be useful for

  • Learning to use Linux at a more advanced level (maybe complete Linux Up skill Challenge et-al)
  • Running Mine craft or other game servers
  • Running other services at TorbayLUG or other events.

Happy to discuss further via Matrix, DCLUG Mailing list or on Mastodon. Please use #TorbayLUG and tag me in @zleap@techhub.social.