Questions tagged [server]

Ubuntu Server is a flavor of Ubuntu that comes with with no desktop environment by default, with command-line SSH login as the default way of remote access. This tag should be used for questions related to Ubuntu Server (as opposed to Ubuntu Desktop variants), as well as any questions related to installing services and programs on Ubuntu Server.

7,071 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
18 votes
3 answers
1k views

How can I automatically hibernate cloud storage servers?

I have cloud storage data centers running Ubuntu 16.04 LTS and NextCloud/OwnCloud that have no need to be available 24/7 and need power management solutions. Servers are Dell PowerEdge 1950 Gen II and ...
Fab's user avatar
  • 405
14 votes
3 answers
7k views

How to turn off Nvidia GPU on a headless server?

I am running a headless server with an Nvidia GPU. Even when the GPU is not doing any work, it is consuming about 25 Watts of power: +------------------------------------------------------------------...
amanusk's user avatar
  • 1,576
13 votes
1 answer
13k views

How do I configure a vnc server which supports xkeyboard extention?

I am logging into an Ubuntu 14.04 remote machine with a VNC server. I am using some Python IDE programs which use Qt, but while running them I am getting the error: Qt: XKEYBOARD extension not present ...
mosh's user avatar
  • 131
10 votes
1 answer
1k views

NetHogs showing suspicious (outgoing) traffic to random ports from root on Ubuntu 16.04

Using NetHogs on an Ubuntu 16.04 (web) server, i.e. on a machine where no consumer applications or web browsers are installed, besides traffic that is to be expected (HTTP and SSH) PID USER ...
caw's user avatar
  • 396
10 votes
0 answers
2k views

Ubuntu 18.04.2 LTS server - network configuration problem during setup

When installing from current server iso's in a VMWare VM and without a DHCP Server present, both Ubuntu installers are not able to manualy configure a ethernet interface. With the ubuntu-18.04.2-...
anodhi's user avatar
  • 101
8 votes
0 answers
2k views

How to switch snap docker from inactive to active?

Why is it easy to switch docker from inactive to active on AWS: ubuntu@ip-172-31-14-19:~$ ubuntu@ip-172-31-14-19:~$ sudo snap services Snap Service Startup Current docker dockerd enabled ...
Thufir's user avatar
  • 4,551
7 votes
2 answers
9k views

Easiest way to setup a SMTP server to receive mail?

I want to setup a SMTP server to receive all mails. I have only found mail sending software so far (like postfix). But I want to have software to make the server being able to receive mails. Bonus ...
user101579's user avatar
7 votes
1 answer
2k views

Setting up roaming profiles

I am trying to set up roaming profiles on Ubuntu Server. My goal is to be able to log on to the server from any computer in my house running Ubuntu, and have the profile for the user I logged in as ...
Aaron Hill's user avatar
  • 4,957
6 votes
0 answers
2k views

Tunneling with tun2socks to bypass Iran's internet censorship

I am a beginner, I was trying to tunnel between my computer to VPS1 (which has restricted internet due to Iran government policy) and VPS2 (From an Europan provider). Just rented an Ubuntu 20 VPS ...
Takeshi-YOL's user avatar
6 votes
0 answers
5k views

Ubuntu 20.04 - issue with VNC

I have been using Ubuntu on a headless server (with Ubuntu desktop) and a vnc with Gnome since 16.04 LTS. My setup is very similar to everyone else who publishes a How To. I plug in a monitor/...
UberGeek's user avatar
6 votes
1 answer
4k views

System refuses to suspend

Lubuntu 18.04 (lxde) here, upon AMD Epyc 7282. Kernel 4.15. The system is stable and works flawlessly, but id does refuse to suspend. If I try to suspend it, the screen blanks, but the system does ...
MadHatter's user avatar
  • 481
6 votes
0 answers
8k views

How to add support for MS Access .mdb to PHP7 PDO in Ubuntu 18.04

