Re: How to launch kde from ssh correctly?

2004-12-17 Thread Alexander Gottwald
On Fri, 17 Dec 2004, Mike Kenny - BCX - Professional Services JHB wrote:

 
 
 Sorry if this is a dumb question, please don't reply with a dumb answer
 :-)
 
 I want to use ssh to connect to a linux system and then be able to use 
 KDE to access my applications. So far using ssh -X 192.168.1.13
 and executing startkde after I login works, to an extent.
 Both the dektop and the kicker are launched, but they are launched 
 independantly. I can move the kicker around to make it visible and
 accessible and then use the menus to get into openoffice, but my real
 aim is to wean my wife away from M$ toys and get her using ooo, there
 is no way that she will be happy with having to search for the kicker.
 
 Is there some option to ssh that will recifty this situation?

Most likely you're starting XWin in multiwindow mode where every window
from X11 is mapped to a Windows window. If you replace the -multiwindow
with -nodecoration then you get a single window for the whole remote 
session. Or you could create a link which directly starts openoffice
without the KDE desktop

ssh -Yf 192.168.1.13 soffice

BTW: you should use ssh -Y instead of ssh -X because -X does only enable
untrusted X11 connections where some features are not working.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


RE: How to launch kde from ssh correctly?

2004-12-17 Thread Mike Kenny - BCX - Professional Services JHB
Thanks -nodecoration works nicely

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander Gottwald
Sent: Friday, December 17, 2004 12:17 PM
To: [EMAIL PROTECTED]
Subject: Re: How to launch kde from ssh correctly?

On Fri, 17 Dec 2004, Mike Kenny - BCX - Professional Services JHB wrote:

 
 
 Sorry if this is a dumb question, please don't reply with a dumb 
 answer
 :-)
 
 I want to use ssh to connect to a linux system and then be able to use

 KDE to access my applications. So far using ssh -X 192.168.1.13 and 
 executing startkde after I login works, to an extent.
 Both the dektop and the kicker are launched, but they are launched 
 independantly. I can move the kicker around to make it visible and 
 accessible and then use the menus to get into openoffice, but my real 
 aim is to wean my wife away from M$ toys and get her using ooo, there 
 is no way that she will be happy with having to search for the kicker.
 
 Is there some option to ssh that will recifty this situation?

Most likely you're starting XWin in multiwindow mode where every window
from X11 is mapped to a Windows window. If you replace the -multiwindow
with -nodecoration then you get a single window for the whole remote
session. Or you could create a link which directly starts openoffice
without the KDE desktop

ssh -Yf 192.168.1.13 soffice

BTW: you should use ssh -Y instead of ssh -X because -X does only enable
untrusted X11 connections where some features are not working.

bye
ago
--
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


I've lost cut and paste - any ideas why?

2004-12-17 Thread Chris Green
I have lost the ability to cut and paste between my slackware Linux
desktop and the Windows 2000 system on which I'm running Cygwin/X.

It used to work until recently and the only thing I can think of that
has changed is that I have upgraded the Slackware from version 9.1 to
version 10 and I'm using gdm rather than xdm on that system.

Is there any configuration in the gdm/xdm area that would affect my
ability to cut and paste?

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Alexander Gottwald
On Fri, 17 Dec 2004, Chris Green wrote:

 I have lost the ability to cut and paste between my slackware Linux
 desktop and the Windows 2000 system on which I'm running Cygwin/X.
 
 It used to work until recently and the only thing I can think of that
 has changed is that I have upgraded the Slackware from version 9.1 to
 version 10 and I'm using gdm rather than xdm on that system.
 
 Is there any configuration in the gdm/xdm area that would affect my
 ability to cut and paste?

There was a similar report some days ago. It seems the gdm startup had 
changed and the clipboard client is killed by gdm again. Normally the 
clipboard client is started after gdm finished but it seems it is 
started to early. 

/tmp/XWin.log may shed some light on this

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Chris Green
On Fri, Dec 17, 2004 at 12:09:04PM +0100, Alexander Gottwald wrote:
 On Fri, 17 Dec 2004, Chris Green wrote:
[snip]
  
  Is there any configuration in the gdm/xdm area that would affect my
  ability to cut and paste?
 
 There was a similar report some days ago. It seems the gdm startup had 
 changed and the clipboard client is killed by gdm again. Normally the 
 clipboard client is started after gdm finished but it seems it is 
 started to early. 
 
 /tmp/XWin.log may shed some light on this
 
OK, thanks, I'll go and take a look.

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Chris Green
On Fri, Dec 17, 2004 at 06:57:14AM -0500, Thomas Dickey wrote:
 On Fri, 17 Dec 2004, Chris Green wrote:
 
 I have lost the ability to cut and paste between my slackware Linux
 desktop and the Windows 2000 system on which I'm running Cygwin/X.
 
 It used to work until recently and the only thing I can think of that
 has changed is that I have upgraded the Slackware from version 9.1 to
 version 10 and I'm using gdm rather than xdm on that system.
 
 Is there any configuration in the gdm/xdm area that would affect my
 ability to cut and paste?
 
 I have an impression that Slackware 10 introduced UTF-8 locales.
 That's the first thing I'd check.
 
How would one check this and, if it's the cause, fix it?

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Thomas Dickey
On Fri, 17 Dec 2004, Chris Green wrote:
On Fri, Dec 17, 2004 at 06:57:14AM -0500, Thomas Dickey wrote:
I have an impression that Slackware 10 introduced UTF-8 locales.
That's the first thing I'd check.
How would one check this and, if it's the cause, fix it?
If your environment on the other end is a UTF-8 locale, then some of the
selections will use a UTF-8 string.  I don't know offhand if the Cygwin/X
server supports that, but the clients don't since Cygwin doesn't support
UTF-8 locales.
If that's the case, setting your locale to en_GB.ISO-8859-1, etc., should
make it workable (since Cygwin supports Latin-1).  That's normally set in
some system file (but I don't offhand know, since mostly I've been using
startx/fvwm).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Chris Green
On Fri, Dec 17, 2004 at 08:45:58AM -0500, Thomas Dickey wrote:
 On Fri, 17 Dec 2004, Chris Green wrote:
 
 On Fri, Dec 17, 2004 at 06:57:14AM -0500, Thomas Dickey wrote:
 I have an impression that Slackware 10 introduced UTF-8 locales.
 That's the first thing I'd check.
 
 How would one check this and, if it's the cause, fix it?
 
 If your environment on the other end is a UTF-8 locale, then some of the
 selections will use a UTF-8 string.  I don't know offhand if the Cygwin/X
 server supports that, but the clients don't since Cygwin doesn't support
 UTF-8 locales.
 
 If that's the case, setting your locale to en_GB.ISO-8859-1, etc., should
 make it workable (since Cygwin supports Latin-1).  That's normally set in
 some system file (but I don't offhand know, since mostly I've been using
 startx/fvwm).
 
OK, thanks very much, two things to check tonight when I get home.

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Alexander Gottwald
On Fri, 17 Dec 2004, Kensuke Matsuzaki wrote:

 Hi,
 
  If your environment on the other end is a UTF-8 locale, then some of the
  selections will use a UTF-8 string.  I don't know offhand if the Cygwin/X
  server supports that, but the clients don't since Cygwin doesn't support
  UTF-8 locales.
 
 If linux side program supports CTEXT or UTF_STRING, you can use any locale.
 (And xterm, emacs, mozilla etc supports CTEXT)
 
 If you use programs that use only XA_STRING in UTF-8 locale, maybe copy and
 pasted multibyte text will broken. But gtk and qt supports CTEXT, so a few
 program have problem.

I could verify that it's gdm which causes the problems. 

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client un
til fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client un
til fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client un
til fourth call.
winInitClipboard ()
winProcQueryTree - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:1.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.
winDeinitMultiWindowWM - Noting shutdown in progress

There are too many clients connecting before the actual login process connects. 
I'm thinking about various solutions:

o make the number of clients configurable (it is hardcoded to 4 now)
  - quite easy work
  - not very userfriendly
o make clipboard thread recover from errors (shutdown and restart)
  - very hard to build
  - will work in all cases

Number 1 is something I will come up in the next days. The second needs at least
some days to come up wit a clear design and even longer to implement and test.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Chris Green
On Fri, Dec 17, 2004 at 04:13:59PM +0100, Alexander Gottwald wrote:
 winProcEstablishConnection - Hello
 winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client 
 un
 til fourth call.
 winProcEstablishConnection - Hello
 winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client 
 un
 til fourth call.
 winProcEstablishConnection - Hello
 winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client 
 un
 til fourth call.
 winInitClipboard ()
 winProcQueryTree - winInitClipboard returned.
 winClipboardProc - Hello
 DetectUnicodeSupport - Windows NT/2000/XP
 winClipboardProc - DISPLAY=127.0.0.1:1.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.
 winDeinitMultiWindowWM - Noting shutdown in progress
 
 There are too many clients connecting before the actual login process 
 connects. 
 I'm thinking about various solutions:
 
 o make the number of clients configurable (it is hardcoded to 4 now)
   - quite easy work
   - not very userfriendly
 o make clipboard thread recover from errors (shutdown and restart)
   - very hard to build
   - will work in all cases
 
 Number 1 is something I will come up in the next days. The second needs at 
 least
 some days to come up wit a clear design and even longer to implement and test.
 
