This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Unable to use X session under cygwin 1.3.11-3 on NT 4.0 sp. 6
- From: Lionel Ains <lains at caramail dot com>
- To: cygwin-xfree at cygwin dot com
- Cc: dct-linuq at iquebec dot com
- Date: Tue, 02 Jul 2002 19:22:41 GMT+1
- Subject: Re: Unable to use X session under cygwin 1.3.11-3 on NT 4.0 sp. 6
Just to save some time, another quicker way to get your
account's details using mkpasswd is to use the -u switch
instead of applying grep on the output:
The command-line would then be:
mkpasswd -l > /etc/passwd
mkpasswd -d -u daniel >> /etc/passwd
Lionel
* From: <dct-linuq at iquebec dot com>
* To: <cygwin-xfree at cygwin dot com>
* Date: Thu, 27 Jun 2002 15:15:56 GMT
* Subject: Re: Unable to use X session under cygwin 1.3.11-3
on NT 4.0 sp. 6
To redefine users see the thread this month :
-> xterm fails to start with "setuid failed:
Permission denied"
and the mkpasswd command. Basically what it does it
to make a new password file with users and network
information. Cygwin uses it for the login.
Attention!!! Watch for big network, the file could
end up very long. Here is what I did :
mkpasswd -l > /etc/passwd
mkpasswd -d | grep "daniel" >> /etc/passwd
(I knew my login name to be daniel)
And voila, I am now daniel@mymachine and no longuer
Administrateur@mymachine. And the best of it xterm
now works (after some tweeking, read on).
_________________________________________________________
Envoyez des messages musicaux sur le portable de vos amis
http://mobile.lycos.fr/mobile/local/sms_musicaux/