https://unix.stackexchange.com/questions/314862/minimal-no-hassle-debian-install-with-functioning-x11-login-etc

`apt install xorg` and install a minimal display and window manager for it to work properly.

The response to `apt install xorg` will tell you if the problem is that it is missing.

On 30/08/18 16:12, Condit Alan wrote:
Schooner,

That is the kind of info I was looking for. I have done a bunch of googling and have seen a whole bunch of generalized info about other linux strains, but very little specifically about Debian Stretch. I saw something about installing OpenSSH and related server on Stretch but I didn’t know if anyone else had solved this problem and might have specific info about what is needed to make ssh -X work with machinekit on Stretch.

Once this problem is solved would it be feasible for Robert Nelson to add the fix to the Stretch image?

Thanks,
Alan

On Aug 30, 2018, at 7:53 AM, [email protected] wrote:

Suggest you look at the image and see if it has an X server for a start

Your mac doesn't unless you have installed some special emulator.

On 30/08/18 14:58, Alan Condit wrote:
I forgot to add I am running ssh from my Mac. Since it works from my Mac to the Jessie 8.7 setup I know my Mac has what it needs in general. So, it is just a question of what I need to add to or change on the Stretch 9.5 setup.

On Thu, Aug 30, 2018 at 6:42 AM [email protected] <[email protected]> wrote:
We don't make the images.

It is either because the host or client ( or both ) does not have an X server or the address of it is not forwarded.

You cannot run an X gui where the host image is headless with no X-org installed and the client is a windoze box without it either, for example.

Some of the ssh defaults changed in Stretch and have to be specifically enabled to work.

There is lots of info on the net.
For example this
https://unix.stackexchange.com/questions/12755/how-to-forward-x-over-ssh-to-run-graphics-applications-remotely

On 30/08/18 02:56, mugginsac wrote:
If I boot the 8.7 image with machinekit I can start linuxcnc or stepconf with ssh -X [email protected]. However, when I try to start linuxcnc or machinekit after logging in with ssh -X [email protected] on the 9.5 (Stretch) image, I get the following error (same error whether I type linuxcnc or machinekit).
-------------------------------------------------------------------
MACHINEKIT - 0.1
application-specific initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: invalid command name "image"
    while executing
"image create photo -file $f/$i.gif"
    invoked from within
"if [file exists $f/$i.gif] {
            return [image create photo -file $f/$i.gif]
        }"
    (procedure "linuxcnc::image_search" line 7)
    invoked from within
"linuxcnc::image_search machinekit-wizard"
    invoked from within
"set logo [linuxcnc::image_search machinekit-wizard]"
    (file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 31)
-------------------------------------------------------------------------
Since it works under Jessie and not under Stretch, it seems to me that the change must either have something to do with changes made in  either in machinekit or in Stretch. Anyway help would be appreciated.

Alan

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to a topic in the Google Groups "Machinekit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/machinekit/1dkgEgov6Wg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.



--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to