Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With this config file


Styles {
    emacs maximize

I'm getting the following error

D:\programs\Xming\Xming.exe :0 -clipboard -multiwindow 

XdmcpRegisterConnection: newAddress
winPrefsLoadPreferences: C:\Documents and Settings\root/Xmingrc
LoadPreferences: syntax error, unexpected STRING line 3

I've tried many different variations in capitalization, blank lines, command ordering and removing silentexit but to no avail. Otherwise, Xming works; loading emacs is not a problem (except that I have to maximize the screen manually).

I'm actually looking for two things:

  1. what's wrong with this file
  2. a more detailed explanation on configuring Xmingrc files

WRT item 2 for example, the man page for xmingrc gives the following format for styles:

    Class|Name Group1 Group2

but gives no indication as to what a Class is and only infers a Name with an example.

share|improve this question

I believe the Styles keyword was introduced after the latest public domain release (6.9.something). I had the same problem and didn't realize that I have to donate to get the latest version.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.