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

link|improve this question
feedback

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

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

2 Answers

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.

link|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
feedback

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.)

link|improve this answer
feedback

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