headless

How can I upgrade a package to a specific version?

How can I upgrade a package to a specific version? I know how to install a specific version of a package. Now I want to upgrade all packages of my system with: sudo apt upgrade But for a specific package, I do not want it to upgrade to the latest version, but to a specific …

Total answers: 1

Headless Ubuntu 23.10 on Raspberry Pi 5

Headless Ubuntu 23.10 on Raspberry Pi 5 I have Ubuntu 23.10 running from an SSD attached to my Raspberry Pi 5. I would like to run the setup headlessly but if there is no monitor attached I cannot access it via Microsoft Remote Desktop. It appears that it does not load the graphic enviroment if …

Total answers: 1

Running VSCode headless, without installing desktop environment

Running VSCode headless, without installing desktop environment Can you install VS-Code-CLI on a headless machine, without installing a desktop environment too? (I sometimes wish to access my code on an Android tablet, using the PWA version of Code that doesn’t allow ssh, only the VS Code tunnel.) system spec: No monitors, keyboards, speakers or anything. …

Total answers: 3

Issue booting headless FreeBSD system, requires monitor to boot

Issue booting headless FreeBSD system, requires monitor to boot I’m trying to set up a headless FreeBSD 13.1 system. I’ve done so successfully before on this particular machine, but for whatever reason, after a complete reinstall, it doesn’t want to boot without a monitor attached via HDMI. Since it never shows up on the network, …

Total answers: 2

Restart network interface after reconfiguration of default gateway

Restart network interface after reconfiguration of default gateway I had to swap out my router, and unfortunately that also means changing the default gateway. I have updated the configuration in /etc/netplan/00-installer-config.yml with my net configuration and run # ip link set eno1 down && ip link set eno1 up, which corresponds with my network adapter: …

Total answers: 1

Headless TeamViewer on Ubuntu 19.10

Headless TeamViewer on Ubuntu 19.10 I have been attempting to connect to my home server running Ubuntu 19.10 over TeamViewer from my other devices (Linux computers, Android phones or Windows computers) in vain. I have tried fiddling with Xorg configurations, installing and uninstalling various things. To summarise: Unable to connect to the server without a …

Total answers: 2

Why is su world executable?

Why is su world executable? I have a headless server that is logged into remotely by multiple users. None of the other users are in the sudoers file, so they cannot obtain root via sudo. However, since the permissions on su are -rwsr-xr-x there’s nothing stopping them from attempting to brute force the root password. …

Total answers: 6

changing wifi password over SSH on wifi-only headless server

changing wifi password over SSH on wifi-only headless server I want to change the password for my wifi network foo. I’ve got a raspberry pi connected to foo. I only use SSH to talk with it. The pi is headless, and it isn’t convenient to attach a monitor+keyboard or hardline. /etc/wpa_supplicant/wpa_supplicant.conf on the pi has …

Total answers: 2

Unable to run code in screen

Unable to run code in screen I have following code to execute some commands on a virtue screen: screen -R << EOF cd /home/users/devops_tester/apps/Selenium-Webdriver export DISPLAY=:99 npm start EOF It gives me an error: Must be connected to a terminal. How can I solve it? I found this related topics but I am not using …

Total answers: 3

How to adjust NVIDIA GPU fan speed on a headless node?

How to adjust NVIDIA GPU fan speed on a headless node? How is it possible to control the fan speed of multiple consumer NVIDIA GPUs such as Titan and 1080 Ti on a headless node running Linux? Asked By: Aleksandr Dubinsky || Source The following is a simple method that does not require scripting, connecting …

Total answers: 3

Can you install Linux on a Raspberry Pi without needing an HDMI-display?

Can you install Linux on a Raspberry Pi without needing an HDMI-display? I recently bought a Raspberry Pi 2, Model B. I am intending to mostly connect to it over the local WLAN or Ethernet, using a SSH connection from my main computer. However, right now I have a Raspberry Pi that does not yet …

Total answers: 6

Error when executing headless firefox through Selenium

Error when executing headless firefox through Selenium I am trying to execute headless firefox on the remote machine(running Ubuntu 16.04) through Selenium via SSH. However, this gives me a “Error: GDK_BACKEND does not match available displays” error. My host machine runs Windows. I do not want to see the graphical output. It is just being …

Total answers: 4

Cleaning the harddrive

Cleaning the harddrive I am using a headless Ubuntu 12.04.5 LTS (GNU/Linux 2.6.32-042stab111.12 i686). I recently got a message that the harddisk was full. Is there a way to download all file paths with sizes and to visualize it under windows 7 so I can figure out what to remove? Or is there a bash …

Total answers: 1

Add Fake Display when No Monitor is Plugged In

Add Fake Display when No Monitor is Plugged In I have an Ubuntu 14.04 server that has no external monitor connected. I use NoMachine to remote control the machine. When I do so, the Unity/Gnome interface doesn’t see any monitors connected, so I can only use 800×600 when connecting with NoMachine. If I plug in …

Total answers: 9

Launch a GUI browser on server without a GUI?

Launch a GUI browser on server without a GUI? What’s a simple way to launch a browser on an server that doesn’t have a GUI, but needs a GUI-like browser? Something like Firefox or Chrome. I need to trigger a page load but it needs full javascript support. Once the page is loaded it can …

Total answers: 1

Minimal Java installation for Linux with no GUI

Minimal Java installation for Linux with no GUI I’m working on a CentOS 6.3 x86_64 minimal OS (installed using the netinstall ISO). This system is not expected to run anything beyond console apps/services and Tomcat7. When I attempt to install OpenJDK 1.7, it lists some x11 packages as dependencies. For my purpose, not even awt …

Total answers: 2

How do I create a completely unattended install of Ubuntu?

How do I create a completely unattended install of Ubuntu? I need a CD or USB stick, that will install Ubuntu on a completely headless machine. Stick CD in and restart, no keyboard or screen should be involved. There are a few obstacles: The language selection menu when you first boot the CD. The fact …

Total answers: 4

How to setup linux server for headless use?

How to setup linux server for headless use? Consider a headless server like this: A typical x86 box at a remote location, which you can remotely initialize with a stock – say – Ubuntu image. After it is initialized you only can login via ssh – or remotely reset it, i.e. you can’t access the …

Total answers: 3

How can I force Ubuntu to boot on a stuck boot menu?

How can I force Ubuntu to boot on a stuck boot menu? I have Ubuntu Server 11.04, but it is headless (no monitor). The only way I want to be able to access it is remotely via SSH. But, sometimes, say after a power loss, when the server restarts, it will get stuck on the …

Total answers: 2

Isn't $HOME supposed to be the location of the user's home directory?

Isn't $HOME supposed to be the location of the user's home directory? I’m having trouble with a web application I’m writing: The web application, which runs as user nobody, needs to launch an inkscape process to manipulate some SVG files. Because this runs as user nobody, there is no home directory. What I am doing …

Total answers: 2