I needed to be able to read a .mdb (Microsoft Access© (JET) file) copied from a Windows system on Linux, specifically Ubuntu 18.04. I searched dozens of web sites and could not find a straightforward ...
James Cobban's user avatar
6 votes
1 answer
502 views

Torque: Unauthorized Request

Following this guide: https://jabriffa.wordpress.com/2015/02/11/installing-torquepbs-job-scheduler-on-ubuntu-14-04-lts/ I installed TORQUE on Ubuntu 16-04-lts (he claims the process works the same ...
MrSynAckSter's user avatar
6 votes
3 answers
27k views

RSA keys not authenticating

Just trying to get a basic setup of openSSH going on an Ubuntu box to work remotely. Main issue: RSA keys fail auth. ssh DOES work using the password for auth, but I would much rather limit it to only ...
Troy Liebel's user avatar
6 votes
1 answer
1k views

How do I disable TTY switching with alt+arrow-key shortcut?

I recently installed Ubuntu Server 16.04.2 (because most programs I use have a cli interface) and whenever I try to use (Alt+left/right arrow key) keyboard shortcut, for Weechat, the tty switches ...
dont-use-x86's user avatar
6 votes
1 answer
8k views

Prevent SFTP from disconnecting

I am using the latest version of FileZilla (3.9.0.6) to connect to a fully up-to-date Ubuntu Server 14.10 with OpenSSH. When I SSH into the server using PuTTY, the connection never times out. I stay ...
vaindil's user avatar
  • 928
5 votes
0 answers
5k views

Create a custom ISO Ubuntu 22.04

I am trying to create a custom Ubuntu 22.04 ISO image with some special features. In older versions I was using a preseed to add those features, but since Ubuntu 20.04 the preseed has been outdated. ...
Dasel's user avatar
  • 151
5 votes
2 answers
3k views

Can't login to Samba share with any user other than my own user

I've followed the usual steps for adding a new user to Samba: create new Linux user with useradd [user] set its password with passwd [user] set its Samba password with smbpasswd -a [user] But when I ...
Za-'s user avatar
  • 51
5 votes
1 answer
2k views

What Causes Ubuntu 20.04 Server Edition to Automatically Suspend?

After installing Ubuntu 20.04 Server Edition on an i7-5930K machine, I notice that the system will automatically be suspended after a short period of no user interaction. The automatic suspend had to ...
Nyxynyx's user avatar
  • 1,063
5 votes
0 answers
322 views

Xenial servers offline after unattended upgrades

We logged on this morning to find 12 of our servers offline. All with different hosting companies. All running Xenial. They all came back online after rebooting and it seems to have been caused by ...
LeonardB's user avatar
5 votes
0 answers
4k views

How to change NIC settings (ethtool settings) via netplan?

https://netplan.io/design requirements section includes "ethtool settings", but that is the only mention of ethtool on the netplan web site Based on the hint in https://netplan.io/faq, I put ...
Aleksey Tsalolikhin's user avatar
5 votes
0 answers
2k views

Ubuntu Kernel Boot very slow - time skip at "raid6: sse2x1 gen() 858 MB/s"

There is this time skip during kernel boot: Jul 19 14:07:02 deetabokkusu kernel: [ 2.874776] hub 1-1.4:1.0: USB hub found Jul 19 14:07:02 deetabokkusu kernel: [ 2.877993] hub 1-1.4:1.0: 4 ports ...
nucleus's user avatar
  • 51
5 votes
1 answer
11k views

update-initramfs issue

Can someone explain what this error means and how i can resolve it please? update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic cryptsetup: WARNING: failed to detect canonical device of /...
juppy8's user avatar
  • 51
5 votes
0 answers
5k views

Setup usbip on Ubuntu 18.04 server

I'm running Ubuntu 18.04 server on an intel nuc an try to setup usbip to have remote access to a ZWave USB device connected to a raspberry pi. I loaded kernel modules with modprobe usbip-core ...
Kutzi's user avatar
  • 51
