Questions tagged [server]

Questions related to Ubuntu Server, and server-related packages.

5,958 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
16
votes
1answer
810 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 ...
13
votes
1answer
11k 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 ...
9
votes
0answers
2k views

Ubuntu 18.04.2 LTS server - network configuration problem during setup

Has anyone had the same problem? 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 ...
8
votes
3answers
1k 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: +------------------------------------------------------------------...
8
votes
0answers
10k views

What are the use cases for cloud-init?

Installing Ubuntu Server 18.04, I see the networking config in /etc/netplan has a .yml file that talks about CloudInit and networking configuration not persisting across instances. I have read https://...
7
votes
1answer
565 views

Sysctl IPv6 disable autoconfig for all interfaces not working

I am trying to turn off IPv6 autoconfig for my all interfaces (I have 4). I want to use net.ipv6.conf.all.autoconf = 0 In the my sysctl config (under /etc/sysct.d) But the settings not applied for ...
7
votes
0answers
453 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 ...
7
votes
0answers
1k 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 ...
6
votes
1answer
916 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 ...
6
votes
1answer
336 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 ...
6
votes
1answer
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 ...
6
votes
1answer
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 ...
6
votes
1answer
7k 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 ...
5
votes
0answers
266 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 ...
5
votes
0answers
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/...
5
votes
1answer
2k views

Where do log messages go with journald and rsyslog

On Ubuntu 18.04 both journald and rsyslog are installed. Both serve the same purpose of collecting log messages and storing them. So we have two programs doing the same work here. What I could find ...
5
votes
0answers
3k 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 ...
5
votes
1answer
3k views

Opening a port to an application accessible outside of localhost?

Though I have researched this all day, I still can not find a solution to this issue. On my Ubuntu Server I am trying to run a node.js application that simply prints out "Hello World" and runs on ...
5
votes
2answers
578 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 ....
5
votes
0answers
6k 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. ...
5
votes
3answers
22k 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 ...
5
votes
0answers
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 ...
5
votes
0answers
1k views

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

I really need to get a GUI working but startx displays this error:
4
votes
2answers
348 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 ...
4
votes
0answers
120 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 ...
4
votes
1answer
5k 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 ...
4
votes
0answers
327 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 ...
4
votes
0answers
189 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 ...
4
votes
1answer
1k views

Prevent clock from advancing to a system time after Ubuntu Server build time

I have an Ubuntu Server 18.04.1 LTS in a lab environment where I need to set the date a couple of years back in time (e.g. 2016-04-22). I can set the older date/time without any issues but the OS ...
4
votes
1answer
2k views

Ubuntu Server 18.04 installer does not show partitions

I'm trying to install Ubuntu Server 18.04 to dual boot with Windows. When I run the Ubuntu Server installer, it doesn't show any partitions on the disk and instead recognizes my entire disk as ...
4
votes
0answers
549 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 ...
4
votes
1answer
2k views

Ubuntu server install on existing partition

I am trying to install Ubuntu Server 18.04 LTS on an existing partition on a Win 10 + Ubuntu machine (replacing the existing 16.04). However, on the disk setup stage, the installer does not show any ...
4
votes
1answer
3k views

Ubuntu Diskless 16.04.3 LTS (Xenial Xerus)

I am following this HowTo on setting up a diskless ubuntu client. I am using 2 virtualbox VMs one server and one client. I am trying to boot the client using pxe but I get a kernel panic error like ...
4
votes
1answer
574 views

On a UEFI install, how to do Minimal, Minimal Virtual Machine, Expert install?

On the regular server installation boot screen, one can press F4 to enable Minimal or Minimal Virtual Machine options, and there is also an Expert install option. However, on a UEFI install boot ...
4
votes
0answers
4k views

When running any GUI command over SSH: cannot open display: localhost:11.0

Host: Kubuntu Client: Windows 10 with Linux subsystem Goal: I want to be able to ssh into my host machine and export the display for GUIs, such as kwrite or gedit. Problem: I'm trying to SSH from ...
4
votes
2answers
9k views

How to listen new port Ubuntu Server from command line?

I want to listen new port on Ubuntu Server. I am in root access. netstat -an | grep "LISTEN " Returns : tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp ...
4
votes
1answer
1k views

