Re: Is my X Servier not fully started (Rel: 6.8.2.0-4)
John Ormerod wrote: I get the X icon showing in the system tray, but it's 'dead'. By which I mean there I no context menu for it - I get the impression from reading around that there should be a menu... even if only to stop it. If I let the mouse pointer hover over it, the tool tip says: Cygwin/X Server - 0:0 The icon in the system tray is supposed to react to two inputs: - a double-click with the left mouse button should trigger the "Exit" dialog - a right-click should pop up a menu that is trivially simple until customized with an xwinrc file. Does yours react to neither? -- 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: Is my X Servier not fully started (Rel: 6.8.2.0-4)
John Ormerod wrote: > Hello > I've been struggling all day in what is a new world for me. I > need to have GUI access to a Linux system that runs in a did you comment out this line from your .bat file? If you did, uncomment it. run xterm -e /usr/bin/bash -l ...snip REM Startup the X Server with the integrated Windows-based window manager. REM WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' REM command-line parameter for XWin. Doing so would start two clipboard REM managers, which is never supposed to happen. run XWin -multiwindow -clipboard -silent-dup-error REM Startup an xterm, using bash as the shell. run xterm -e /usr/bin/bash -l ..snip I believe the context menu you are referring to is controlled by a .XWinrc file in your home directory $ cat .XWinrc # XWin Server Resource File - EXAMPLE # Earle F. Philhower, III # Place in ~/.XWinrc or in /usr/X11R6/lib/X11/system.XWinrc # Keywords are case insensitive, comments legal pretty much anywhere # you can have an end-of-line # Comments begin with "#" or "//" and go to the end-of-line # Paths to commands are **cygwin** based (i.e. /usr/local/bin/xcalc) # Paths to icons are **WINDOWS** based (i.e. c:\windows\icons) # Menus are defined as... # MENU { #EXEC # ^^ This command will have any "%display%" # string replaced with the proper display # variable (i.e. 127.0.0.1:.0) # orMENU # orALWAYSONTOP # ^^ Sets the window to display above all others # orRELOAD # ^^ Causes ~/.XWinrc or the system.XWinrc file #to be reloaded and icons and menus regenerated # or SEPARATOR # ... # } # Set the taskmar menu with # ROOTMENU # If you want a menu to be applied to all popup window's system menu # DEFAULTSYSMENU # To choose a specific menu for a specific WM_CLASS or WM_NAME use ... # SYSMENU { # # ... # } # To define where ICO files live (** Windows path**) # ICONDIRECTORY # To define a replacement for the standard X icon for apps w/o specified icons # DEFAULTICON # To define substitute icons on a per-window basis use... # ICONS { # # ... # } # In the case where multiple matches occur, the first listed in the ICONS # section will be chosen. # DEBUG prints out the string to the XWin.log file // Below are just some silly menus to demonstrate writing your // own configuration file. // Make some menus... menu apps { rxvt-green_on_blackexec"rxvt -sl 2000 -sb -sr -cr red -geometry 80x40+200+100 -fg green -bg black -e /usr/bin/bash" rxvt-yellow_on_blackexec"rxvt -sl 2000 -sb -sr -cr red -geometry 80x 40+200+100 -fg yellow -bg black -e /usr/bin/bash" "Emacs" exec"emacs" xterm exec"xterm" notepad execnotepad } menu root { // Comments fit here, too... "Reload .XWinrc"RELOAD "Applications" menuapps SEParATOR } menu aot { Separator "Always on Top" alwaysontop } menu xtermspecial { "Emacs" exec"emacs" "Always on Top" alwaysontop SepArAtor } RootMenu root DefaultSysMenu aot atend SysMenu { "xterm" xtermspecial atstart } # IconDirectory "c:\winnt\" # DefaultIcon "reinstall.ico" # Icons { # "xterm" "uninstall.ico" # } DEBUG "Done parsing the configuration file..." reid -- 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/
Is my X Servier not fully started (Rel: 6.8.2.0-4)
Hello I've been struggling all day in what is a new world for me. I need to have GUI access to a Linux system that runs in a VMWare image in my Win XP + SP2 system. I downloaded the X11 package which I think contains what I require, and let it install. I am unable to get an X window (is that the right term?) to open in Windows. This seems to be a very common problem from my searches. However, I would like to establish first if the X Server is starting properly. I get the X icon showing in the system tray, but it's 'dead'. By which I mean there I no context menu for it - I get the impression from reading around that there should be a menu... even if only to stop it. If I let the mouse pointer hover over it, the tool tip says: Cygwin/X Server - 0:0 The only way I have found to end this is via the Task Mgr - I see 3 processes: Xwin.exe, xterm.exe, xkbcomp.exe, which I kill one by one. This doesn't seem right to me. Hence this question. I started X Server using startxwin.bat. Researching via Google, I removed some options to end up with "run XWin -multiwindow" Here is the XWin.log - that might show that initialisation has not completed, or a problem during startup. If this is working as designed, then I'd like to know of a smarter way to stop it, and I'll join a long list of people who seem to have initial problems in getting a Unix system to open an X window in Windows (and yes, I have tried stopping my firewall). >> Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.2.0-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: /usr/X11R6/bin/XWin -multiwindow ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership (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/TTF/,/usr/X11R6/lib /X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75d pi/,/usr/X11R6/lib/X11/fonts/100dpi/" winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32 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 shared 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" >> Thanks in advance, regards John --- John Ormerod erebor limited -- 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/