title: Why am I getting this error when trying to open a file with DDD?
body: <p><strong>Debugger: DDD.</strong></p>
  
  <p><strong>64-bit Ubuntu Precise Pangolin system.</strong></p>
  
  <p>Whenever I try to open a very simple C program in ddd I get the following error:</p>
  
  <pre><code>Warning: This program is an suid-root program or is being run by the root user.
  The full text of the error or warning message cannot be safely formatted
  in this environment. You may get a more descriptive message by running the
  program as a non-root user or by removing the suid bit on the executable.
  Warning: Cannot convert string "%s" to type %s
  Warning: Could not load font "-*-lucidatypewriter-medium-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
  Warning: Could not load font "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
  Warning: Could not load font "-*-lucidatypewriter-bold-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
  Warning: XmStringGetNextComponent: unknown type 26933216
  
  Warning: XmStringGetNextComponent: unknown type 26664160
  
  Warning: XmStringGetNextComponent: unknown type 26721536
  
  Warning: XmStringGetNextComponent: unknown type 27713552
  
  Warning: XmStringGetNextComponent: unknown type 26719456
  
  Warning: XmStringGetNextComponent: unknown type 26994752
  
  Warning: XmStringGetNextComponent: unknown type 27761616
  </code></pre>
  
  <p>Also, ddd opens up fine after all these errors get displayed on the terminal, but without the source file I want to debug. I can't find an solution to this online! Thanks. </p>
  
  <p>EDIT:</p>
  
  <p>I get the above error when running as root. I get the following when running as a normal user:</p>
  
  <pre><code>Warning: Cannot convert string "-*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso8859-*" to type FontStruct
  Warning: Cannot convert string "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
  Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
  Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
  Warning: Cannot convert string "-*-helvetica-medium-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
  Warning: Cannot convert string "-*-helvetica-bold-*-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
  Warning: Cannot convert string "-*-helvetica-bold-r-*-*-*-180-*-*-*-*-iso8859-*" to type FontStruct
  Warning: Cannot convert string "-*-symbol-*-*-*-*-*-120-*-*-*-*-adobe-*" to type FontStruct
  Warning: Could not load font "-*-lucidatypewriter-medium-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
  Warning: Could not load font "-*-lucidatypewriter-medium-r-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
  Warning: Could not load font "-*-lucidatypewriter-bold-*-*-*-*-120-*-*-*-*-iso8859-*", using font "fixed" instead
  Warning: XmStringGetNextComponent: unknown type 27122480
  
  Warning: XmStringGetNextComponent: unknown type 27125120
  
  Warning: XmStringGetNextComponent: unknown type 27119296
  
  Warning: XmStringGetNextComponent: unknown type 27109856
  
  Warning: XmStringGetNextComponent: unknown type 27150160
  
  Warning: XmStringGetNextComponent: unknown type 27132208
  </code></pre>