Apt-get on a ipv6-only Ubuntu server

I have a hosted Ubuntu virtual server that only has an ipv6 address. I can ping6 it, and ssh -6 to it without any problems but any time I try to use apt-get update, the entire process times out. I'...
4
votes
0answers
1k views

Can I unlock a brand new user to SSH in without setting password?

I'm following these steps when setting up the user: $ sudo useradd periscope -m -s /bin/false $ sudo su -s /bin/bash periscope $ mkdir ~/.ssh $ # public key gets manually input here $ cat - >> ~...
4
votes
0answers
764 views

Ctrl arrow keys not working in tmux inside VirtualBox

I am running a Ubuntu Server 16.10 inside a Virtualbox 5.1.20. In tmux, I am unable to resize the panes using the prefix Ctrl-Up, Ctrl-Down, Ctrl-Left and Ctrl-Right commands. I know the Ctrl key ...
4
votes
1answer
1k views

Why does the time given by dmesg timestamps differ from the actual time (and output of `date`)?

I am using Ubuntu 16.04.2 LTS dmesg outputs lines like this: [ma mei 8 09:00:16 2017] [UFW BLOCK] IN=eth0 OUT= MAC= SRC=140.205.228.53 DST=xx.xxx.xxx.xxx LEN=143 TOS=0x00 PREC=0x00 TTL=111 ID=...
4
votes
1answer
2k views

-bash: cd: HOME not set

Today when I logged into my server via SSH as I have for the past 6 months, I now receive this -bash: cd: HOME not set error message anytime I run a command that makes reference to the $HOME ...
4
votes
2answers
2k views

How to install and configure Rocket.chat using snap?

My system is Ubuntu 16.04 64-bit Desktop. I have found out this article: https://insights.ubuntu.com/2016/09/22/rocket-chat-a-new-snap-is-landing-on-your-nextcloud-box-and-beyond/ about hot to install ...
4
votes
1answer
4k views

rsync in crontab fails with mkstemp: no such file or directory

I am running the following command in my backup script: rsync -ravv user@serverprod:/home/user/sites/main_site/backup/*.zip /space/backup/main_site/ Crontab: PATH=/usr/local/sbin:/usr/local/bin:/...
4
votes
0answers
1k views

How to forward specific domain queries to different dns server using dnsmasq?

I want that all http requests on the browser be directed to my local apache server but direct some https queries like facebook.com to google's dns 8.8.8.8 using dnsmasq. I've already tried adding an ...
4
votes
0answers
358 views

/etc/skel doesn't work with xenial

We have a script which works perfectly with Xubuntu 14.04 and an Ubuntu Server with ldap : https://github.com/dane-lyon/clients-linux-scribe/blob/master/ubuntu-et-variantes-integrdom.sh We use /etc/...
4
votes
1answer
124 views

Network printer (Canon) on Ubuntu via remote USB port

I've been playing with cups a bit but I got completely lost. What I want to do is to be able to print from any machine (Window, Mac, or other) on my network via printer that is attached to my server. ...
4
votes
0answers
1k views

How to bind an application's port to a remote host with public IP?

I have redis server running on one server. By default it listens to port 6379. When I open the redis conf file I see something like this bind 127.0.0.1 Since my redis client resides on another ...
4
votes
1answer
138 views

Home Backup Server with Ubuntu - Drive Controller Configuration

I am planning a build for a personal backup server; building essentially a NAS that I would install backup utilities on. I want to run Ubuntu Server as the OS, and am hoping for around 5-6 individual ...
4
votes
3answers
556 views

Ubuntu Crashing Frequently

I am running a Ubuntu-14.04 x64 minimal. It has 64gb RAM, Hexa Core (3.2ghz) and some other stats, that are quite overpowered for my current usage (as i think). The system runs a mysql server and ...
4
votes
1answer
2k views

Moving From FreeNAS to Ubuntu Server

So I've just bought and installed an HP Proliant Microserver gen8 and upgraded it to 10GB RAM. I've installed FreeNAS onto a USB key (16GB) as recommended and FreeNAS is working well. Unfortunately, I ...

1
2 3 4 5
120