F5F Stay Refreshed Software Operating Systems Establishing a link to your Minecraft server on CentOS 8 is possible!

Establishing a link to your Minecraft server on CentOS 8 is possible!

Establishing a link to your Minecraft server on CentOS 8 is possible!

Pages (3): 1 2 3 Next
D
dsmiller95
Junior Member
21
02-03-2026, 06:09 AM
#1
I faced some difficulties connecting after setting up CentOS on my old laptop. I tried the installation guide for CentOS 8, the Minecraft server setup instructions, and then redirected port 25565. Since I’m using a no-GUI version and didn’t install Screen, I encountered the same issue as someone else: authorization failed. I checked if the polkit agent was running or if I needed to run as superuser. Despite being new to Linux, I’ve managed to host a Minecraft server before, so I’m hoping you can help me resolve this.
D
dsmiller95
02-03-2026, 06:09 AM #1

I faced some difficulties connecting after setting up CentOS on my old laptop. I tried the installation guide for CentOS 8, the Minecraft server setup instructions, and then redirected port 25565. Since I’m using a no-GUI version and didn’t install Screen, I encountered the same issue as someone else: authorization failed. I checked if the polkit agent was running or if I needed to run as superuser. Despite being new to Linux, I’ve managed to host a Minecraft server before, so I’m hoping you can help me resolve this.

J
Jarzzermann
Posting Freak
788
02-03-2026, 08:15 AM
#2
Screen operates via the command line without needing a graphical display. It lets you execute commands, such as those in an SSH connection, and remain detached so the process keeps running after disconnection. Have you verified if the necessary ports are accessible through the firewall on your CentOS 8 system? Running "sudo iptables -vL" will show whether a firewall is active and which ports are permitted. Could you provide more information about the commands you've used and the outcome you observed?
J
Jarzzermann
02-03-2026, 08:15 AM #2

Screen operates via the command line without needing a graphical display. It lets you execute commands, such as those in an SSH connection, and remain detached so the process keeps running after disconnection. Have you verified if the necessary ports are accessible through the firewall on your CentOS 8 system? Running "sudo iptables -vL" will show whether a firewall is active and which ports are permitted. Could you provide more information about the commands you've used and the outcome you observed?

P
PowerzV2
Member
81
02-09-2026, 11:38 AM
#3
Search results indicate Screen is available in the EPEL repository but isn’t enabled by default. This adjustment applies to RHEL/CENTOS 8; the instructions provided are no longer valid for CENTOS 7. To activate it, run dnf install epel-release -Y followed by dnf install screen -Y.
P
PowerzV2
02-09-2026, 11:38 AM #3

Search results indicate Screen is available in the EPEL repository but isn’t enabled by default. This adjustment applies to RHEL/CENTOS 8; the instructions provided are no longer valid for CENTOS 7. To activate it, run dnf install epel-release -Y followed by dnf install screen -Y.

W
wiped_out
Member
208
02-17-2026, 06:09 AM
#4
Reviewed ports? No idea. The command gave three text segments; Chain INPUT (policy ACCEPT 20026 packets, 40M bytes) pkts vytes target prot opt in out source same thing repeats twice, except with: ... FORWARD ... 0 ... 0 & ... OUTPUT ... 5039 ... 395K I attempted the suggested solution, but firewall issues caused the error.
W
wiped_out
02-17-2026, 06:09 AM #4

Reviewed ports? No idea. The command gave three text segments; Chain INPUT (policy ACCEPT 20026 packets, 40M bytes) pkts vytes target prot opt in out source same thing repeats twice, except with: ... FORWARD ... 0 ... 0 & ... OUTPUT ... 5039 ... 395K I attempted the suggested solution, but firewall issues caused the error.

X
xXPebbleGirlXx
Junior Member
6
02-21-2026, 08:52 PM
#5
It appears you're seeing an error because the script requires elevated permissions, yet you're running it with a standard user account. The admin username should appear at the end of the command prompt.
X
xXPebbleGirlXx
02-21-2026, 08:52 PM #5

It appears you're seeing an error because the script requires elevated permissions, yet you're running it with a standard user account. The admin username should appear at the end of the command prompt.

D
Dylanhtx
Member
156
02-22-2026, 01:41 PM
#6
Install EPEL first, then add Screen using the appropriate flags. Skipping the -Y will let the download proceed silently.
D
Dylanhtx
02-22-2026, 01:41 PM #6

Install EPEL first, then add Screen using the appropriate flags. Skipping the -Y will let the download proceed silently.

D
Deneth_
Member
175
02-24-2026, 01:52 PM
#7
Indicates the default policy for new network connections is "ACCEPT," meaning no firewall is set up for incoming traffic. This suggests the firewall isn't blocking connections and likely not the cause of your problems. Follow the instructions to install screen as instructed by @Master Disaster, then restart the Minecraft server. After it's running, use "netstat -tulpen" to check if it's listening on any ports. If it is, you should be able to connect to it.
D
Deneth_
02-24-2026, 01:52 PM #7

Indicates the default policy for new network connections is "ACCEPT," meaning no firewall is set up for incoming traffic. This suggests the firewall isn't blocking connections and likely not the cause of your problems. Follow the instructions to install screen as instructed by @Master Disaster, then restart the Minecraft server. After it's running, use "netstat -tulpen" to check if it's listening on any ports. If it is, you should be able to connect to it.

G
grisou47
Member
133
02-24-2026, 06:01 PM
#8
Function executed successfully! The display is now active.
G
grisou47
02-24-2026, 06:01 PM #8

Function executed successfully! The display is now active.

E
EpicExplosion
Member
129
02-25-2026, 02:20 AM
#9
Screen is active. I checked netstat -tulpen and found a line with 25565 in the port column. That’s the Minecraft port you’re trying to reach.
E
EpicExplosion
02-25-2026, 02:20 AM #9

Screen is active. I checked netstat -tulpen and found a line with 25565 in the port column. That’s the Minecraft port you’re trying to reach.

T
tomtom77
Junior Member
2
02-25-2026, 09:47 AM
#10
Do you have an internal or external connection? Was the port passed to your router's firewall?
T
tomtom77
02-25-2026, 09:47 AM #10

Do you have an internal or external connection? Was the port passed to your router's firewall?

Pages (3): 1 2 3 Next