Forum / NoMachine for Linux / Cannot connect after remove graphical interface of server
- This topic has 5 replies, 2 voices, and was last updated 5 years, 5 months ago by Britgirl.
-
AuthorPosts
-
June 18, 2019 at 08:56 #22709mikesxfParticipant
I have a server which has installed Red Hat Enterprise Server 7.0 and I install GNOME. Then for some reason, I remove GNOME using yum groups remove GNOME. But when I try to reconnect it, it indeed connect successfully I think, but before I can see anything, it disconnect and report The connection with the server was lost. Error is 5: Input/Output error.
The remote server is redhat enterprise linux server 7.0, and it has no display screen and I think it is connecting to a virtual display.
June 19, 2019 at 08:48 #22717BritgirlKeymasterYou need a desktop environment installed in order to be able to use NoMachine. If you remove the Graphical Interface, NoMachine can’t run a graphical remote session.
As stated here: https://www.nomachine.com/DT02O00124
Software requirements
A desktop environment must already be installed. This applies also to headless Linux machines.If you don’t want to use Gnome, you can use KDE, LXDE, XFCE or another if you prefer.
June 20, 2019 at 13:07 #22728mikesxfParticipantBut at first, the redhat doesn’t have a Graphical Interface and when I try to connect it, NoMachine says it can’t detect display screen and will create a virtual one (some words like that, I’m sorry I can’t remember clearly).
After using for some time, I find that if I restart nx service, the applications I haved opened are closed (be killed?). I think it can be fixed by installing the real Graphical Interface like GNOME on server. But when I uninstall GNOME for some other reason, I meet the problem above. I just can’t get it back to the original condition.
So that’s the situation. Thanks for help!
I have read the guide you provide. I’m sorry I’m a newbie of redhat server. The owner of server tell me the OS doesn’t have a graphical interface. I’m confused now.
June 21, 2019 at 11:30 #22731BritgirlKeymasterIf NoMachine doesn’t find a local x server, NoMachine starts its own virtual display. If you restart the NoMachine service, the virtual display it just created is obviously terminated, hence you are disconnected.
To avoid this problem, you can either:
– make sure a graphical interface is installed
– or avoid restarting service
June 24, 2019 at 07:59 #22740mikesxfParticipantThank you for your reply. But I’m still a little confused.
Since NoMachine can start its own virtual display, does it mean that I can connect to server without GNOME etc?
Is it normal that if I restart service, the firefox, for example, I’m using will be closed without local x server?
June 28, 2019 at 09:22 #22801BritgirlKeymasterThe display server (or X server) is not the same thing as the desktop environment.
Whilst NoMachine can use its own display server (which is a virtual X server) if it doesn’t find one on the Linux host, it still needs a desktop environment to be able to show you a desktop, so it’s not advisable to uninstall the desktop environment (Gnome, in your case).
There’s a brief description of the difference between the display server and desktop environment: https://www.quora.com/What-is-the-difference-between-desktop-environment-Window-manager-and-display-server-in-GNU-Linux-OS
If you prefer a longer, more detailed read, the following could also be useful:
https://www.lifewire.com/window-manager-vs-the-desktop-environment-in-linux-4588338 -
AuthorPosts
This topic was marked as solved, you can't post.