WebSphere Issues

06/02/2014

Remote X11 display on AIX

Filed under: AIX, Linux — Tags: , , — Ishtiaque @ 1:29 pm

1. Install xmin on your PC.

2.  On the AIX check, that ssh X11 forwarding requests are allowed:

# grep X11Forwarding /etc/ssh/sshd_config
X11Forwarding yes

3. If it’s necessary, change the value and restart the ssh service. You can do it while you’re logged in, your current ssh session will not be dropped. Keep in mind, that the ssh X11 forwarding will apply only to new ssh sessions, that are opened with X forwarding.
stopsrc –s sshd; sleep 2; startsrc –s sshd

4. Now set the X11 forwarding on your workstation. If you have an command line ssh client e.g. as part of Cygwin, run ssh -X <server_ip> to log in. If you use Putty, check that X11 forwarding is set for your session (i.e and don’t forget to save the change. For other ssh clients check a documentation (or browse through all the session settings, as pros do….)

Click, Connection > SSH > X11 in putty, then “Enable X11 forwarding” and “x display location = localhost:0”

5. After you log in, check the DISPLAY and authentification value. If it is as on an example below, run xclock and enjoy.
# echo $DISPLAY
DISPLAY=localhost:10
# xauth list
server/unix:10 MIT-MAGIC-COOKIE-1 6299564796e4cf089e38619a354cfdcc

Advertisements

Blog at WordPress.com.

%d bloggers like this: