Re: Cygwin/X 1.7 keyboard/mouse freeze shortly after Xwin login to Solaris
I should clarify again that the mouse pointer itself doesn't freeze when I click to open the CDE panel a second time. The mouse pointer continues to move. CDE just ignores my clicks and keystrokes after that point. Mark -- From: Mark Veneziano m...@alnmark.com Sent: Friday, February 26, 2010 12:57 AM To: cygwin-xfree@cygwin.com Subject: Re: Cygwin/X 1.7 keyboard/mouse freeze shortly after Xwin login to Solaris Thanks again for the help. Unfortunately things are only partially fixed with 1.7.5-1. The Motif context menu issue appears to be gone. When I right-click inside a CDE application, I get a context menu as expected, and no keyboard/mouse freeze. However, I still get a keyboard/mouse freeze when I click a CDE panel for the second time in single-window mode. I use the command: XWin -query solarisbox I get the Solaris login prompt and log in to CDE. I click the up-triangle on one of the panels to get to my terminal icon, and the panel opens as expected. When I click the terminal icon, the terminal opens and the panel automatically hides itself again. If I click the up-triangle again, the panel does not appear again, and the keyboard and mouse freeze. Let me know if I can provide any more info. Thanks, Mark -- From: Jon TURNEY jon.tur...@dronecode.org.uk Sent: Thursday, February 25, 2010 10:45 AM To: cygwin-xfree@cygwin.com Cc: m...@alnmark.com Subject: Re: Cygwin/X 1.7 keyboard/mouse freeze shortly after Xwin login to Solaris On 20/02/2010 04:02, Mark Veneziano wrote: Thanks very much for investigating this issue. Please let me know if I can help in any way. If you can confirm this is fixed with xorg-server 1.7.5-1, that would be helpful :-) -- 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: How to remotly launch application with SSH and Cygwin/X server
I have similar problem with Cygwin 1.7.1's SSHD. I'm unable to start any Windows GUI program via SSH. Strange is the problem doesn't occur in SSHD shipped with cygwin 1.5.25-7, which I had installed yesterday. In version 1.5 enough thing to do was enable service option: Allow interact with desktop, then GUI applications were able to be correctly run via ssh. In version 1.7 switch on this option in Cygwin SSHD service option doesn't help. Application cannot draw himself, and generates tons of denial access errors. I tried also grant acces in Local Policies to user, Generate security audits Replace process level token Create process token didn't help too :( I have Win XP SP2, under this system I had installed Cygwin 1.5 and launch GUI apps via ssh worked. Now I have Win XP SP2 too, but current Cygwin version is 1.7.1 - It doesn't work. I tried to find answer to this problem, and I saw this problem is not a new one (people complains since A.D. ~2006), but nobody could definitly answer how to make it work, or at least say that is impossible to do at all. If someone has some info, please help. Thanks. Ricardo. silver95 wrote: Hi, I've got a problem with Cygwin/X server (via Cygwin 1.7.1) Assuming we have a PC on Linux called X and a PC on Windows called Y. I want to send a SSH command from X to Y which launchs firefox on Y. (ie Windows) Firstly, if I go to Y (Windows) and launch a Cygwin shell and then enter the 'firefox' command (firefox is in the PATH environment variable of course), the Firefox is launched correctly and I can navigate to whatever I want. If I send a SSH command from X (Linux) to Y (Windows) with the firefox command : ssh usern...@y_ip_address firefox, I've got a firefox.exe process in the task manager of Y but Firefox is in the background (ie there is no Firefox window). I have set the DISPLAY environment variable to :0.0. Do you know why it is launched in background ? Is there a mean of displaying Firefox launched from the Linux box on Windows ? Thanks Silver -- 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/ -- View this message in context: http://old.nabble.com/How-to-remotly-launch-application-with-SSH-and-Cygwin-X-server-tp27523977p27720120.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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: How to remotly launch application with SSH and Cygwin/X server
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of __Ricardo__ Sent: Friday, February 26, 2010 8:09 AM didn't help too :( I have Win XP SP2, under this system I had installed Cygwin 1.5 and launch GUI apps via ssh worked. Now I have Win XP SP2 too, but current Cygwin version is 1.7.1 - It doesn't work. You are trying to launch the Windows screen apps as the user that owns the screen, correct? Thanks, Mike
RE: How to remotly launch application with SSH and Cygwin/X server
X23G8c wrote: From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of __Ricardo__ Sent: Friday, February 26, 2010 8:09 AM didn't help too :( I have Win XP SP2, under this system I had installed Cygwin 1.5 and launch GUI apps via ssh worked. Now I have Win XP SP2 too, but current Cygwin version is 1.7.1 - It doesn't work. You are trying to launch the Windows screen apps as the user that owns the screen, correct? Thanks, Mike Yes. I'll try to explain better: I'm log on to windows as e.g. User1, that is administrator user. When I start cygwin shell I can simply run: $notepad I see Notepad application correct launched, but If I do it this way: $ssh us...@localhost us...@localhost's password: Last login: Fri Feb 26 18:00:01 2010 from localhost us...@athlon ~ $ notepad I have notepad launched (I see it on process ) but it cannot draw correctly himself on the screen. The same behaviour was in Cygwin 1.5, but then sufficient thing to do was simply select SSHD service option: Allow service to interact with desktop, which was solve the problem. With Cygwins' 1.7 SSHD, selection this option does not take any effect, I have still this unexpected to me behaviour. From application point of view it is somekind still permission problem (exactly the same as was in cygwin 1.5 before switch on Allow service to interact with desktop option), for example: int main(int argc, char* argv[]) { int retVal = 0; retVal = SetCursorPos(0, 0); if (retVal == 0) { std::cout SetCursorPos error [ GetLastError() ]. std::endl; // // GetLastError() returns 5 - ACCESS VIOLATION // when it is run via ssh in Cygwin 1.7.1. // } return 0; } Additional info: SSHD process user name is SYSTEM process launched via ssh user name is User1, but it still has no access to the desktop. -- View this message in context: http://old.nabble.com/How-to-remotly-launch-application-with-SSH-and-Cygwin-X-server-tp27523977p27722202.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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: How do I start WM?
Hi; On Wed, Feb 24, 2010 at 16:44, Reid Thompson reid.thomp...@ateb.com wrote: Try this: Copy the shortcut as mentioned earlier in the email trail. set the Target to be: C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx -- /usr/bin/Xwin.exe Note the double quotes around the last argument. Without them, Xwin.exe doesn't start on my box. startx also would not invoke Xwin.exe on my box unless I explicitly called it ala above Commmand line invocation- $ startx -- /usr/bin/Xwin.exe perhaps it's not reading the symlink properly (the default server is set as /usr/bin/X, which is symlinked to /usr/bin/Xwin.exe) -- nope, explicitly setting default server to /usr/bin/Xwin.exe doesn't start it either via a plain startx on the command line. setting startx to echo the eval of the invocation yields xinit /home/rthompso/.xinitrc -- /home/rthompso/.xserverrc :0 -auth '/home/rthompso/.serverauth.5912' aha -- my .xserverrc has: #exec X -screen 0 1024x768x16 -engine 4 -ac -nowinkill -noreset -emulate3buttons 100 uncomment it and try again from command line a plain startx... xserver starts up in it's own window with my .xinitrc programs running. shut it down, and try my copy of the shortcut again, starts again. Now that we've established that mine wasn't starting due to the invalid .xserverrc, reset the shortcut target to C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx and try it - starts again I changed my shortcut to what you have here (except I have c:\cygwin_1.7) and I copied and pasted what you have below into my new ~/.xinitrc and it works **GREAT** :-) Thanks! Pasted below is my .xinitrc (you said you don't have one in $HOME), you can try this one in your $HOME if you want. It will open a couple of rxvt terms and and xterm. It is configured to startup the openbox window manager. You MAY prefer to copy the /etc/X11/xinit/xinitrc to your $HOME/.xinitrc to use as your base. cat .xinitrc #!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi /usr/bin/openbox #twm #wmaker #/opt/gnome2/bin/gnome-session # start some nice programs rxvt -d :0.0 -geometry 80x35+494+51 -sl 1500 -sr -fg lightblue -bg darkolivegreen rxvt -d :0.0 -geometry 80x20+294-0 -sl 1500 -sr -fg lightblue -bg darkolivegreen exec xterm -geometry 80x6+0+0 -name login -- 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: How do I start WM?
Hi; Now, if it isn't asking too much, I'd like to use KDE as my Window Manager and I'd like some KDE-based utilities, like konsole and karm (? the task/time manager). I don't see a great deal of visible difference between twm and openbox, but I'll look on openbox.org and find more details. The Windoze start shortcut did help, and the ~/.xinitrc did help -- thank you. Thanks, Ken Wolcott On Fri, Feb 26, 2010 at 15:35, Kenneth Wolcott kennethwolc...@gmail.com wrote: Hi; On Wed, Feb 24, 2010 at 16:44, Reid Thompson reid.thomp...@ateb.com wrote: Try this: Copy the shortcut as mentioned earlier in the email trail. set the Target to be: C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx -- /usr/bin/Xwin.exe Note the double quotes around the last argument. Without them, Xwin.exe doesn't start on my box. startx also would not invoke Xwin.exe on my box unless I explicitly called it ala above Commmand line invocation- $ startx -- /usr/bin/Xwin.exe perhaps it's not reading the symlink properly (the default server is set as /usr/bin/X, which is symlinked to /usr/bin/Xwin.exe) -- nope, explicitly setting default server to /usr/bin/Xwin.exe doesn't start it either via a plain startx on the command line. setting startx to echo the eval of the invocation yields xinit /home/rthompso/.xinitrc -- /home/rthompso/.xserverrc :0 -auth '/home/rthompso/.serverauth.5912' aha -- my .xserverrc has: #exec X -screen 0 1024x768x16 -engine 4 -ac -nowinkill -noreset -emulate3buttons 100 uncomment it and try again from command line a plain startx... xserver starts up in it's own window with my .xinitrc programs running. shut it down, and try my copy of the shortcut again, starts again. Now that we've established that mine wasn't starting due to the invalid .xserverrc, reset the shortcut target to C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startx and try it - starts again I changed my shortcut to what you have here (except I have c:\cygwin_1.7) and I copied and pasted what you have below into my new ~/.xinitrc and it works **GREAT** :-) Thanks! Pasted below is my .xinitrc (you said you don't have one in $HOME), you can try this one in your $HOME if you want. It will open a couple of rxvt terms and and xterm. It is configured to startup the openbox window manager. You MAY prefer to copy the /etc/X11/xinit/xinitrc to your $HOME/.xinitrc to use as your base. cat .xinitrc #!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi /usr/bin/openbox #twm #wmaker #/opt/gnome2/bin/gnome-session # start some nice programs rxvt -d :0.0 -geometry 80x35+494+51 -sl 1500 -sr -fg lightblue -bg darkolivegreen rxvt -d :0.0 -geometry 80x20+294-0 -sl 1500 -sr -fg lightblue -bg darkolivegreen exec xterm -geometry 80x6+0+0 -name login -- 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: How do I start WM?
On 2/26/2010 6:40 PM, Kenneth Wolcott wrote: Hi; Now, if it isn't asking too much, I'd like to use KDE as my Window Manager and I'd like some KDE-based utilities, like konsole and karm (? the task/time manager). I don't see a great deal of visible difference between twm and openbox, but I'll look on openbox.org and find more details. The Windoze start shortcut did help, and the ~/.xinitrc did help -- thank you. Thanks, Ken Wolcott i've not checked to see if KDE or any of it's components is/are available as part of the cygwin X stuff (when I use a heavyweight desktop environment i use gnome). a quick search on KDE at the package search page of cygwin lists nothing, while a search on gnome lists quite a few. someone with more knowledge will have to advise you -- 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/