Monday, December 28, 2015

Xming and Putty confirguration for X11


Install Xming Server:

 http://www.astro.yale.edu/astr255/xming-install/xming-install.html

Install Putty:


















Install X11 packages on  Linux:


root> yum install xauth



root>yum install xorg-x11-apps.x86_64


Logout of the Root user and Log back in.

Login to Root User:


/usr/bin/xauth:  creating new authority file /root/.Xauthority


root>xclock

Error: Can't open display: 0:0

make sure there are not DISPLAY  variables set.

root> xclock

It should work now.


Setup X11 for other users:

root> cp .Xauthority  /home/oracle/

root> su - oracle
oracle> ls -lart
oracle> chmod 777 .Xauthority
oracle>xclock


It should work now.

NOTE:  We have to do this everytime we login.


OR

If you logging in from a personal account

 2. If you login to unix with your personal account Ex; cgouni

 cgouni> ls -lart
 cgouni> chmod 777 .Xauthority
 cgouni> sudo su  - oracle
 oracle> export XAUTHORTY=/home/cgouni/.Xauthority
 oracel> xclock










No comments:

Post a Comment