I have been trying to install teamviewer on RHEL 6 machine. The installation went fine. When I try to run teamviewer, it terminates immediately after showing the GUI. I went to /var/log/teamviewer/TeamViewer9_Logfile.log and the last two lines of the log file says:
S0! INotify: unable to add watch for /tmp/.X11-unix S0!! XSocketSessionObserver: caught exception 'add-watch' 2 Errorcode=2
I am not sure why INotify is unable to add watch for /tmp/.X11-unix. This file/directory does not exist, could that be the reason? In that case, how this gets created?