Why does TCM crash with “X Error of failed request\?
When you get a message like X Error of failed request: BadAlloc (insufficient resources for operation) etc., then this is probably caused by a lack of memory on your X server for the pixmap of the drawing area. The drawing area is implemented as a large X color pixmap, which consumes a lot of memory. The default pixmap is about 1300 by 1300 pixels. That is enough to draw a document on one A3 or two A4 pages. You can create a larger or smaller drawing area by starting the editor with the command line option -drawing “width”x”height” or by changing the initial drawing area size in View menu of the TCM start-up tool. For instance, you can start TGD with tgd -drawing 800×600 which gives a drawing area that is 800 pixels wide and 600 pixels high. If you want to have this initial size permanently you can set the options DrawingWidth and DrawingHeight in TCM_CONFIG/tcm.conf or $HOME/.tcmrc.
Related Questions
- Why do remote programs crash with X Error of failed request: BadAtom? Why do remote programs exit when you try to copy and paste?
- I get an ".X Error of failed request: BadAtom (invalid Atom parameter)" executing InstallBuilder. What can I do?
- Why do remote programs crash with X Error of failed request: BadAtom?