CygwinX xwin after login black screen
Hello, I have problem connect with CygwinX to SUSE 10 (SLES). 1. Procedure: - startxwin.bat - xwin :1 -query 132.9.1.3 -from 132.9.1.94 - login screen is displayed - enter username and password - Cygwin/X 132.9.1.3 is blank black screen 2. From internet explorer (VNC) - http://132.9.1.3:5801/ I connect to the same SUSE 10 server OK. 3. xwin :1 -query 132.9.1.100 -from 132.9.1.94 this is HP-UX server work OK. Thank You for help Ludek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Has anyone run xdm successfully under cygwin?
I have come back to this problem and have messed around with xdm on a Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has similar problems to those I experienced back in 2003. So in the interim has anyone successfully run the program? On this attempt I am running it on a local disk. X -indirect hostname works like expected. (so it is not a comms problems) When I run xdm I run it is in an account with the uid set to 0 (so xdm thinks it is running as root). The problems I am getting are similar to those I got back in 2003. Running xdm in strace allows it to get the Xlogin screen (which still uses the password field in the /etc/password file). I have fixed the winXP NT permissions problems that occur if one logs in as a different user (but for testing purposes I login to the same account as that which initiates xdm process. It will execute the files in ~/.xsession. But on exiting those programs instead of returning to a xlogin screen (or a chooser screen) it returns to a blank cross hatch default X windows screen with no application running. Using tcpdump on another machine I can see no evidence that chooser.exe has been started (even though I have changed /etc/X11/Xaccess to * CHOOSER BROADCAST and I still have the problem of it not working at all unless it is run in strace strace xdm -nodeamon -debug 10 So my questions are: 1) Has anyone run xdm successfully under Cygwin? 2) If so any tips for how I can get it to work? [EMAIL PROTECTED] wrote: CYGWIN_95-4.0 myhost 1.5.3(0.90/3/2) 2003-09-01 13:15 i586 unknown unknown Cygwin I am running these tests on a Samba partition which is mounted on the F: drive. I can make an XDMCP connection using startxdmcp.bat or the command line Xwin.exe -query remotehost. (Having learnt to mount the /tmp as a bin type mount! ) This works fine and I can get the indirect list of machines on my net served up to me via the remotename machine. Connect to that machine and get the remote xdm to give me a login prompt. Is it possible set up cywin to run the equivalent of my Linux Boxes' inittab lines: x1:5:respawn:/usr/X11/bin/X -indirect thislocalhost x2:5:respawn:/etc/X11/xdm -nodaemon I have tried to do this in two ways: The first is to run xdm without removing the line in /etc/xdm/Xservers specifying the server name: :0 local /usr/X11R6/bin/X Infact I modified this to: localhost:0 local /usr/X11R6/bin/X Because I needed that name to fix the auth problem. (see below) I could then run xdm from the command line. It returns: Only root wants to run xdm I worked around this in one of two ways: either running xdm -debug 10 or creating a root account and logging in as root. The other files I altered were all in /etc/X11/xdm Xaccess * #any host can get a login window * CHOOSER BROADCAST #any indirect host can get a chooser xdm-config !DisplayManager.errorLogFile: /var/log/xdm.log DisplayManager.errorLogFile: /tmp/xdm.log ! removing this makes life simpler for now ! DisplayManager.willing: su nobody -c /usr/X11R6/lib/X11/xdm/Xwilling DisplayManager.*.authFile:Xauthority DisplayManager.RandomFile:/tmp/XWin.log !DisplayManager.requestPort: 0 Some comments on the above. I changed the errorLogFile so that I did not have to monitor logs in more than one dir. I removed the su nobody -c because it just complicates things! Removing the whole line saves running a script which includes programs which do not exist on my installation of cygwin. I created an Xauthority file because the one generated by xdm has a colon in it and the file system barfs at that. When creating the entries for the Xauthority file I used a modified version of the which appeared in May 2002 in this mail list: XAUTHORITY=/usr/X11R6/lib/X11/xdm/authdir/authfiles/Xauthority DISPLAYNUM=:0 mcookie=`dd if=/dev/urandom count=1 | md5sum | cut -f1 -d\ '` xauth -f $XAUTHORITY -v add $DISPLAYNUM . $mcookie xauth -f $XAUTHORITY -v add 127.0.0.1$DISPLAYNUM . $mcookie xauth -f $XAUTHORITY -v add $HOSTNAME$DISPLAYNUM . $mcookie NB; For belt and braces I mounted the file authfiles dir as type bin. This is why I changed the line in the Xserver file to include localhost as this script generates that entry: $ xauth list myhost/unix:0 MIT-MAGIC-COOKIE-1 7042...fc localhost:0 MIT-MAGIC-COOKIE-1 7042...fc myhost.mydomain.com:0 MIT-MAGIC-COOKIE-1 7042...fc DM.RandomFile was used because the default is /dev/mem which does not appear to exist. I would be grateful for a better solution than the log file as a file for sum. DM.requestPort is commented out because I want other machines to get XDMCP messages from this machine. If I run xdm with the Xservers commented out and from separate window with the line: Xwin -indirect myhost The host name appears in the indirect list on a Linux machine. But when I
Re: CygwinX xwin after login black screen
ludek_coufal schrieb: I have problem connect with CygwinX to SUSE 10 (SLES). 1. Procedure: - startxwin.bat (Sidenote: You don't need startxwin.bat if you do:) - xwin :1 -query 132.9.1.3 -from 132.9.1.94 - login screen is displayed - enter username and password 1.What Windowmanger do you choose? kde, gnome something else? Does it work if you choose a different one? 2.Can you connect from any other computer with xdmcp to this Suse system? 3.I assume your are using kdm on the suse system, is any message printed in /var/log/kdm.log when you try to connect? Or in /var/log/messages? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: CygwinX xwin after login black screen
Hello Holger, I use gnome. I change gnome to kde and xwin work OK. Thank You for help Ludek Původní zpráva Od: Holger Krull [EMAIL PROTECTED] Předmět: Re: CygwinX xwin after login black screen Datum: 11.10.2007 13:42:42 ludek_coufal schrieb: I have problem connect with CygwinX to SUSE 10 (SLES). 1. Procedure: - startxwin.bat (Sidenote: You don't need startxwin.bat if you do:) - xwin :1 -query 132.9.1.3 -from 132.9.1.94 - login screen is displayed - enter username and password 1.What Windowmanger do you choose? kde, gnome something else? Does it work if you choose a different one? 2.Can you connect from any other computer with xdmcp to this Suse system? 3.I assume your are using kdm on the suse system, is any message printed in /var/log/kdm.log when you try to connect? Or in /var/log/messages? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
sftp how insert @
Hello, I can test sftp, but I can not change keyboard and insert, enter @. Procedure: - startxwin.bat - I can enter (sftp [EMAIL PROTECTED])but how insert @? On keyboard @ not work. Thank You Ludek -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: sftp how insert @
ludek_coufal schrieb: I can test sftp, but I can not change keyboard and insert, enter @. Procedure: - startxwin.bat - I can enter (sftp [EMAIL PROTECTED])but how insert @? On keyboard @ not work. (You don't need X11 to run sftp) Most likely you need to uncomment the following entrys in ~/.inputrc # Allow 8-bit input/output set meta-flag on set convert-meta off set input-meta on set output-meta on -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: sftp how insert @
@ is not a 8 bit character, so those changes in .inputrc should not be needed. Probably the keyboard layout for X11 is wrong. Cut paste from any other program should work just fine. Regards, David -Original Message- From: Holger Krull [EMAIL PROTECTED] To: cygwin-xfree@cygwin.com Date: Thu, 11 Oct 2007 15:20:47 +0200 Subject: Re: sftp how insert @ ludek_coufal schrieb: I can test sftp, but I can not change keyboard and insert, enter @. Procedure: - startxwin.bat - I can enter (sftp [EMAIL PROTECTED])but how insert @? On keyboard @ not work. (You don't need X11 to run sftp) Most likely you need to uncomment the following entrys in ~/.inputrc # Allow 8-bit input/output set meta-flag on set convert-meta off set input-meta on set output-meta on -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Has anyone run xdm successfully under cygwin?
pbs wrote: I have come back to this problem and have messed around with xdm on a Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has similar problems to those I experienced back in 2003. So in the interim has anyone successfully run the program? So that I can trace the problems further, I would like to download the source code for xdm and compile it. I looked at the instructions at http://x.cygwin.com/ and could not work out how I can go about downloading xdm sources and supporting libraries. Please could someone point me to a document on how to download the necessary source code, or tell me how to do it. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Has anyone run xdm successfully under cygwin?
I have come back to this problem and have messed around with xdm on a Windows XP home edition using Cygwin 1.5.24(0.156/4/2). It still has similar problems to those I experienced back in 2003. So in the interim has anyone successfully run the program? On this attempt I am running it on a local disk. X -indirect hostname works like expected. (so it is not a comms problems) When I run xdm I run it is in an account with the uid set to 0 (so xdm thinks it is running as root). The problems I am getting are similar to those I got back in 2003. Running xdm in strace allows it to get the Xlogin screen (which still uses the password field in the /etc/password file). I have fixed the winXP NT permissions problems that occur if one logs in as a different user (but for testing purposes I login to the same account as that which initiates xdm process. It will execute the files in ~/.xsession. But on exiting those programs instead of returning to a xlogin screen (or a chooser screen) it returns to a blank cross hatch default X windows screen with no application running. Using tcpdump on another machine I can see no evidence that chooser.exe has been started (even though I have changed /etc/X11/Xaccess to * CHOOSER BROADCAST and I still have the problem of it not working at all unless it is run in strace strace xdm -nodeamon -debug 10 So my questions are: 1) Has anyone run xdm successfully under Cygwin? 2) If so any tips for how I can get it to work? [EMAIL PROTECTED] wrote: CYGWIN_95-4.0 myhost 1.5.3(0.90/3/2) 2003-09-01 13:15 i586 unknown unknown Cygwin I am running these tests on a Samba partition which is mounted on the F: drive. I can make an XDMCP connection using startxdmcp.bat or the command line Xwin.exe -query remotehost. (Having learnt to mount the /tmp as a bin type mount! ) This works fine and I can get the indirect list of machines on my net served up to me via the remotename machine. Connect to that machine and get the remote xdm to give me a login prompt. Is it possible set up cywin to run the equivalent of my Linux Boxes' inittab lines: x1:5:respawn:/usr/X11/bin/X -indirect thislocalhost x2:5:respawn:/etc/X11/xdm -nodaemon I have tried to do this in two ways: The first is to run xdm without removing the line in /etc/xdm/Xservers specifying the server name: :0 local /usr/X11R6/bin/X Infact I modified this to: localhost:0 local /usr/X11R6/bin/X Because I needed that name to fix the auth problem. (see below) I could then run xdm from the command line. It returns: Only root wants to run xdm I worked around this in one of two ways: either running xdm -debug 10 or creating a root account and logging in as root. The other files I altered were all in /etc/X11/xdm Xaccess * #any host can get a login window * CHOOSER BROADCAST #any indirect host can get a chooser xdm-config !DisplayManager.errorLogFile: /var/log/xdm.log DisplayManager.errorLogFile: /tmp/xdm.log ! removing this makes life simpler for now ! DisplayManager.willing: su nobody -c /usr/X11R6/lib/X11/xdm/Xwilling DisplayManager.*.authFile:Xauthority DisplayManager.RandomFile:/tmp/XWin.log !DisplayManager.requestPort: 0 Some comments on the above. I changed the errorLogFile so that I did not have to monitor logs in more than one dir. I removed the su nobody -c because it just complicates things! Removing the whole line saves running a script which includes programs which do not exist on my installation of cygwin. I created an Xauthority file because the one generated by xdm has a colon in it and the file system barfs at that. When creating the entries for the Xauthority file I used a modified version of the which appeared in May 2002 in this mail list: XAUTHORITY=/usr/X11R6/lib/X11/xdm/authdir/authfiles/Xauthority DISPLAYNUM=:0 mcookie=`dd if=/dev/urandom count=1 | md5sum | cut -f1 -d\ '` xauth -f $XAUTHORITY -v add $DISPLAYNUM . $mcookie xauth -f $XAUTHORITY -v add 127.0.0.1$DISPLAYNUM . $mcookie xauth -f $XAUTHORITY -v add $HOSTNAME$DISPLAYNUM . $mcookie NB; For belt and braces I mounted the file authfiles dir as type bin. This is why I changed the line in the Xserver file to include localhost as this script generates that entry: $ xauth list myhost/unix:0 MIT-MAGIC-COOKIE-1 7042...fc localhost:0 MIT-MAGIC-COOKIE-1 7042...fc myhost.mydomain.com:0 MIT-MAGIC-COOKIE-1 7042...fc DM.RandomFile was used because the default is /dev/mem which does not appear to exist. I would be grateful for a better solution than the log file as a file for sum. DM.requestPort is commented out because I want other machines to get XDMCP messages from this machine. If I run xdm with the Xservers commented out and from separate window with the line: Xwin -indirect myhost The host name
Re: sftp how insert @
xerces8 schrieb: @ is not a 8 bit character, so those changes in .inputrc should not be needed. Probably the keyboard layout for X11 is wrong. Cut paste from any other program should work just fine. You are right, i should have checked. So using setxkbmap will probably help. Or not using X11. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
OpenGL files
Dear Cygwin/X team, I've just installed Cygwin Cygwin/X for the first time. The installation worked smoothly and I can run remote X applications (including OpenGL applications successfully. Your X server makes me wonder why we have paid thousands for an incomplete product: Hummingbird's X server. Thanks a lot for such a wonderful product. I'll try and work on the powers that be to make a contribution to the Cygwin team. I have a small question relating to developing OpenGL applications *locally*: I have installed the gcc/++ compiler suite, freeglut library files and the OpenGL-related files via the setup program. However, compiling OpenGL programs fails as the linker cannot find the GL libraries. Nor can I when I try looking for libgl.* and libglu.* in the usual locations. (libglut files are there). My questions: - have these files changed names / locations in the Cygwin heirarchy? - or does OpenGL-related files refer to other supplementary files but not to the main GL library files - if so - where can I find the GL lib files? Many thanks for any help on this. All the best, Suresh Keswani -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/