On Fri, Oct 13, 2000 at 12:54:05PM +0200, Florian Friesdorf wrote: > I'm trying to start xclients on my router (potato) through a ssh connection > and docking those to windowmaker dock. > > I'm executing 'ssh -X [EMAIL PROTECTED] /usr/bin/X11/wterm' in a terminal on > my > machine. Then I dock the appearing icon. > Now the problem is, somehow my commandline is cutted off to > '/usr/bin/X11/wterm'. The ssh is missing in the settings of the docked app. > [SNIP] > > Am I doing something wrong, or is this a windowmaker bug?
In expecting the ssh portion to be included in the command line, you're doing something wrong. The way ssh works, it connects to the remote machine and runs the command specified, more or less the same way the shell runs the command if you launch from the command line. So, the launched program has no way of knowing it was invoked via ssh instead of via the shell or some other mechanism. Since it doesn't know this, it can't set the WM_COMMAND property (man xprop, or read a book on X programming) to anything other than the command line that ssh used to launch it, and therefore WindowMaker can't know anything other than that command to launch the app again. -- finger for GPG public key.
pgpjwb6vkOeoF.pgp
Description: PGP signature