Popular Posts

Change TeamViewer Client ID on Cloned Linux machine

2:40 PM 18 Comments A+ a-

If you have remastered Linux with included TeamViewer or if you cloned your Linux distribution and all programs and setting you will be faced with problem that all your cloned, preinstalled machines will have the same ClientID number.

You can solve this easily by removing teamviewer settings.
Open terminal and enter this command: rm -r ~/.teamviewer

It will delete all teamviewer setting , but they will be back after you start teamviewer, and there will be new ClientID. Sometimes you must wait several minutes to gain new ID number and password.

UPDATE: On TeamViewer 9, and probably 8 as well, stop the teamviewer daemon, remove the /opt/teamviewer9/config directory and restart the daemon.

Openfire chat server Out of memory problem

8:00 AM 14 Comments A+ a-

If your Openfire chat server stops after few days and says "Out of memory" you have several thing to do, some of them solved problem, but if you do it all and update Openfire it should stop showing error.
1. Add system property: cache.username2roster.maxLifetime = 419430400
2. Add system property: xmpp.pep.enabled = false
3. You can increase memory for Java. Add a line like this in file /etc/sysconfig/openfire : OPENFIRE_OPTS="-Xms256m -Xmx512m"
You can increase memory as much as you can, so if you have 2GB of memory you can set: OPENFIRE_OPTS="-Xms512m -Xmx1024m" .
Also you can do this by sending parameter to openfire.You must first find the command that starts Java and add this command line parameter: -Xmx<size>
For example, use -Xmx256m to let Java use 256 MB of memory. The full command might be something like /path/to/java -Xmx256m -jar openfire.jar

That should solve your issue with low memory in Java Openfire Jabber chat server.