sudo systemctl set-default multi-user.targetFrom what you have explained so and from what I have seen, I am getting the idea xorg/wayland and gdm3 and maybe some other graphical packages have been installed. So what we are going to do is remove those since you said you never installed a graphical environment, can you create a new file with the name pkgs.txt with the following packages.
From the location where you created pkgs.txt run the following.Code:
kwayland-data kwayland-integration:amd64 libkf5waylandclient5:amd64 libqt5waylandclient5:amd64 libqt5waylandcompositor5:amd64 libva-wayland2:amd64 libwayland-bin libwayland-client0:amd64 libwayland-cursor0:amd64 libwayland-dev:amd64 libwayland-egl1:amd64 libwayland-server0:amd64 qtwayland5:amd64 wayland-protocols xorg-sgml-doctools xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware xwayland gdm3
Then do the following and share the output of these last two commands.Code:
sudo apt remove $(cat pkgs.txt) -y
Reboot your system and I think you shouldn't be getting the screen with the blinking cursor anymore.Code:
sudo systemctl set-default multi-user.target systemctl get-default
Created symlink /etc/systemd/system/default.target → /lib/systemd/system/multi-user.target.