Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure remote Desktop with Redhat Linux

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how Redhat Linux configures remote desktops. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

*** Step, modify the/etc/X11/xdm/Xaccess file to find the following statement:

# * #any host can get a login window

Remove the first #and become

* #any host can get a login window

Next, modify the/etc/X11/gdm/gdm.conf file to find the following statement:

[xdmcp] This node

And then the next one of them.

Enable=false

Change to Enable=true or Enable=1.

Find the following lines:

Port=177

Make sure the line is not commented out. Because port 177 is the listening port for the xdmcp service we are configuring.

Step 3, modify the/etc/inittab file to change the following statement

id:3:initdefault:

amend to read as follows

id:5:initdefault

If it is id:5:initdefault: , don't change it. This is to ensure that the system boots from the desktop environment.

At the same time, find the following text in the file (usually in the *** line),

x:5 :respawn /etc/X11/prefdm -nodaemon

Change it to

x:5:respawn:/usr/bin/gdm

Step 4: Modify the *** line in/etc/X11/xdm/xdm-config to

displayManager.requestPort:0

Add at the beginning of this line! No. becomes as follows:

! displayManager.requestPort:0

*** If our Linux machine is configured with a firewall, to prevent the firewall from filtering data passing through port 177 (i.e. xdmcp service), we must add the following rule (execute the following statement under root user):

iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 177 -j ACCEPT

Thank you for reading! About "Redhat Linux how to configure remote desktop" This article is shared here, I hope the above content can have some help for everyone, so that everyone can learn more knowledge, if you think the article is good, you can share it to let more people see it!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report