Hostname Change

In doing RAC Workshop, we use VMware to create a server named “rac1″ and then copy all the files as to another server “rac2″. The two servers are the same just after the copy process, including all the IP setting and hostname. We need to change the 2nd server with different hostname.
Change the hostname on [...]

xhost setting problem for local users

$su – oracle
$env | grep DISPLAY
DISPLAY=:0.0
$xclock
Xlib: connection to “:0.0″ refused by server
Xlib: No protocol specified
Error: Can’t open display: :0.0
The problem is that the local users were not authorized to access control on xhost. To solve this problem, you need to make the authorization using “root”.
[root@localhost]# xhost
access control enabled, only authorized clients can connect
[root@localhost]# xhost +oracle
xhost:   [...]