Search This Blog

Showing posts with label redhat. Show all posts
Showing posts with label redhat. Show all posts

Install Chinese input method on Rocky Linux

  1. sudo yum install @input-methods
  2. sudo yum install -y ibus-libpinyin
  3. Open Settings, then Keyboard, in Input sources section, click + button, click Chinese(China), select Chinese(Intelligent Pinyin), click Add button.

Redhat/CentOS: X11 forwarding request failed on channel 0

Was trying to forward xdisplay back to local computer from the remote a Redhat 6.5 server via SSH,
ssh -X user@remote-redhat-server
xterm
got the following error:
X11 forwarding request failed on channel 0

Solution:

  • Login the remote Redhat server via ssh:
    ssh user@remote-redhat-server
  • Enable X11 forwarding in /etc/ssh/sshd_config:
    sudo vi /etc/ssh/sshd_config
    X11Forwarding yes
    X11UseLocalhost no
  • Install xauthroity:
    sudo yum install xauth
  • Important: Reload ssh server:
    sudo /etc/init.d/ssh reload