When you run xterm, an error occurs as follows:
xterm Xt error: Can’t open display:
xterm: DISPLAY is not set
My system CENTOS6.2
Solutions:
1. First, make sure you have x11: yum-y install xorg-x11-xauth
2. Secondly, modify the configuration file: /etc/ssh/sshd_config
3. Restart
xterm Xt error: Can’t open display:
xterm: DISPLAY is not set
My system CENTOS6.2
Solutions:
1. First, make sure you have x11: yum-y install xorg-x11-xauth
2. Secondly, modify the configuration file: /etc/ssh/sshd_config
AllowTcpForwarding yes
X11Forwarding yes
ForwardX11 yes or (ForwardX11 trusted)
3. Restart
Read More:
- How to open X Display on the server side (locally operable remote interface)
- [Linux] [Ubuntu] Error opening terminal: xterm-256color
- [Solved] Debian Error: Error opening terminal: xterm
- Set the cursor of Ubuntu terminal to turn on automatic display
- [Solved] TclError: couldn‘t connect to display “localhost:11.0“
- How to Enable X11-forwarding with MobaXterm
- Vmware virtual Mechine connect VScode Error: channel 3: open failed: administratively prohibited: open failed
- How to fix the ERROR: Failed to build gem native extension in Centos 8
- How to Fix No default.conf file in conf.d after Installing Nginx
- How to set fixed IP address for Raspberry Pie
- linux(aarch64): How to Fix kettle Startup Error Issue
- The semget function error: errno is set to 28 [How to Solve]
- Linux: How to Fix undefined reference to `itoa’
- [Solved] zookeeper Cluster error: Error: JAVA_HOME is not set and java could not be found in PATH.
- [Realtek sdk-4.4.1] RTL8198D How to Fix pptp/l2tp HW checksum error issue
- How to Fix error 28 from storage engine
- How to Fix Linux sub process /usr/bin/dpkg returned an error code (1)
- How to Fix Ubuntu(Linux) mount error(22)
- Petalinux Failed to open PetaLinux lib: librdi_commonxillic.so: cannot open shared object file:
- [Solved] Your requirements could not be resolved to an installable set of packages.