Thanks for looking into it and reporting what you found.  I'll look
and check to see if my error log reports the same.

Would a strategically placed sleep anywhere help?

Unfortunately I can't go back to xdm as I couldn't get it to work on
my Slackware 10, I *think* it's something to do with it being compiled
for ipv6.  Maybe I should try building a version from source with ipv6
disabled, I've no need for all the extras that gdm provides, I just
used it because it worked.

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Does anyone else get these blank failed deliveries?

2004-12-17 Thread Chris Green
Every time I send a message to the Cygwin/X list I get an empty bounce
with the following headers:-

From [EMAIL PROTECTED]  Fri Dec 17 15:53:40 2004
From: Mail Delivery Subsystem [EMAIL PROTECTED]
Subject: Returned mail: User unknown
To: [EMAIL PROTECTED]
Date: Fri, 17 Dec 2004 15:48:04 + (GMT)
 
Is anyone else experiencing this?

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: I've lost cut and paste - any ideas why?

2004-12-17 Thread Alexander Gottwald
On Fri, 17 Dec 2004, Chris Green wrote:

 On Fri, Dec 17, 2004 at 04:13:59PM +0100, Alexander Gottwald wrote:
  winProcEstablishConnection - Hello
  winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
  client un
  til fourth call.
  winProcEstablishConnection - Hello
  winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
  client un
  til fourth call.
  winProcEstablishConnection - Hello
  winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
  client un
  til fourth call.
  winInitClipboard ()
  winProcQueryTree - winInitClipboard returned.
  winClipboardProc - Hello
  DetectUnicodeSupport - Windows NT/2000/XP
  winClipboardProc - DISPLAY=127.0.0.1:1.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.
  winDeinitMultiWindowWM - Noting shutdown in progress
  
  There are too many clients connecting before the actual login process 
  connects. 
  I'm thinking about various solutions:
  
  o make the number of clients configurable (it is hardcoded to 4 now)
- quite easy work
- not very userfriendly
  o make clipboard thread recover from errors (shutdown and restart)
- very hard to build
- will work in all cases
  
  Number 1 is something I will come up in the next days. The second needs at 
  least
  some days to come up wit a clear design and even longer to implement and 
  test.
  
 Thanks for looking into it and reporting what you found.  I'll look
 and check to see if my error log reports the same.
 
 Would a strategically placed sleep anywhere help?

No. The clipboard thread is started internally.
 
 Unfortunately I can't go back to xdm as I couldn't get it to work on
 my Slackware 10, I *think* it's something to do with it being compiled
 for ipv6.  Maybe I should try building a version from source with ipv6
 disabled, I've no need for all the extras that gdm provides, I just
 used it because it worked.

wdm is working well on debian. Maybe it is available on slackware too

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Does anyone else get these blank failed deliveries?

2004-12-17 Thread Alexander Gottwald
On Fri, 17 Dec 2004, Chris Green wrote:

 Every time I send a message to the Cygwin/X list I get an empty bounce
 with the following headers:-
 
 From [EMAIL PROTECTED]  Fri Dec 17 15:53:40 2004
 From: Mail Delivery Subsystem [EMAIL PROTECTED]
 Subject: Returned mail: User unknown
 To: [EMAIL PROTECTED]
 Date: Fri, 17 Dec 2004 15:48:04 + (GMT)
  
 Is anyone else experiencing this?

Someone (or a worm) is using your mail address to send infected mails.
Just ignore them. You can't make it stop anyway.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Does anyone else get these blank failed deliveries?

2004-12-17 Thread Christopher Faylor
On Fri, Dec 17, 2004 at 03:57:01PM +, Chris Green wrote:
Every time I send a message to the Cygwin/X list I get an empty bounce
with the following headers:-

From [EMAIL PROTECTED]  Fri Dec 17 15:53:40 2004
From: Mail Delivery Subsystem [EMAIL PROTECTED]
Subject: Returned mail: User unknown
To: [EMAIL PROTECTED]
Date: Fri, 17 Dec 2004 15:48:04 + (GMT)
 
Is anyone else experiencing this?

There is only one person from ise.de subscribed to the mailing list.  I've
unsubscribed that person.  I guess if I don't get a bounce, I'll know if
that was the right thing to do or not...

cgf


Re: Does anyone else get these blank failed deliveries?

