Category Archives: Linux

Rename a user in Linux

If you have a single user account it is not possible to rename the user login name whilst logged on. To do so use cron to run the necessary commands. Create a script with the required commands: nano /usr/local/bin/rename_user # First rename the user login: /usr/sbin/usermod –login newlogin oldlogin # Second rename the group account: … Continue reading Rename a user in Linux

Making Weston a Usable Wayland Desktop

Weston is the reference compositor for Wayland, the replacement to X11 desktop. In default layout Weston is not a user friendly desktop for those used to a traditional PC desktop. Follow the steps below to make it feel more familiar: apt install weston apt install xwayland apt install wlogout ~/.config/weston.ini: [core] xwayland=true [shell] background-image=/home/user/Pictures/Wallpapers/Wallpaper.jpg background-color=0xff002244 … Continue reading Making Weston a Usable Wayland Desktop

Radicale IMAP Auth on Debian 9 (Stretch)

Radicale 2.1 CalDAV may fail with the following error messages logged: radicale.log: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720) syslog: … rip=, lip=, TLS handshaking: SSL_accept() failed …… imap-login: Disconnected: Inactivity (no auth attempts in 180 secs): user=<>, rip=, lip=, TLS handshaking This looks like an incompatibility between OpenSSL and Python urllib regarding SSL connections. … Continue reading Radicale IMAP Auth on Debian 9 (Stretch)

PXE Booting Guide

Configure DHCP ServerConfiguration below is for isc-dhcp-server on Linux: # For hardware LAN Boot ROMs:option tftp-server-address;filename “pxelinux.0”;# For HyperV Guests:# option 60 = client identifieroption dhcp-client-identifier “PXEClient”;# option 66 = TFTP server nameoption tftp-server-name “”;# option 67 = Bootfile nameoption bootfile-name “pxelinux.0”; 2. Configure TFTP ServerOn Linux, tftp-hpa is recommended, with a directory structure … Continue reading PXE Booting Guide