Trouble getting a windowed X
Greetings: 1. I have tried to read everything I can on this subject, and I have not had much luck after 2 days of messing around with this. Here is what works: Open rxvt issue the command X Cygwin/x starts up how I want it. On just one of my monitors, with max/min buttons and a title bar. I open another window...and issue xterm -e ssh -Y -l username host and finally startkde. Works like a champ. I have an Xserver up and running with Min and Max buttons, and KDE. Perfect, except there is a terminal hanging around that I don't need on my desktop. So I tried the following: run X. The server starts but the windowed screen doesn't show up. *** Here is the bottomline question. How can I get an Xserver running when I issue the command X and to have it detach from rxvt. *** I've tried to use XWin.exe with a number of options, but I have yet to duplicate what simply X does with no arguments. I am running Windows XP SP2 with 3 Monitors. I only want one monitor in use for XWindows. Thanks HFC Henry F. Camacho Jr. [EMAIL PROTECTED]
Re: Trouble getting a windowed X
On Wed, 24 Nov 2004, Henry Camacho wrote: run X. The server starts but the windowed screen doesn't show up. *** Here is the bottomline question. How can I get an Xserver running when I issue the command X and to have it detach from rxvt. *** I've tried to use XWin.exe with a number of options, but I have yet to duplicate what simply X does with no arguments. I am running Windows XP SP2 with 3 Monitors. I only want one monitor in use for XWindows. This is a small problem with the run utility. It hides every normal looking window. You can try the nodecoration mode instead. You will not get the window borders but you get no console and the window is shown *g* bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Trouble getting a windowed X
On Wed, Nov 24, 2004 at 06:04:13PM +0100, Alexander Gottwald wrote: On Wed, 24 Nov 2004, Henry Camacho wrote: run X. The server starts but the windowed screen doesn't show up. *** Here is the bottomline question. How can I get an Xserver running when I issue the command X and to have it detach from rxvt. *** I've tried to use XWin.exe with a number of options, but I have yet to duplicate what simply X does with no arguments. I am running Windows XP SP2 with 3 Monitors. I only want one monitor in use for XWindows. This is a small problem with the run utility. It hides every normal looking window. You can try the nodecoration mode instead. You will not get the window borders but you get no console and the window is shown *g* Wouldn't just running X via either: X or setsid X do what is required? Then you can exit the rxvt window. You might even be able to make a shortcut that does a bash -c setsid X to avoid running rxvt. cgf
Re: Trouble getting a windowed X
Thanksthat was it. Stuck in the Windows world I didn't even think of . It worked perfectly. HFC At 11:08 AM 11/24/2004, you wrote: On Wed, Nov 24, 2004 at 06:04:13PM +0100, Alexander Gottwald wrote: On Wed, 24 Nov 2004, Henry Camacho wrote: run X. The server starts but the windowed screen doesn't show up. *** Here is the bottomline question. How can I get an Xserver running when I issue the command X and to have it detach from rxvt. *** I've tried to use XWin.exe with a number of options, but I have yet to duplicate what simply X does with no arguments. I am running Windows XP SP2 with 3 Monitors. I only want one monitor in use for XWindows. This is a small problem with the run utility. It hides every normal looking window. You can try the nodecoration mode instead. You will not get the window borders but you get no console and the window is shown *g* Wouldn't just running X via either: X or setsid X do what is required? Then you can exit the rxvt window. You might even be able to make a shortcut that does a bash -c setsid X to avoid running rxvt. cgf Henry F. Camacho Jr. [EMAIL PROTECTED]
Yet another clipboard problem with SSH
I'm using SSH to remotely login in to a Sun workstation to do university work, and I can't copy and paste either way. Everything else I want to do works fine, I can run programs and save files and send emails, it's just the clipboard that doesn't work. I've been trawling through the mailing list archives for quite a while now, and although there are many other clipboard problems explained, I couldn't find anything exactly the same as the problem I'm having. I'm running Windows XP. Here is the what appears in the shell window when I logon, open xterm, open an xemacs editor and try and copy and paste the contents to any program I have open on my PC, I've tried Word, Notepad, etc. - LOG $ startx Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-5 Contact: [EMAIL PROTECTED] XWin was started with the following command line: X :0 -multiwindow -clipboard (WW) /tmp mounted int textmode _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 (==) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/ X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0809 (0809) (--) Using preset keyboard for English (United Kingdom) (809), type 4 Rules = xorg Model = pc105 Layout = gb Variant = (null) Options = (null ) (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! winPointerWarpCursor - Discarding first warp: 640 512 winInitMultiWindowWM - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winInitMultiWindowWM - pthread_mutex_unlock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winProcEstablishConnection - Hello cat: /home/Garry/.Xauthority: No such file or directory winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di splay. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp lay. winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcessXEventsTimeout - Call to select () failed: 0. Bailing. --- At the instance I try the copy and paste, the paste to be precise, this appears in the xterm window I have open: xemacs: X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 18 (X_ChangeProperty) Atom id in failed request: 0x12d Serial number of failed request: 965 Current serial number in output stream: 967 Any help would be really, really appreciated. I've tried running xwinclip from startup, I've tried many little changes in the configuration and I can't figure out why the hell it won't work. Cheers, Garry
Re: SocketCreateListner() failed
Thank you, Sir! After some hit and trial, I could start an X-server on my laptop. Two problems, ... first I had accidently blocked access to xconsole and secondly XWin did not have access. I changed both these to full access. Now, /cygwin/usr/X../bin/startxwin.bat works :) On a desktop Windows2000 machine, I would start cygwin bash shell and then type startx to start the X-server ... that still does not work on my laptop, but it doesnt matter since starting X-server directly is a better option anyway. Also, I gather Cygwin/X controls the windows thru TCP sockets. Ah well, learn something new ... Thanks again Sandeep Alexander Gottwald wrote: On Tue, 23 Nov 2004, Sandeep Prerna Gupta wrote: Hello, I have not explicitly installed any firewall, This is a brand new Dell Laptop, they may have installed something by default, I will check into that -- BTW, Cygwin bash shell comes up OK, (just that without X, I cant use many of my utils) are there commands or small executables that I could run in bash to get more insight into this? I mean say sufficient code that invokes SocketCreateListner(), which I could compile debugable with gnu C++ and step thru in gdb. (For example, gdb works in bash, ddd doesnt without X). That could help a lot if feasible. Is it XP SP2? If Cygwin/X is started on XP SP2 windows asks if it should allow access to the network. If it does not for you then the builtin firewall will most likely deny the access. You should allow XWin to access port 6000 in the security preferences screen. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723