Y
Y
Yuri2021-10-11 22:00:48
linux
Yuri, 2021-10-11 22:00:48

How to fix Ubuntu?

Background: I took a server, installed Ubuntu 20.04 there, then installed the minimal graphical shell xсfe4 on it, then installed apache2, php7.4, xrdp

Problem: A day after normal work and without my intervention, I went to the server using windows rdp (login and password were automatically entered) and wanted to turn on the terminal emulator, but it just closed stupidly, then I thought that it was stupid and installed another emulator with the help of synaptic, but it also closed and so did everyone else, but some still asked "do you seriously want to exit?". But for some reason, the htop utility from the shortcut was quietly launched in the same emulator. After this crap, I went to VNC to log into the system from it and a standard login window appeared there, and after entering the data, I caught the login loop (not one advice on solving it on the Internet helped), after that I tried to call the terminal using ctrl shift 1-6 and enter at least it, but even here there was a crap in the fact that when trying to enter, it was just as stupidly closed and asked to re-enter the data, it is strange that only tty6 was opened, and it simply did not react to the rest of the numbers. By the way, using the same termius, I couldn’t connect to the server and I just got a connection error and the server itself works quietly, the bot for VK also works from it and you can easily go to its ip on the internet followed by OK
Well, after this nonsense, I reinstalled several times, changed configurations, left it clean, installed something, but this error always occurs or what it is in general

. it's not just one mistake, but many small ones?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
K
ky0, 2021-10-11
@urec-borec

The first mistake is to put windows. Everything else has evolved from this. Put naked ubuntu, apache-figachi, whatever you need - but do not force the server with dances with window managers, rdp, vnc and other things that are completely unnecessary for it.

C
CityCat4, 2021-10-12
@CityCat4

put a minimal graphical shell xсfe4 on it

What for?
VPS administration as a web server without any problems is done through the usual command line - ssh with access by key without entering a password and with an IP limit - and voila.
Why fence some gardens? Uncomfortable in the console - well, put webmin. Why this fuck with graphics, which is then pushed through VNC / RDP ...

D
Drno, 2021-10-11
@Drno

Personally, my config, how I use graph table when necessary
I put debian \ ubuntu minimal
I put LXDE
I put tightvnc server and use :99 desktop (yes, it's so convenient for me)
I put VNC server in autoload I
connect only via VNC to the server, without any xRDP and this Muti (it suits me) I
open the necessary incoming in the firewall, the rest I close everything. Access to ssh and VNC only from my external IP. firewall - iptables

M
meDveD_spb, 2021-10-11
@meDveD_spb

xorgxrdp was installed too?

J
justhostRU, 2021-10-13
@justhostRU

> wanted to turn on the terminal emulator, but it just stupidly closed
hundreds of them. which one? is there a free space?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question