2004-12-17 Thread Chris Green
On Fri, Dec 17, 2004 at 05:02:36PM +0100, Alexander Gottwald wrote:
 On Fri, 17 Dec 2004, Chris Green wrote:
 
  Every time I send a message to the Cygwin/X list I get an empty bounce
  with the following headers:-
  
  From [EMAIL PROTECTED]  Fri Dec 17 15:53:40 2004
  From: Mail Delivery Subsystem [EMAIL PROTECTED]
  Subject: Returned mail: User unknown
  To: [EMAIL PROTECTED]
  Date: Fri, 17 Dec 2004 15:48:04 + (GMT)
   
  Is anyone else experiencing this?
 
 Someone (or a worm) is using your mail address to send infected mails.
 Just ignore them. You can't make it stop anyway.
 
It's something more subtle than the usual though as it is definitely
only happening when I send mail to the Cygwin/X list, one of these
Returned mail: errors for each message I send to the list.

I get all sorts of other junk but this is the only one that has these
odd (and consistent) characteristics.

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: Does anyone else get these blank failed deliveries?

2004-12-17 Thread Chris Green
On Fri, Dec 17, 2004 at 11:20:42AM -0500, Christopher Faylor wrote:
 On Fri, Dec 17, 2004 at 11:04:30AM -0500, Christopher Faylor wrote:
 On Fri, Dec 17, 2004 at 03:57:01PM +, Chris Green wrote:
 Every time I send a message to the Cygwin/X list I get an empty bounce
 with the following headers:-
 
 From [EMAIL PROTECTED]  Fri Dec 17 15:53:40 2004
 From: Mail Delivery Subsystem [EMAIL PROTECTED]
 Subject: Returned mail: User unknown
 To: [EMAIL PROTECTED]
 Date: Fri, 17 Dec 2004 15:48:04 + (GMT)
  
 Is anyone else experiencing this?
 
 There is only one person from ise.de subscribed to the mailing list.  I've
 unsubscribed that person.  I guess if I don't get a bounce, I'll know if
 that was the right thing to do or not...
 
 Incidentally, if this type of thing happens in the future, the best way to
 correct the problem is to send the *complete* text (plus all headers) of the
 bounce to cygwin-xfree-owner at cygwin dot com.
 
Yes, OK, I realised I hadn't sent the complete headers.  However I had
sent the complete text, there wasn't any, it was always an empty
message.

- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: Does anyone else get these blank failed deliveries?

2004-12-17 Thread Alexander Gottwald
On Fri, 17 Dec 2004, Chris Green wrote:

 It's something more subtle than the usual though as it is definitely
 only happening when I send mail to the Cygwin/X list, one of these
 Returned mail: errors for each message I send to the list.

Hm. I had did not get the response when sending to the list otherwise I'd have
kicked him earlier.

bye
ago 
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Does anyone else get these blank failed deliveries?

2004-12-17 Thread Chris Green
On Fri, Dec 17, 2004 at 05:29:25PM +0100, Alexander Gottwald wrote:
 On Fri, 17 Dec 2004, Chris Green wrote:
 
  It's something more subtle than the usual though as it is definitely
  only happening when I send mail to the Cygwin/X list, one of these
  Returned mail: errors for each message I send to the list.
 
 Hm. I had did not get the response when sending to the list otherwise I'd have
 kicked him earlier.
 
Well whatever the list owner did it has fixed the problem.

-- 
Chris Green ([EMAIL PROTECTED])

Never ascribe to malice that which can be explained by incompetence.


Re: Does anyone else get these blank failed deliveries?

2004-12-17 Thread Rob Bell
Chris Green wrote:
On Fri, Dec 17, 2004 at 05:29:25PM +0100, Alexander Gottwald wrote:
On Fri, 17 Dec 2004, Chris Green wrote:

It's something more subtle than the usual though as it is definitely
only happening when I send mail to the Cygwin/X list, one of these
Returned mail: errors for each message I send to the list.
Hm. I had did not get the response when sending to the list otherwise I'd 
have
kicked him earlier.
Well whatever the list owner did it has fixed the problem.
This is a typical mailing list problem that happens with certain mailers 
or specific configurations.  When the mailbot receives an error from one 
of the mail accounts on the list as it relays your message it will then 
pass that error back to you (or maybe the mail server generating the 
error just sends it straight back to the you, the sender, because your 
address is the originating e-mail account).  This happens on another 
list I'm on from time to time when someone's e-mail account has problems 
or goes inactive.  It is the same reason you, the sender, can 
occasionally get a 'out of office' reply from one of the list members 
when you send the list a message.

Rob