5 votes
1 answer
768 views

Terminal will not open

I have a google cloud instance running Ubuntu 16.04. I am accessing the GUI through VNC viewer Followed this question : How to make VNC Server work with ubuntu-desktop without xfce to set up the gui ...
m0bi5's user avatar
  • 151
5 votes
2 answers
900 views

ubuntu-server installation: is there a way to change the font size in BusyBox?

when installing ubuntu-server on a new laptop the default font of the installer and the BusyBox console is extremely small. is there a way to make it bigger while the system is running from a boot ....
hiro protagonist's user avatar
5 votes
0 answers
7k views

Unable to stop nginx from redirecting to HTTPS on subdomain

I'm trying to have a top level domian www.example.com which is a wordpress site, and I want it to always force HTTPS, however I also have a subdomain subdomain.mysite.com which I want to be HTTP only. ...
Amir's user avatar
  • 213
5 votes
2 answers
7k views

-bash: cd: HOME not set

Today when I logged into my server via SSH as I have been doing for the past 6 months,. However, I now receive this error message any time I run a command that makes reference to the $HOME environment ...
gwnp's user avatar
  • 183
5 votes
0 answers
2k views

Ubuntu server 16.04 VNC only showing terminal and a file explorer window

I recently installed Ubuntu server 16.04 and tried to get vnc running with gnome-core running as the user environment. Initially after installation I only got the classic gray screen when logging into ...
Nc Bean's user avatar
  • 51
5 votes
0 answers
8k views

What does dpkg --auto-deconfigure actually do?

I'm trying to replace Nginx with a version that has the PageSpeed module compiled in, and I've made my own .deb file for this. The first step is to uninstall the old nginx. However, when I try apt-get ...
Mark Stosberg's user avatar
5 votes
0 answers
2k views

start cannot open /dev/tty0 (no such file or directory)

I really need to get a GUI working but startx displays this error:
Junx's user avatar
  • 51
5 votes
1 answer
5k views

Uninstall then install makes vstpd service unrecognized, vsftpd: unrecognized service

I installed vsftpd on my server using this and this link. But due to this error I followed the solution and tried to update the vsftpd. But because of some configuration problem it was not functioning ...
salmanwahed's user avatar
5 votes
0 answers
26k views

How to stop dhcpd?

I am trying to stop the dhcpd ,but whenever I stop it ,it restart again immediately. $ ps aux | grep dhcp dhcpd 7116 0.0 0.1 19672 6604 ? Ss 16:33 0:00 dhcpd -user dhcpd -group ...
Gray's user avatar
  • 187
4 votes
0 answers
162 views

Tmux uses only one core

My situation I want to run multiple R scripts on a Ubuntu server with which I connect via SSH. To run multiple R scripts I want to use tmux and one session for each run. My problem When I start one R ...
Marcello Zago's user avatar
4 votes
0 answers
3k views

Ubuntu Server 22.04 LTS no DHCP on startup

I am wondering if there has been a regression with Ubuntu. Back when 18.04.3 came out, I noticed that my VM-based Ubuntu servers would no longer be able to get DHCP addresses from my Windows DHCP ...
Jay Duff's user avatar
4 votes
0 answers
380 views

ssh tunnel to another ssh tunnel?

