NOTE: Replace the "NON_ROOT_USER" string with the correct userid % xauth add $(xauth -f ~NON_ROOT_USER/.Xauthority list | tail -1) Since root login is disallowed by default (PermitRootLogin No"), administrators should examine their security policies to ensure this is an appropriate solution.ħ) Add the $NON_ROOT_USER credentials to root user /.Xauthority IMPORTANT: IBM does not recommend this method: The following work around is only provided as a solution to certain customers' unique situations. The xauth credentials for this DISPLAY were established for $NON_ROOT_USER and must be shared with root. Typical Error: "X11 connection rejected because of wrong authentication " ![]() This is not the same userid which connected to, and established credentials for localhost:10.ĥ) Now, export the DISPLAY to the previously established secure X11 forwarding session NOTE: The default DISPLAY number is 10 (See/etc/ssh/sshd_config #X11DisplayOffset 10) but this number may be different if multiple connections are established. If the X11 forwarding is successful, the DISPLAY will be set % ssh -X NON_ROOT_USER is the non-root-userid (This can be through PUTTY, or various Xemulators which connect through ssh) % cp /etc/ssh/sshd_config /etc/ssh/sshd_config.saveĢ) Connect to the AIX Server from a remote PC, or other Linux/Unix system with an Xserver running. The following instructions explain typical scenarios and provide resolution steps. ![]() ![]() Provide an explanation of errors and work around Users of SSH X11 Forwarding who su - to become root
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |