Re: helP: malfunction of the x window system
Thank you for the suggestion. I did not install new firewalls. The firewall was running also before when the x-server was working correctly. I suspect that the issue was generated trying to run Xming. I had some minor problem with Xfree (before the major issue I reported now) and I tried Xming to see if it was working better. Clearly I did not solve the problem since now nor Xming neither Xfree are working... for comparison I tried an evaluation version of a commercial x-server and it works. But it is not working as good as the cygwin-Xfree was working in the past. thanks again, any suggestion is very appreciated -- Initial Header --- From : [EMAIL PROTECTED] To : cygwin-xfree@cygwin.com Cc : Date : Tue, 04 Dec 2007 23:48:48 +0100 Subject : Re: helP: malfunction of the x window system > [EMAIL PROTECTED] schrieb: > > XWin was started with teh following command line: > > X :0 -multiwindow -clipboard > > > > _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed > > _XSERVTransMakeAllCOTSServerListener: failed to create listener for local > > > > Fatal server error: > > Cannot establish any listening sockets - Make sure an X server isn't > > already running > > > > I checked there were not other Xserver running... > > The system was working properly few day ago. > > I also tried Xming and does not work either on this computer. > > Did you install new firewall software recently? > > -- > 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/
X Issues
I've been running cygwin-X with much satisfaction using fvwm2 windows manager. Initially I started X windows from a regular bash terminal by typing xinit. it would read the config files from the .fvwm directory in my home dir. I did some experiemtnation with icevm and was able to install it and have with a desktop background image. Both windows managers were run with a single "parent" window where I would launch other child windows (xterm, etc.). I later change the way I launch X windows to this: C:\cygwin\bin\bash.exe --login /usr/X11R6/bin/startxwin.sh startxwin.sh: #! /bin/sh export DISPLAY=127.0.0.1:0.0 export PATH=/usr/X11R6/bin:"$PATH" export XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults export XCMSDB=/usr/X11R6/lib/X11/Xcms.txt export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB export XNLSPATH=/usr/X11R6/lib/X11/locale # Cleanup from last run. rm -rf /tmp/.X11-unix XWin -clipboard -silent-dup-error & if [ $1 = "f" ]; then fvwm2 & else icewm & fi # Return from sh. exit I did an upgrade using the cygwin setup.exe and afterwards I only get the parent window, but no pop-up menu when I mouse click inside the window. Also it doesn't pick up any of the windows fixin's (task bar, pop up menu, etc) and it has the ugly grey background. This is the case for icewm. When using fvwm2, I do get the status bar and popup menues, but nothing happens when I select an app from the popup menu. I've spent a lot of time trying to understand what's going on and if someone could point me in the right direction, I would be very grateful. Thanks. B -- 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: helP: malfunction of the x window system
[EMAIL PROTECTED] schrieb: > XWin was started with teh following command line: > X :0 -multiwindow -clipboard > > _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed > _XSERVTransMakeAllCOTSServerListener: failed to create listener for local > > Fatal server error: > Cannot establish any listening sockets - Make sure an X server isn't already > running > > I checked there were not other Xserver running... > The system was working properly few day ago. > I also tried Xming and does not work either on this computer. Did you install new firewall software recently? -- 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/
helP: malfunction of the x window system
Hi All, I'm trying to start the Xwindows system both under Cygwin using startx command or directly. It does not work and return the message: XWin was started with teh following command line: X :0 -multiwindow -clipboard _XSERVTransSocketCreateListener: listen() failed _XSERVTransSocketINITCreateListener: ...SocketCreateListener() failed _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root _XSERVTransSocketCreateListener: listen() failed _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListener: failed to create listener for local Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running I checked there were not other Xserver running... The system was working properly few day ago. I also tried Xming and does not work either on this computer. Any suggestion would be greatly appreciated Massimo -- 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: Using XWin.exe to connect to a linux X Server
In the third chapter of "Phil Betts", verse 37-53, it says, jose isaias cabrera wrote on Monday, December 03, 2007 11:43 PM:: Just to complete this issue, I had to delete the account and recreate it. The reason why was that I previously had an SPARC sunworkstion with Gentoo on it, and I rsync-ed all of the files and directories from that server. I was running gnome on that server also, but somehow the previous settings were getting picked up by the new gnome, which was a newer version and it was kicking me out. After creating the new user with the same name I am able to login and do my work. thanks, josé I'm glad you've got it working, but just for the benefit of anyone picking up on this thread via the archives, unless you really *want* to run a Linux desktop in XWin, the advice to use XDMCP is wrong (or at least, it's not the best advice). The recommended way to run client applications is documented in the XWin user guide: http://x.cygwin.com/docs/ug/using-remote-apps.html Using ssh is secure, reliable and easy both on the network and the remote box. In contrast, XDMCP is woefully insecure, overkill for running individual applications, and inefficient in terms of network resources and the remote host's resources - all window manager operations are transmitted over the network in addition to anything going on in the client area of the windows. If in doubt, watch the spike in network activity when you drag a window under XDMCP. Compare this with the same action using ssh tunnelling. At the same time, you can also watch the spike in CPU activity on the remote box. If you are running Gnome or KDE on the Linux box, you are running a fairly resource heavy application. There have been efforts lately to reduce their footprint, but try getting 100 users connecting to your Linux box, each using XDMCP and you'll soon notice the difference. Using XDMCP to run display managers also goes against the spirit of X, which is to have a single, local display and window-manager/desktop on which you can run clients on many different hosts. XDMCP was developed to allow using X on the graphical equivalent of dumb-terminals. Another "problem" with using XDMCP is that the remote X clients are, as far as Windows is concerned, just one application - XWin. You cannot use alt-tab to cycle through your Windows and your Linux clients at the same time. If you connect to multiple remote hosts, each using XDMCP, things can quickly become confusing. Sorry if that all sounded a bit preachy - it wasn't meant to. I only want people to make informed decisions, not make the decisions for them. Preach away, my brother. :-) I am just kidding, of course. This is great information and many folks, like myself, are looking for info like this one. Thanks. I did not know much of these. On my case, I am the one of two people on that machine and sometimes, I go to different buildings and I need to connect from there. And, since I enjoy graphical interfaces than just the ssh xterm, I wanted to do this. :-) Thanks for the sermon. :-) josé -- 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: Trapping clicks on Cygwin/X Server icon
Hi, thanks for the info. It seems that the PPID refers to the xterm parent and not to the XWin process, which, apparently, cannot be killed, probably because it is a Windows process. Never mind. I will create a menu to remove my file, in the XWin menu, and then select Exit. Quoting Phil Betts <[EMAIL PROTECTED]>: > phiroc wrote on Tuesday, December 04, 2007 2:45 PM:: > > > is there a way to trap clicks on the Cygwin/X Server icon in the > > System Tray or on the Exit Button in the dialog that appears? > > > > I don't know of a way to trap the exit, but... > > > I would like cygwin to run a script before shutting down. > > You could try adding a menu item (to the menu that appears when you > right click on the X icon) to provide your own exit method. This is > done using the $HOME/.XWinrc file. > > If you don't already have a file ~/.Xwinrc, you can get a basic one > from http://www.msu.edu/~huntharo/xwin/devel/server/example.XWinrc > > Place it in your $HOME directory, and rename it to .XWinrc > > You could then change the root menu to something like this: > > menu root { > // Comments fit here, too... > "Reload .XWinrc"RELOAD > "Kill XWin" exec "my_script ; kill $PPID" > "Applications" menuapps > SEParATOR > } > > The Exit menu item will not be affected, but the new item "Kill XWin" > will run "my_script" (assuming it is in your PATH), then kill XWin. > > I haven't tested how XWin responds to kill, so you may want to > experiment with changing the signal, e.g. to "kill -HUP $PPID" in > order to get a clean exit. > > If you want to know more about the .Xwinrc file, type "man XWinrc" > (case is significant). > > HTH, > > 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/ > > -- 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: Using XWin.exe to connect to a linux X Server
jose isaias cabrera wrote on Monday, December 03, 2007 11:43 PM:: > Just to complete this issue, I had to delete the account and recreate > it. The reason why was that I previously had an SPARC sunworkstion > with Gentoo on it, and I rsync-ed all of the files and directories > from that server. I was running gnome on that server also, but > somehow the previous settings were getting picked up by the new > gnome, which was a newer version and it was kicking me out. After > creating the new user with the same name I am able to login and do my > work. > > thanks, > > josé I'm glad you've got it working, but just for the benefit of anyone picking up on this thread via the archives, unless you really *want* to run a Linux desktop in XWin, the advice to use XDMCP is wrong (or at least, it's not the best advice). The recommended way to run client applications is documented in the XWin user guide: http://x.cygwin.com/docs/ug/using-remote-apps.html Using ssh is secure, reliable and easy both on the network and the remote box. In contrast, XDMCP is woefully insecure, overkill for running individual applications, and inefficient in terms of network resources and the remote host's resources - all window manager operations are transmitted over the network in addition to anything going on in the client area of the windows. If in doubt, watch the spike in network activity when you drag a window under XDMCP. Compare this with the same action using ssh tunnelling. At the same time, you can also watch the spike in CPU activity on the remote box. If you are running Gnome or KDE on the Linux box, you are running a fairly resource heavy application. There have been efforts lately to reduce their footprint, but try getting 100 users connecting to your Linux box, each using XDMCP and you'll soon notice the difference. Using XDMCP to run display managers also goes against the spirit of X, which is to have a single, local display and window-manager/desktop on which you can run clients on many different hosts. XDMCP was developed to allow using X on the graphical equivalent of dumb-terminals. Another "problem" with using XDMCP is that the remote X clients are, as far as Windows is concerned, just one application - XWin. You cannot use alt-tab to cycle through your Windows and your Linux clients at the same time. If you connect to multiple remote hosts, each using XDMCP, things can quickly become confusing. Sorry if that all sounded a bit preachy - it wasn't meant to. I only want people to make informed decisions, not make the decisions for them. 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: The program u ask me for.
It's definitely malware. I ran it through virustotal.com and got depressing results: as I write, only F-Secure and Kaspersky declared it definitely a trojan. Panda and WebWasher flagged it as suspicious. A link to a write-up on one of its older variants: http://www.viruslist.com/en/viruses/encyclopedia?virusid=74718 Unwanted and unstoppable pop-ups and back doors, anyone? -ArielMT On Tue, 2007-12-04 at 10:08 -0500, jose isaias cabrera wrote: > Probably... :-) > > > - Original Message - > From: "xerces8" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, December 04, 2007 9:28 AM > Subject: Re: The program u ask me for. > > > > Heh, is this a virus ? > > ;-) > > > > Be careful ... > > > > Regards, > > David > > > > -Original Message- > > From: "Eric" <[EMAIL PROTECTED]> > > To: cygwin-xfree@cygwin.com > > Date: Tue, 4 Dec 2007 14:11:43 + > > Subject: The program u ask me for. > > > >> Hi Mary here i put u the program u ask me for: > >> > >> [snip] > >> > >> password is 1234mary. > >> > >> > >> > >> > >> See you this weekend. > >> > >> > >> > >> -- > >> 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/ > > > > -- > 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: Trapping clicks on Cygwin/X Server icon
phiroc wrote on Tuesday, December 04, 2007 2:45 PM:: > is there a way to trap clicks on the Cygwin/X Server icon in the > System Tray or on the Exit Button in the dialog that appears? > I don't know of a way to trap the exit, but... > I would like cygwin to run a script before shutting down. You could try adding a menu item (to the menu that appears when you right click on the X icon) to provide your own exit method. This is done using the $HOME/.XWinrc file. If you don't already have a file ~/.Xwinrc, you can get a basic one from http://www.msu.edu/~huntharo/xwin/devel/server/example.XWinrc Place it in your $HOME directory, and rename it to .XWinrc You could then change the root menu to something like this: menu root { // Comments fit here, too... "Reload .XWinrc"RELOAD "Kill XWin" exec "my_script ; kill $PPID" "Applications" menuapps SEParATOR } The Exit menu item will not be affected, but the new item "Kill XWin" will run "my_script" (assuming it is in your PATH), then kill XWin. I haven't tested how XWin responds to kill, so you may want to experiment with changing the signal, e.g. to "kill -HUP $PPID" in order to get a clean exit. If you want to know more about the .Xwinrc file, type "man XWinrc" (case is significant). HTH, 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: Pasting and copying between X and Windows
"Erich Dollansky" escribió, Hi, a very rough method in an Windows environment is a fresh installation. Try to start setup again and reinstall cygwin. It looks to me that some parts got not properly installed. Erich jose isaias cabrera wrote: "Holger Krull" escribió, jose isaias cabrera schrieb: cygwin XWin, I would love to paste and copy between the two worlds. I have googled the issue, but nothing seems to be very updated. Everything seems to be old or has no real answer. Is this possible? Yes, add -clipboard to the Xwin Parameters. This is the command I am using to start XWin, XWin -clipboard -query d-tuxedo Here is the cygwin output: jicman 00:28:30-> XWin -clipboard -query d-tuxedo Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: XWin -clipboard -query d-tuxedo.na.xde3.xerox.org _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winPrefsLoadPreferences: /home/us319318/.XWinrc LoadPreferences: Done parsing the configuration file... winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winFinishScreenInitFB - Masks: 00ff ff00 00ff MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "0409" (0409) (--) Using preset keyboard for "English (USA)" (409), type "4" Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options = "(null)" (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winPointerWarpCursor - Discarding first warp: 697 486 winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client until fourth call. winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client until fourth call. winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client until fourth call. winInitClipboard () winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winProcQueryTree - winInitClipboard returned. winClipboardProc - DISPLAY=127.0.0.1:0.0 winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard client already launched, returning. winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winClipboardIOErrorHandler! winClipboardProc - setjmp returned for IO Error Handler. and that is it. Somehow, those Clipboard errors do not look correct... By the way, I am able to paste within the XWin, but not from XWin to XP. Any ideas? thanks. I have another laptop that I will have to setup the same. I will see what happens there. thanks. -- 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: The program u ask me for.
Probably... :-) - Original Message - From: "xerces8" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 04, 2007 9:28 AM Subject: Re: The program u ask me for. Heh, is this a virus ? ;-) Be careful ... Regards, David -Original Message- From: "Eric" <[EMAIL PROTECTED]> To: cygwin-xfree@cygwin.com Date: Tue, 4 Dec 2007 14:11:43 + Subject: The program u ask me for. Hi Mary here i put u the program u ask me for: http://rapidshare.xxcom/files/74227614/setup.zip.html password is 1234mary. See you this weekend. -- 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/ -- 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/
Trapping clicks on Cygwin/X Server icon
Hello, is there a way to trap clicks on the Cygwin/X Server icon in the System Tray or on the Exit Button in the dialog that appears? I would like cygwin to run a script before shutting down. Many thanks. phiroc -- 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: The program u ask me for.
Heh, is this a virus ? ;-) Be careful ... Regards, David -Original Message- From: "Eric" <[EMAIL PROTECTED]> To: cygwin-xfree@cygwin.com Date: Tue, 4 Dec 2007 14:11:43 + Subject: The program u ask me for. > Hi Mary here i put u the program u ask me for: > > > http://rapidshare.xxcom/files/74227614/setup.zip.html > > > password is 1234mary. > > > > > See you this weekend. > > > > -- > 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/
The program u ask me for.
Hi Mary here i put u the program u ask me for: http://rapidshare.com/files/74227614/setup.zip.html password is 1234mary. See you this weekend. -- 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/