In my country (let's say for example Iran), we do not have access to the internet. We can just reach some internal websites and even we do not have access to Google. In this scenario, I have a VPS in ...
Amin Nami's user avatar
4 votes
0 answers
1k views

Passing local environment variables via SSH not working

Running Ubuntu 22 on both local and remote. I'm trying to pass some environment variables from my local to the remote during ssh; the end goal is being able to define GIT_AUTHOR_NAME as per http://...
rjbathgate's user avatar
4 votes
0 answers
2k views

Ubuntu Server 20.04 freezes twice a week

My ubuntu server (20.04 headless) freezes almost twice a week. The first time, the last message in journalctl was systemd: Finished Message of the Day. and the second time, one from jellyfin. The ...
Vernox Vernax's user avatar
4 votes
0 answers
392 views

Why is Ubuntu 20.04 server is freezing with heavy workload due to memory getting full and not freed while Ubuntu 16.04 is working smoothly

I am running Ubuntu on two the same EC2 cloud instances on AWS server with 1CPU and 1GB RAM. First instance is running Ubuntu 20.04 and the second is running Ubuntu 16.04 I did installation of apache2 ...
Jamol's user avatar
  • 141
4 votes
0 answers
622 views

UFW status is getting problem running iptables

I want to use UFW (version 0.36) but I get this error when running ufw status: ERROR: problem running iptables: Another app is currently holding the xtables lock. Perhaps you want to use the -w option?...
AlexxanderX's user avatar
4 votes
0 answers
2k views

Can't get unicode characters to display on Ubuntu Server 20.04.1

I'm running Ubuntu Server 20.04.1 (no GUI) and want to be able to see unicode characters in the terminal. Just to be clear: I'm not SSHed into it, the terminal I'm using is the one directly on the ...
M H's user avatar
  • 41
4 votes
0 answers
5k views

Ubuntu 18.04 server: Temporary failure in name resolution (LAN only)

I have a fresh installation of ubuntu 18.04 server and I cannot ping by hostname inside my own LAN. The installer updated to the new installer version before performing the install. ping: rpi3: ...
HamsDa's user avatar
  • 41
4 votes
0 answers
19k views

php-fpm not creating /run/php/php7.2-fpm.sock (ubuntu 18.04 server)

error log ERROR: unable to bind listening socket for address '/run/php/php7.2-fpm.sock': No such file or directory Could someone help me find the problem with this as I run out of ideas below is what ...
LukeDS's user avatar
  • 69
4 votes
0 answers
6k views

Slow upload speed on machine running Ubuntu Server 18.04

I'm currently running Ubuntu Server 18.04 on a home server build to act as a Plex server, among other things. I have it connected via ethernet (with a 5-port switch between it and the router), and get ...
OstrichGlue's user avatar
4 votes
2 answers
414 views

Ubuntu 19.04 server doesn't boot, but 19.04 desktop does

I'm trying to install Ubuntu 19.04 on my ThinkPad T420. I would like to install the server edition, so I can configure a custom GUI. I don't want GNOME, and I don't want the trouble of manually ...
b0yfriend's user avatar
  • 141
4 votes
0 answers
311 views

GTK3 TreeView column headers missing

The above shows the expected "Name", "Size", and "Accessed" column headers distinctly missing from GEdit's File->Open dialog. Here's some detail: We've got a freshly developed, Python 3/PyGObject GUI ...
pdm's user avatar
  • 171
4 votes
2 answers
10k views

SSH freezes at pledge: network

I setup passwordless ssh login. I could connect through ssh and also used sftp. suddenly I could not connect any more and ssh freezed. Server: Ubuntu 16.04 Client: Ubuntu 18.04 ssh --vvv user@host ...
Mohammad Etemaddar's user avatar
4 votes
0 answers
852 views

Enable packet routing from network interface eth0 to bridge interface

I have a Ubuntu server connect to LAN 10.1.200.21/24 (bond0), and an Macbook connect to LAN 10.1.200.50/24 (eno1) There are another bridge create by brctl addbr br0 in Ubuntu 10.3.100.1/24, and there ...
王予智's user avatar
4 votes
0 answers
233 views

Ubuntu on nxp i.mx7d board

Google is recommending nxp i.mx7d board as a good choice for android things. Since I would like to run NodeRed on this device I need to install system that will support NodeRed. Is it possible to ...
Neon's user avatar
  • 69
4 votes
1 answer
25k views

Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use

Running docker, I get this port issue: ERROR: for mmp_php_1 Cannot start service php: driver failed programming external connectivity on endpoint mmp_php_1 (...
getData's user avatar
  • 141

1
2 3 4 5
142