This whole server/client/remote/x11 discussion has got me perplexed. Maybe I've missed something, but I've been running my development environment on headless boxes for years.
I work on a windows 7 box, and use Cygwin/X to connect to the unix boxes. I run... ssh -Y -l username hostname to establish a terminal session to the box. From there, I can launch any X application, including axis, and they will pop up on my windows 7 display without any problems. Axis pops up in a few seconds, although, as Jon said, it is generally a bit sluggish because of all the graphics. As was mentioned in another post, there are two parts to running an X application - the X client and the X server. The X client is the program - axis, xeyes, glxgears, etc The X server is the display. The x client is only linked to the x libraries. When an x client application is run, it establishes a connection to the x server (the libraries contain the connection code) and the server displays the client's data. This connection can be local, or remote, over the network. An X server does not need to be running on the local box if it is connecting to a remote server. Originally, all you needed to do was set the DISPLAY environment variable and this is where your x windows would apppear... DISPLAY=hostname:0.0 This has been complicated a bit lately with security, but it is still the same concept. If you use ssh, you can set up a X tunnel (or something like that) and the DISPLAY variable and security are handled transparently. As I mentioned, I used Cygwin/x on a windows 7 box, but a remote connection can be to another linux server that is running an X server, that is, running the gnome desktop. This means, as Kent discovered, you can create a minimal linux installation, that is pretty much dedicated to running emc. Then use a remote connection to display axis on another machine. As I write this, I realise there are 2 other ways that one can "remote" emc. One is vnc, which allows you to remotely control the box - this is like providing a virtual keyboard, mouse and monitor. This is not efficient, compared to running a local x server. The other is to use rcs/nml to separate the control and gui parts. Rcs is the interprocess communications library, that connects guis and the emc engine. This is typically set up to use shared memory to let processes on the same box communicate, but it can also be set up to use remote connections. I'm not sure if axis can work this way because it (or is it just the plugins) rely on the local machine, eg load gcode, accessing hal pins, etc. > -----Original Message----- > From: Kirk Wallace [mailto:[email protected]] > Sent: Tuesday, 10 January 2012 6:23 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] emc Through ssh > > On Mon, 2012-01-09 at 12:40 -0600, Jon Elson wrote: > ... snip > > Or are you talking about running Axis directly on the remote computer, > > rather than exporting the X display through ssh -X ? I'm not even > > sure that is possible. > > > > Jon > > Oops, I forgot that AXIS doesn't run or run well on the remote PC. tkEMC > runs fine. > -- > Kirk Wallace > http://www.wallacecompany.com/machine_shop/ > http://www.wallacecompany.com/E45/index.html > California, USA > > > ---------------------------------------------------------------------------- -- > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
