This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to start Xterm


Hi, 

Thanks for pointing out that I dont have write access to the log file. I
sort of guessed that from the error message but since the log file was
present I assumed that was mine. Anyways in the bash window i tried 

mkpasswd -l > /etc/passwd
mkgroup  -l > /etc/group

still Xterm wouldnt start. So I tried the next step as you have
suggested. Here is the output.

$ id
uid=1008(senthil) gid=513(None) groups=513(None),545(Users)

$ ls -ld /tmp /tmp/.X11-unix
drwxrwx---+   3 Srilatha Users           0 May 26 11:00 /tmp
drwxrwxrwt+   2 Srilatha None            0 Apr 24 16:15 /tmp/.X11-unix

$ mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type
system (binmo
de)
C:\cygwin\bin on /usr/bin type user (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type user (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type user (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)

Thank You 

Senthil

>>> alexander.gottwald@s1999.tu-chemnitz.de 05/26/04 11:32 AM >>>
On Wed, 26 May 2004, Senthil Ramamurthy wrote:

> Hi,
> 
> My cygwin.bat reads 
> 
> @echo off
> 
> C:
> chdir C:\cygwin\bin
> 
> bash --login -i /usr/X11R6/bin/startxwin.sh 
> 
> I'm a newbie and I have very little idea on what is going on. My X
> window output is 
> 
> Your group is currently "mkpasswd".  This indicates that
> the /etc/passwd (and possibly /etc/group) files should be rebuilt.
> See the man pages for mkpasswd and mkgroup then, for example, run
> mkpasswd -l [-d] > /etc/passwd
> mkgroup  -l [-d] > /etc/group
> Note that the -d switch is necessary for domain users.
> rm: cannot unlink `/tmp/.X11-unix/X0': Permission denied
> rm: cannot remove directory `/tmp/.X11-unix': Permission denied

Is the computer used by other users too?

please try  in bash window:
mkpasswd -l > /etc/passwd
mkgroup  -l > /etc/group

does it work now?

else do in bash window and send the output: 
id
ls -ld /tmp /tmp/.X11-unix
mount 

> Fatal server error:
> Cannot open log file "/tmp/XWin.log"

The logfile you sent is not from your session. You do not have write 
access to /tmp so the old logfile was not overwritten.

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]