Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed windows xp on VPC and have installed cygwin-x on that virtual machine.

When i run startx command. I get the following error:

xauth: creating new authority file /home/Administrator/.serverauth.1480

xauth: unable to link authority file /home/Administrator/.serverauth.1480, use /home/Administrator/.serverauth.1480-n

xauth: creating new authority file /home/Administrator/.Xauthority

xauth: creating new authority file /home/Administrator/.Xauthority

xauth: unable to link authority file /home/Administrator/.Xauthority, use /home /Administrator/.Xauthority-n

xauth: creating new authority file /home/Administrator/.Xauthority

xauth: creating new authority file /home/Administrator/.Xauthority

xauth: unable to link authority file /home/Administrator/.Xauthority, use /home /Administrator/.Xauthority-n

giving up. xinit: No such file or directory (errno 2): unable to connect to X server

xinit: No such process (errno 3): Server error.

xauth: creating new authority file /home/Administrator/.Xauthority

share|improve this question

closed as off topic by sysadmin1138 Sep 4 '11 at 2:23

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

Does the user ID under which you are executing startx have permission to create files in /home/Administrator? Does it have permission to delete existing .Xauthority*, .serverauth* files?

If you can't create the .Xauthority and .servauth files, the X Server will not be able to determine client access and will not start properly, as you're seeing.

share|improve this answer
    
I am in windows Administrator by default I assume I have permission to read write files. Do I need to set up permission explicitly from cygwin? –  Sandeep Apr 6 '10 at 9:52
    
Try creating and deleting files in the directory. Do .Xauthority .serverauth files already exist? –  mpez0 Apr 6 '10 at 13:48

Use this command instead. "startx -- -nolock". Read this for a why. http://x.cygwin.com/docs/faq/cygwin-x-faq.html (search for "startx -- -nolock" to read the appropriate section.)

share|improve this answer

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