Category: Linux

Solved: xrdp immediate disconnect after login

The default install on debian will have your system boot into graphical mode; Which will prevent XRDP from working correctly. (You will get an immediate disconnect after the login screen, without much to go on in the log files). Setting the system to boot into text mode solves this problem. Set the system to boot into text mode Next, the installation of xrdp is straightforward:

Using dd to secure wipe an entire disk

Linux has many small but extremely powerfull tools, and the disk duplicator dd is one of them. By copying from the system’s random data stream onmto a target disk, we can overwrite a disk front to end, partition data and all. Make very sure abot the target disk. If you don’t get that part right, you WILL destroy something else. Assuming the disk to wipe is the SECOND disk in your system (attached wiht usb […]

Enable mysql server on Debian 10

Debian 10 by default ships mariadb, here are the steps to add the official mysql repository to your system and enable the server. Download the MySql apt repository to your system, and install the package as root, or with sudo privileges. You can find the latest version at this location: https://dev.mysql.com/downloads/repo/apt/ At the time of writing, latest is 0.8.15-1, so now we can use wget to get that file into the system and install it […]

Webmin on debian with let’s encrypt

What do we want to archive Installation of webmin on debian, and adding a certbot SSL certifcate Requirements Debian, certbot How do we get there First step is the installation of webmin, which is perfectly described on the official page. At the current time and version, this amounts to the following steps, asuming a clean system: This will get the standard webmin installation running on port 10000 in SSL mode on your server. Open firewall […]

UFW Firewall cheat-sheet

What do we want to archive Install and activate the Uncomplicated firewall (UFW) and list some basic commands for adding and removing rules Requirements Debian, Ubuntu, etc How do we get there Installation: Default rules The following defaults will allow all outgoing traffic, and block all incoming traffic, which will make for a nice set of defaults to start out secure: Doing this remote ? then you just might want to allow ssh before enabling […]

Add usr/sbin to path for a local user

What do we want to archieve Add /usr/sbin to the path of the local user Requirements Debian 10, Bash shell How do we get there The directories /sbin, /usr/sbin and /usr/local/sbin are not in a normal user’s path because they contain executables for system maintenance that need administrative priveleges. These are normally only in root’s path, since you need to be root to run them. However, for sudo users it can be very helpfull to […]

Creating a linux desktop with X410 and WSL

Note: This process is largely a rewrite from the official X410 app cookbook, for presevation and easy access. Requirements: Windows 10 with WSL installed Install Ubuntu (or any distro of your picking) from the Windows store Install the X410 APP from the windows store Install the X server, and disable any screensaving stuff: Create a batchfile for starting the desktop session in an easy way: Bare essentials, you are done now. To give your desktop […]

Adding the Courier IMAP server to your system (Debian, Ubuntu)

Courier offers IMAP services for your system. Prequisite: PostFix mailserver package Prequisite: Maildir style mailboxes see here Add the Courier package for IMAP support  Courier will install a self signed certificate at the location /etc/courier/imapd.pem, which can be replaced with a production grade certificate later. Add your local domains to postfix Check domain settings with sudo postconf mydestionation (debian: /usr/sbin/postconf mydestionation) Correct domain settings with sudo postconf -e mydestination Check/correct local networks: mynetworks Instruct postfix […]

Next Page »