Re: Cygwin/xFree from 2 users
On Thu, 4 Mar 2004, Jim Scheef wrote: > Alexander and all, > > I guess I wasn't clear. I'm sitting at my notebook looking at the XP login > screen. If I log in using [EMAIL PROTECTED], Xwin works fine, but fails to start > when I log on using [EMAIL PROTECTED] The machine and the Cygwin/Xfree > installation are one and the same in both cases. I use the same username (js) > in both cases for convenience and I was hoping that this would make it easy > to use the same Cygwin home directory (/home/js) for both logins. How can I > make this work? There may be problems with access restrictions in some directories. does /tmp/Xwin.log print some errors? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004 http://www.tu-chemnitz.de/linux/tag
Re: Cygwin/xFree from 2 users
Jim Scheef wrote: Alexander and all, I guess I wasn't clear. I'm sitting at my notebook looking at the XP login screen. If I log in using [EMAIL PROTECTED], Xwin works fine, but fails to start when I log on using [EMAIL PROTECTED] The machine and the Cygwin/Xfree installation are one and the same in both cases. I use the same username (js) in both cases for convenience and I was hoping that this would make it easy to use the same Cygwin home directory (/home/js) for both logins. How can I make this work? Jim, Are you doing the "fast user switching" where both users are logged in at the same time? Or, can only one of your "js" users be logged in at a time and you are experiencing the failure at that time? The home directory question is generic to Cygwin, not related to Cygwin/X at all. I'll give you a start though: you need to edit Cygwin's /etc/passwd and change the home directory for the two different users (user id names do not identify a user to Windows; instead, the SID identifies the user, you should see two 'js' users listed in passwd). You might also need to check the permissions on /home/js before doing this to ensure that both users will be able to write to it. Again, that is a generic Cygwin/Windows question that should be looked into elsewhere if you need more help. Harold
Re: Cygwin/xFree from 2 users
Alexander and all, I guess I wasn't clear. I'm sitting at my notebook looking at the XP login screen. If I log in using [EMAIL PROTECTED], Xwin works fine, but fails to start when I log on using [EMAIL PROTECTED] The machine and the Cygwin/Xfree installation are one and the same in both cases. I use the same username (js) in both cases for convenience and I was hoping that this would make it easy to use the same Cygwin home directory (/home/js) for both logins. How can I make this work? Jim --- Alexander Gottwald <[EMAIL PROTECTED]> wrote: > On Mon, 1 Mar 2004, Jim Scheef wrote: > > > Hello. > > > > I use a notebook computer so I can carry my computing environment around. > > This is WinXP and current versions of Cygwin and xFree as of a few weeks > ago. > > > > I have several user 'accounts' that belong to various domains. Most of > these > > accounts are 'js', as in [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], > etc. > > I want all of these to use the same Cygwin home directory. > > > > Cygwin and X were installed from [EMAIL PROTECTED] When I'm not connected > to a > > network, I use [EMAIL PROTECTED] Cygwin seems to work with both user > accounts > > but X will not start from [EMAIL PROTECTED] The attached xwin.log came from > > running xinit. Trying to start kde gives an error that there is no write > > access to .ICEauthority. I believe the X problem is related to > permissions > > within /home/js. > > > > I have tried to set up permissions for both user accounts on /home/js but > I > > can't seem to make them stick. > > > > What permissions are needed? What file permissions are critical, which > mearly > > convenient? Does the setup process replace the permissions on the user's > home > > directory? How can Cygwin and X be configured for multiple users on a > > machine? and the big question - how can I configure Cygwin and X so that > I > > can use the same /home/js directory from multiple 'js' accounts? > > You can not start two xservers with the same display number (which is in > fact the > TCP/IP port used). Start the second with an additional parameter ":1". eg > XWin :1 > or xinit -- :1 > > bye > ago > -- > [EMAIL PROTECTED] > http://www.gotti.org ICQ: 126018723 > Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004 > http://www.tu-chemnitz.de/linux/tag __ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com
Re: Cygwin/xFree from 2 users
On Mon, 1 Mar 2004, Jim Scheef wrote: > Hello. > > I use a notebook computer so I can carry my computing environment around. > This is WinXP and current versions of Cygwin and xFree as of a few weeks ago. > > I have several user 'accounts' that belong to various domains. Most of these > accounts are 'js', as in [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], > etc. > I want all of these to use the same Cygwin home directory. > > Cygwin and X were installed from [EMAIL PROTECTED] When I'm not connected to a > network, I use [EMAIL PROTECTED] Cygwin seems to work with both user accounts > but X will not start from [EMAIL PROTECTED] The attached xwin.log came from > running xinit. Trying to start kde gives an error that there is no write > access to .ICEauthority. I believe the X problem is related to permissions > within /home/js. > > I have tried to set up permissions for both user accounts on /home/js but I > can't seem to make them stick. > > What permissions are needed? What file permissions are critical, which mearly > convenient? Does the setup process replace the permissions on the user's home > directory? How can Cygwin and X be configured for multiple users on a > machine? and the big question - how can I configure Cygwin and X so that I > can use the same /home/js directory from multiple 'js' accounts? You can not start two xservers with the same display number (which is in fact the TCP/IP port used). Start the second with an additional parameter ":1". eg XWin :1 or xinit -- :1 bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723 Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004 http://www.tu-chemnitz.de/linux/tag
Cygwin/xFree from 2 users
Hello. I use a notebook computer so I can carry my computing environment around. This is WinXP and current versions of Cygwin and xFree as of a few weeks ago. I have several user 'accounts' that belong to various domains. Most of these accounts are 'js', as in [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], etc. I want all of these to use the same Cygwin home directory. Cygwin and X were installed from [EMAIL PROTECTED] When I'm not connected to a network, I use [EMAIL PROTECTED] Cygwin seems to work with both user accounts but X will not start from [EMAIL PROTECTED] The attached xwin.log came from running xinit. Trying to start kde gives an error that there is no write access to .ICEauthority. I believe the X problem is related to permissions within /home/js. I have tried to set up permissions for both user accounts on /home/js but I can't seem to make them stick. What permissions are needed? What file permissions are critical, which mearly convenient? Does the setup process replace the permissions on the user's home directory? How can Cygwin and X be configured for multiple users on a machine? and the big question - how can I configure Cygwin and X so that I can use the same /home/js directory from multiple 'js' accounts? Jim __ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com XWin.log Description: XWin.log