Willem Riede | 1 Feb 2004 01:34

Re: XDMCP howto for cygwin? (or other remote-desktop solution)

On 2004.01.30 23:18, Thomas L Roche wrote:
> 
> OK. Is there anything else that needs done for KDE?

Unfortunately I don't know that first hand, as I use Gnome.

Regards, Willem Riede.

Biju G C | 1 Feb 2004 04:41
Picon
Favicon

hide a window from appearing in taskbar

Harold,

I found a way to hide a window from appearing in taskbar when it is visible.

The technique I used was showing the window as a dialog with parent as MS-Windows desktop 

  desktophwnd=GetDesktopWindow();
  int ret = DialogBox(GetModuleHandle(NULL), 
             MAKEINTRESOURCE(IDD_ABOUT), desktophwnd, AboutDlgProc);

Where "about" window wont appear in taskbar.
Also it wont be a modal window.

To make it more convincing I hide the calling window.

I am attaching the example
While running, do "Tools\About" from the menu

So will it be possible to use this with "XWin.exe -nodecoration"

cheers
Biju

--------- my makefile ------

myapp.exe : myapp.c myapp.res resource.h
	gcc -mwindows myapp.c  myapp.res -o $ <at> 

myapp.res : myapp.rc resource.h
	windres $< -O coff -o $ <at> 
(Continue reading)

Joaquin | 2 Feb 2004 04:23

RE: problem using XWin for HP-Unix

Though this is not so secure using the $DISPLAY=ipaddr:0.0 and xhost
+ipaddr.  It's better to just ssh into the machine from a local xterm
and have xclients automatically forwarded (though X11 authentication
needs to be turned on in ssh config files).

> -----Original Message-----
> From: cygwin-xfree-owner <at> cygwin.com
> [mailto:cygwin-xfree-owner <at> cygwin.com] On Behalf Of Andrew DeFaria
> Sent: Wednesday, January 28, 2004 7:40 PM
> To: cygwin-xfree <at> cygwin.com
> Subject: Re: problem using XWin for HP-Unix
>
>
> geethar wrote:
>
> > Hi,
> > We tried to use Cygwin's XWin command to connect to the HP-UNIX
> > machine remotely. But we do not know which port number has
> to be used.
> > Please let me know which command should be used to connect
> to HP-Unix
> > and what port has to used for the same.
> >
> > I appreciate your early response. We are actually stuck with this
> > problem and waiting for this to be resolved.
> >
> > Thanks in advance.
>
> X traffic generally travels over port 6000 but I believe it's really
> something like 6000 + DISPLAY # so for DISPLAY=<machine>:0
(Continue reading)

James Merritt | 2 Feb 2004 04:49
Picon
Favicon

X11 error when using gv.

Hi everyone,

Sorry for the previous post, that is what happens when
you have clumsy fingers...smile.

I have been using cygwin for a few years now and love
it, especially since xwindows works.  I can compile
C/C++ programs with no problems, run lyx which is a
really cool document processor and all without having
to reboot the machine.  I have been trying to get
linux working on this machine for some time and have
decided that for now, Cygwin will do what I need with
no fuss and no hassle and no doinking around trying to
get printers, network, modem, even the Xwindows to
work.  Cygwin just works right after installation and
I can be productive immediately.

That being said, I am having a little problem with
using ghostview under Cygwin/X11.  Ghostview seems to
work porperly, it comes up just great.  But when I try
to view any kind of file (pdf, ps, etc. ) or when I
run lyx and try to view pdf after creating a document
from there, a dialog box pops up with the message:

   Unknown device: x11

I am not sure what is happening here.  It seems I may
not have installed all the proper files when I ran
setup.

(Continue reading)

Takuma Murakami | 2 Feb 2004 09:24
Picon

Patch for silent exit

I made a small patch for preventing exit confirmation when no
client is connecting to the X server, which looks reasonable
for me.  Could you, any developer, commit this?  Or is the
confirmation always necessary?

Takuma Murakami
Attachment (xwinexit.patch): application/octet-stream, 1343 bytes
Alexander Gottwald | 2 Feb 2004 11:55
Picon

Re: X11 error when using gv.

James Merritt wrote:

> That being said, I am having a little problem with
> using ghostview under Cygwin/X11.  Ghostview seems to
> work porperly, it comes up just great.  But when I try
> to view any kind of file (pdf, ps, etc. ) or when I
> run lyx and try to view pdf after creating a document
> from there, a dialog box pops up with the message:
>
>    Unknown device: x11

install the package ghostscript-x11.

bye
    ago
--

-- 
 Alexander.Gottwald <at> informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723

Dr. Volker Zell | 2 Feb 2004 12:00
Picon
Favicon

Re: X11 error when using gv.

>>>>> "James" == James Merritt <jamesem_99 <at> yahoo.com> writes:

    James> That being said, I am having a little problem with
    James> using ghostview under Cygwin/X11.  Ghostview seems to
    James> work porperly, it comes up just great.  But when I try
    James> to view any kind of file (pdf, ps, etc. ) or when I
    James> run lyx and try to view pdf after creating a document
    James> from there, a dialog box pops up with the message:

    James>    Unknown device: x11

Search the archives. This has been discussed to death. You have the
non-X11 version of gs in /usr/bin which maybe shadows your gs version in
/usr/X11R6/bin. If not reinstall the X11 version of gs.

    James> James E. Merritt

Ciao
  Volker

Harold L Hunt II | 2 Feb 2004 15:28
Picon
Favicon

Re: Patch for silent exit

Takuma,

Thanks for the patch.

Now we just need to decide if it is a good idea to have two different 
behaviors:

1) Show Exit confirmation dialog box when apps are running.

2) Don't show Exit confirmation dialog box when no apps are running.

I think it is probably safe, but I know that some user out there will be 
confused.  ;)

We should get you an account so that you can commit patches to cvs 
directly.  You would only need to check here when you are changing the 
default behavior.  Obvious bug fixes can be applied without question. 
More complex bug fixes should be discussed a little.  Send me, 
privately, a preferred username and the public half of an openssh DSA 
key (ssh-keygen -t dsa) and I will get you an account on freedesktop.org.

Thanks for contributing,

Harold

J S | 2 Feb 2004 15:41
Picon
Favicon

frozen screen

Hi,

I'm running an x-app on xfree, which after going through certain options on 
the app, freezes the x- window where I'm working. The window stops 
responding to any keys or mouse clicks. This is a tail from xwin.log (I 
wasn't too sure if the last line was significant or not?):

winPointerWarpCursor - Discarding first warp: 573 404
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winDeinitMultiWindowWM - Noting shutdown in progress

What's really confusing is that this works OK on Exceed 6.2 but not the more 
recent version 7.1. Are there any flags I can give the Xwin command line 
which might be able to fix this problem?

Thanks for any help,

Rgds,

JS.

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger

Alexander Gottwald | 2 Feb 2004 17:59
Picon

Re: frozen screen

J S wrote:

> I'm running an x-app on xfree, which after going through certain options on
> the app, freezes the x- window where I'm working. The window stops
> responding to any keys or mouse clicks.

This is quite unprecise. Which application is it and what are the options
which cause the freeze?

>This is a tail from xwin.log

The log shows nothing strange but it only logs a few things.

bye
    ago
NP: Diary of Dreams - Traum:A
--

-- 
 Alexander.Gottwald <at> informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723


Gmane