Re: Urgent Help
[EMAIL PROTECTED] schrieb: info. Xwin was started with the command-line: /usr/X11R6/XWin -multiwindo -clipboard -silent-dup-error _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running Looks like this is a regular topic now. Possible causes are: firewall software (disable for test, some need deinstall) another software already listening on port 6000 wrong owner of /tmp/.X11-unix or of the file in that directory (created as Administrator but now used as regular user) PS: Urgent Help is a bad description. Sounds like urgent business proposal from nigeria -- 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/
customizing keyboard layout with XKB
Hi, I've been searching on how to configure and customize a keyboard layout with XKB, and all I could find is the basic guide on the XFree86 site. ( www.xfree86.org/current/XKB-Config.html ), but I need something more detailed (or maybe some help from anybody who knows XKB). There is the XkbOptions field, but I couldn't find a list of the possible options I can give it. The same goes for XkbVariants. I know that I can use the XkbLayout to change the keyboard language, but if I want to create a custom keyboard layout, say with the letters 'Q' and 'A' inverted, what should I do? I would appreciate it if anyone could help me in any way, whether by giving me the solution or by pointing me towards good documentation from which I can figure out how to do it myself. Regards Alan Caruana -- 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: xinitrc final command with -multiwindow
Jason wrote: I don't know that this helps, but I use the stock startxwin.bat batch file Cygwin/X shipped with. Using that batch file, I am free to close down the Xterm that it starts up, without X dying off. That seems to function by running the X server directly rather than running xinit. Anyone know what I'll miss out on by skipping xinit? (Other than the problem I have with needing to force the xinit process to stick around?) I will seem to lose the ability to run custom stuff in my .xinitrc file, but I think I'd be customizing startxwin.bat/.sh anyway so that wouldn't be an issue I suppose. The only caveate is that this prevents a attendentless shutdown. When you try to shut Windows down, an confirmation will pop up asking if you are sure you want to disconnect all X clients. Even if there are no X clients left running. Windows then sits and waits indefinitely for your answer. You get the same thing with startx. jdb -- 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: xinitrc final command with -multiwindow
J. David Blackstone wrote on Wednesday, March 21, 2007 2:29 PM:: Jason wrote: I don't know that this helps, but I use the stock startxwin.bat batch file Cygwin/X shipped with. Using that batch file, I am free to close down the Xterm that it starts up, without X dying off. That seems to function by running the X server directly rather than running xinit. Anyone know what I'll miss out on by skipping xinit? (Other than the problem I have with needing to force the xinit process to stick around?) I will seem to lose the ability to run custom stuff in my .xinitrc file, but I think I'd be customizing startxwin.bat/.sh anyway so that wouldn't be an issue I suppose. That's what I do. Just convert anything you need from the xinitrc to run in the .bat file, or put them in a separate script and run it via bash. Make sure you don't change startxwin.bat itself, but work on a copy instead. If you change the original, the next update will overwrite your changes (you might detect the voice of bitter experience here). The only caveate is that this prevents a attendentless shutdown. When you try to shut Windows down, an confirmation will pop up asking if you are sure you want to disconnect all X clients. Even if there are no X clients left running. Windows then sits and waits indefinitely for your answer. You get the same thing with startx. There's a registry setting to force programs to quit on shutdown/logoff: http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/rege ntry/34615.mspx?mfr=true True to form, MS only tell half the story in their documentation. They don't say whether the timeouts are honoured before forcing the shutdown, so a shutdown may be immediate, even if an app is prompting you to click OK to cancel the missile launches! You may want to test this first. Phil -- 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: xinitrc final command with -multiwindow
http://cygwin.com/acronyms/#PCYMTWLL. Thanks. On Wed, 21 Mar 2007, J. David Blackstone wrote: Since X exits when the xinitrc process terminates, xinitrc needs to finish by starting a program that will run for the duration of my X session. Traditionally this is a window manager, but with -multiwindow a window manager is already running. So with -multiwindow the usual course of action is to exec an xterm. But when that xterm exits, so does X. Unfortunately I'm very prone to getting that magic xterm mixed up with all my others, and shutting down my whole session without intending to. Also, I don't want that xterm because I have my XWinrc set up to run every command that I want to run (mostly a series of xterms that ssh to other servers, as well as a local xterm, of course). I just moved to a new machine at work, and managed to back up everything I needed except my xinitrc. Somehow I had figured out what to exec at the end of xinitrc to avoid having that magic xterm, but I can't remember what I did! I think I found it on a Cygwin mailing list, probably three years ago. But tonight I can find no reference to it at all. I know that for a time I just ended xinitrc with a loop that did a sleep 60 or something over and over again. But that was awkward and had problems. At one point I started up xclock or something. Does anyone know what the standard suggestion for the last command of xinitrc is when you cannot run a window run a window manager and you do not want to run an xterm or anything else that clutters up the task bar? It'd be nice if sleep just had an option to sleep indefinitely until killed (I exit from the XWinrc menu), but that doesn't seem to be available. sleep 1d should do it -- I doubt your computer will last that long. :-) Or you could use the -noreset X option. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: customizing keyboard layout with XKB
On Wed, 21 Mar 2007, Alan James Caruana wrote: Hi, I've been searching on how to configure and customize a keyboard layout with XKB, and all I could find is the basic guide on the XFree86 site. ( www.xfree86.org/current/XKB-Config.html ), but I need something more detailed (or maybe some help from anybody who knows XKB). There is the XkbOptions field, but I couldn't find a list of the possible options I can give it. The same goes for XkbVariants. I know that I can use the XkbLayout to change the keyboard language, but if I want to create a custom keyboard layout, say with the letters 'Q' and 'A' inverted, what should I do? I would appreciate it if anyone could help me in any way, whether by giving me the solution or by pointing me towards good documentation from which I can figure out how to do it myself. man xkbcomp. Also, look at various files in /etc/X11/xkb. Googling for custom keyboard layout xkbcomp got some helpful links too, e.g., http://fearchar.net/2007/February/07-custom-keyboard-mapping. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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/
X11/ssh/sshd : 'Could not run /usr/X11R6/bin/xauth -q -'
Hi, I have a server running Cygwin, sshd, and X. Upon logging in to the server via ssh from another computer, I get the following: [EMAIL PROTECTED]:tristen][0%]ssh -Y -l 'Tristen Hayfield' dhcp23 Last login: Wed Mar 21 19:37:08 2007 from dhcp32 Fanfare!!! You are successfully logged in to this server!!! Could not run /usr/X11R6/bin/xauth -q - ^^^ [Tristen [EMAIL PROTECTED]:~][0%]echo $DISPLAY localhost:10.0 [Tristen [EMAIL PROTECTED]:~][0%]xterm [1] 5296 X11 connection rejected because of wrong authentication. xterm Xt error: Can't open display: localhost:10.0 [1]+ Exit 1 xterm on the server side , I have the following set in sshd_config: X11Forwarding yes XAuthLocation /usr/X11R6/bin/xauth I have tried running ssh -vvv on the client side and sshd with loglevel set to DEBUG3 in sshd_config on the server side, and I could not find any errors or exceptional conditions in the outputs or logfiles. The permissions on the file are: -rwxr-x---+ 1 Tristen Hayfield Users 27648 Oct 27 2005 /usr/X11R6/bin/xauth Which are the same as all the other files in /usr/X11R6/bin. Any clues on why this is happening? cygcheck.out attached. Tristen Cygwin Configuration Diagnostics Current System Time: Wed Mar 21 19:15:40 2007 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\home\Tristen Hayfield\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\Program Files\R\R-2.4.1\bin c:\PROGRA~1\COMMON~1\GTK\2.0\bin c:\texmf\miktex\bin c:\Program Files\HTML Help Workshop c:\MinGW\bin c:\Perl\bin\ c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Common Files\GTK\2.0\bin C:\cygwin\bin C:\cygwin\lib\lapack C:\cygwin\home\Tristen Hayfield\emu\nes\nessie C:\cygwin\home\Tristen Hayfield\emu\snes\zsnes c:\Program Files\Tau 2.15.5\bin c:\Program Files\Adobe\Acrobat 7.0\Reader\ c:\Program Files\GIMP-2.0\bin c:\Program Files\Mozilla Firefox c:\Program Files\MPICH2\bin C:\cygwin\home\Tristen Hayfield\emu\nes\nessie C:\cygwin\home\Tristen Hayfield\emu\snes\zsnes c:\Program Files\Tau 2.15.5\bin c:\Program Files\Adobe\Acrobat 7.0\Reader\ C:\cygwin\home\Tristen Hayfield\emu\nes\nessie C:\cygwin\home\Tristen Hayfield\emu\snes\zsnes c:\Program Files\Tau 2.15.5\bin c:\Program Files\Adobe\Acrobat 7.0\Reader\ Output from C:\cygwin\bin\id.exe (nontsec) UID: 1006(Tristen Hayfield) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1006(Tristen Hayfield) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS USER = 'Tristen Hayfield' PWD = '/home/Tristen Hayfield' CYGWIN = 'server' HOME = '/home/Tristen Hayfield' MAKE_MODE = 'unix' HOMEPATH = '\Documents and Settings\Tristen Hayfield' MANPATH = '/home/Tristen Hayfield/man:/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man:/usr/X11R6/man' APPDATA = 'C:\Documents and Settings\Tristen Hayfield\Application Data' SSH_AGENT_PID = '3848' HOSTNAME = 'econobox' XKEYSYMDB = '/usr/X11R6/lib/X11/XKeysymDB' TERM = 'xterm' PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 13 Stepping 6, GenuineIntel' WINDIR = 'C:\WINDOWS' TMPDIR = '/tmp' WINDOWID = '12582926' USERDOMAIN = 'ECONOBOX' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' XAPPLRESDIR = '/usr/X11R6/lib/X11/app-defaults' SVN_EDITOR = '/usr/bin/emacs' !:: = '::\' XCMSDB = '/usr/X11R6/lib/X11/Xcms.txt' XTERM_SHELL = '/bin/bash' TEMP = '/cygdrive/c/DOCUME~1/TRISTE~1/LOCALS~1/Temp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' XNLSPATH = '/usr/X11R6/lib/X11/locale' GTK_BASEPATH = 'C:\PROGRA~1\COMMON~1\GTK\2.0' SSH_AUTH_SOCK = '/tmp/ssh-CSUMRf0ahN/agent.5648' TERMCAP = 'xterm-r6|xterm|xterm X11R6 version:am:km:mi:ms:xn:co#120:it#8:li#30:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:' USERNAME = 'Tristen Hayfield' IFRIT_IMAGE_DIR = 'C:\Documents and Settings\Tristen Hayfield\My Documents\IFrIT Images' GS_PROG = '/usr/bin/gs' CCACHE_PATH = '/usr/bin' PROCESSOR_LEVEL = '6' IFRIT_DATA_DIR = 'C:\Documents and Settings\Tristen