Using Axis-Remote over SSH

More
14 years 9 months ago #16817 by andypugh
BigJohnT wrote:

Doing a google search for VNC gives a bunch of hits. Are you using a built in VNC on your Mac or some other version?


As I recall it is buit-in on both Mac and Ubuntu, but does need "Screen Sharing" enabling on the Ubuntu machine.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago - 14 years 9 months ago #16904 by spartan21
Sorry for the delay in responding.

The single quotes worked, and AXIS is definitely running, as I get a list of axis/emc-related processes running in the active processes list.

However, the 'glxinfo' command on my remote computer returns the following:

name of display: localhost:10.0
Error: couldn't find RGB GLX visual or fbconfig

The same command on my Linux machine returns a lot of info, but possibly importantly: "name of display: :0.0"

Does this conflict between display names matter?

I have used VNC a little, but what I want is the simplest way possible of controlling my machine (in my opinion, simple terminal commands).

As for emcrsh, it looks like that does what I'm looking for, although I do like having the AXIS GUI. Unless anyone has any more ideas I'll start working on trying to get emcrsh working. Thank you very much for the help!
Last edit: 14 years 9 months ago by spartan21.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #16905 by dgarrett
it looks like glx not running on your mac X11 server -- you might check with knowledgeable mac folks to see if there is a way to support it

the localhost:10.0 is normal when using ssh -X

there may be some quirks but you can run more than one gui at the same time -- so you can have both axis and emcrsh

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #16907 by spartan21
I got glx to work by removing a file on my Linux machine. axis-remote doesn't work, but now I do get something for 'glxinfo'.

I'm happy to go down the emcrsh route, but I'm confused as to how to be able to run both AXIS and emcrsh at the same time. The emcrsh manual says that I should change the DISPLAY parameter in my machine's .ini file to 'emcrsh'. But wouldn't this just push out AXIS?

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #16916 by dgarrett
> The emcrsh manual says that I should change the DISPLAY parameter in my
> machine's .ini file to 'emcrsh'. But wouldn't this just push out AXIS?

Note the next line from the emcrsh manpage:

> To use emcrsh in addition to a normal emc2 GUI, you can either start it at
> the end of your .hal file, or run it by hand in a terminal window.


There are multiple contexts for DISPLAY

For X11, there is an environmental variable named DISPLAY that indicates

hostname:displayno.screen

For emc, there is an ini file item named DISPLAY in a stanza also named DISPLAY, for example:

[DISPLAY]DISPLAY=axis

This names a startup gui that is used when emc is invoked by the standard startup script named emc.

Please Log in or Create an account to join the conversation.

More
14 years 9 months ago #16990 by spartan21
Thank you very much for your help!

Please Log in or Create an account to join the conversation.

Time to create page: 0.309 seconds
Powered by Kunena Forum