From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18038 invoked by alias); 24 Nov 2003 08:10:50 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 18031 invoked from network); 24 Nov 2003 08:10:49 -0000 Received: from unknown (HELO smtpout.juntadeandalucia.es) (194.224.161.14) by sources.redhat.com with SMTP; 24 Nov 2003 08:10:49 -0000 Received: from guadix2.juntadeandalucia.es ([10.240.216.8]) by smtpout.juntadeandalucia.es (8.11.6/8.11.6) with ESMTP id hAO893d22160 for ; Mon, 24 Nov 2003 09:09:03 +0100 Received: from triana1 (root@localhost) by guadix2.juntadeandalucia.es (8.11.6/8.11.6) with SMTP id hAO892f10495 for ; Mon, 24 Nov 2003 09:09:02 +0100 Received: from juntadeandalucia.es ([10.240.216.42]) by mail.juntadeandalucia.es (8.11.6/8.11.6) with ESMTP id hAO891310392 for ; Mon, 24 Nov 2003 09:09:01 +0100 Received: (qmail 21978 invoked from network); 24 Nov 2003 08:04:33 -0000 Received: from unknown (HELO juntadeandalucia.es) (hans.dekker.ext@[10.240.0.235]) (envelope-sender ) by smtpin01.juntadeandalucia.es (qmail-ldap-1.03) with SMTP for ; 24 Nov 2003 08:04:31 -0000 Message-ID: <3FC1BBC5.3020903@juntadeandalucia.es> Date: Mon, 24 Nov 2003 08:10:00 -0000 From: Hans Dekker Reply-To: hans.dekker.ext@juntadeandalucia.es Organization: Junta de Andalucia User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-es, es MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: Cygwin XFree86 startx Problem References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,MAILTO_TO_SPAM_ADDR,NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02,USER_AGENT,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.43 X-Spam-Level: X-SW-Source: 2003-11/txt/msg00386.txt.bz2 List-Id: Hi, Don't know if I am answering to the right question/ problem, but I see some referrals to passwd, username etc. To get to login to a Unix box with X you can use the following script, after starting X and getting into the xterm box of your local machine: > xhost + > /dev/null > export IPADDR=`ipconfig | grep Address | grep "10\." | cut -f 2 -d ":" | cut -f 2 -d " "` > rsh -l ${USERNAME} "export DISPLAY=\"${IPADDR}:0.0\";cd $HOME; xterm" Use a modified startxwin.bat like: > start XWin -multiwindow > xterm -T "your app initialisation screen" -e Note that the bash shell copies the MS-Windows environment to it as you start it. That's the referral to ${USERNAME}. We have the same usernames for the MS-Windows environment as well as the Unix box logging in to. You can fill out your username on the remote Unix box as needed. The string Address is what grep looks for in the output of ipconfig. Maybe different in your locale. Check ipconfig output in your bash box. 10\. is part of our IP-address range in the Unix/ Windows network. It's useful to scan your IP adresses when you have more than 1 NIC or more than 1 IP-address. In case you have a $HOME on the remote machine with spaces in it try cd \"${HOME}\" in the script. Regards, Hans. Igor Pechtchanski escribió: > Robert, > > Sorry, but no. Cygwin doesn't care about the Windows username, it looks > in /etc/passwd. If you change the name of the Windows account, you'd have > to regenerate the appropriate entry in /etc/passwd anyway, so why not just > eliminate the middle step and change /etc/passwd directly? Simply remove > the spaces from the username and the home directory in /etc/passwd (and > make sure you rename the directory itself), and it should be fine. > Igor > > On Fri, 21 Nov 2003, Robert McNulty Junior wrote: > > >>I think these names with spaces come from when they originally set up >>Windows NT, 2000, XP, Server 2000 with thier full name when asked create >>users in NT, 2000, XP or 2003 Server. >>Correct this by going into the Windows Users' account setup in Control >>Panel, and create a user without the spaces in the name. >>Chan, use chansengloong as your new user name. Must be done in administrater >>mode. >>Over all effect will be a new account under Cygwin though windows. >> >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Andrew Markebo >>Sent: Friday, November 21, 2003 10:35 PM >>To: cygwin-xfree@cygwin.com >>Subject: Re: Cygwin XFree86 startx Problem >> >> >>/ Chan Seng Loong wrote: >>|[...] >>| $ startx >>| + userclientrc=/home/Chan Seng Loong/.xinitrc >>| + userserverrc=/home/Chan Seng Loong/.xserverrc >> >>just a wild thought, homedir with space in it, try without.. edit >>/etc/passwd. >> >> /A >> >>-- >> Democracy is two hungry wolves and one sheep discussing what's for >>dinner. Liberty is a well-armed sheep willing to contest the decision. >> >> >> > >