Different preview in local X11 and remote vcXsrv. Loose machine coordinates.

More
22 Apr 2019 07:19 - 24 Apr 2019 11:54 #131468 by bearer
I need to use my LinuxCNC machine as headless, and have been using X11 over SSH , and for the longest time I think I messed up the configuration to loose the displayed coordinates in the preview tab.

However I just finished a clean 2.7.0 install from a fresh download, and did the setup from scratch with stepconf wizzard - same result.
(same result after updating to 2.7.14)

Suggestions on how to fix this, or better options for running the machine headless? I previsouly tried VNC but felt the performance was much better with x11.

Local X


Remote X
Attachments:
Last edit: 24 Apr 2019 11:54 by bearer.

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

More
22 Apr 2019 08:02 #131471 by Mike_Eitel

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

More
22 Apr 2019 19:13 #131538 by bearer
Whoa, that was a rabbit hole to get xrdp installed on the fresh wheezy install from the live cd. Would I be better off updating to a more recent linux version by following some of the forum threads instead of the Getting started guide?

xrdp wasn't able to launch linuxcnc at all
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0xffffffff
  Serial number of failed request:  653
  Current serial number in output stream:  654

full output below


Warning: Spoiler!

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

More
22 Apr 2019 21:27 #131553 by tommylight
Xrdp ? I thought RDP is for login on to windows machines!

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

More
22 Apr 2019 21:46 #131557 by bearer
xrdp seems to be a server that implements the rdp protocol, but uses vnc to access the xorg client. (however it can't access the local session without running vnc for that as well)

will try the stretch image and see later this week. have a blank partition ready for dual booting

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

More
23 Apr 2019 22:04 #131699 by andypugh
Hmm, I use X over ssh and do not see the problem you have there

(ssh -Y This email address is being protected from spambots. You need JavaScript enabled to view it.)

It looks like a graphics rendering problem of some sort.

What OS is the "viewing" PC running? Also Linux, at a guess?

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

More
24 Apr 2019 06:45 #131742 by bearer
Sorry should have included that information!

Windows 10, putty/plink and VcXsrv.

This keeps repeating in the ssh window, so I presume its tryring to update the coordinates, but fails for some reason.
error: (1280, 'invalid enumerant')
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
    return self.func(*args)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
    func(*args)
  File "/usr/bin/axis", line 513, in actual_tkRedraw
    self.tkRedraw_perspective()
  File "/usr/bin/axis", line 473, in tkRedraw_perspective
    self.redraw_perspective()
  File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 314, in inner
    return f(self, *args, **kw)
  File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 513, in redraw_perspective
    self.redraw()
  File "/usr/bin/axis", line 551, in redraw
    GlCanonDraw.redraw(self)
  File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 1070, in redraw
    glEnd()
error: (1283, 'stack overflow')
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
    return self.func(*args)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
    func(*args)
  File "/usr/bin/axis", line 513, in actual_tkRedraw
    self.tkRedraw_perspective()
  File "/usr/bin/axis", line 473, in tkRedraw_perspective
    self.redraw_perspective()
  File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 314, in inner
    return f(self, *args, **kw)
  File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 513, in redraw_perspective
    self.redraw()
  File "/usr/bin/axis", line 551, in redraw
    GlCanonDraw.redraw(self)
  File "/usr/lib/pymodules/python2.7/rs274/glcanon.py", line 1136, in redraw
    glBlendFunc(GL_ONE, GL_CONSTANT_ALPHA)
error: (1280, 'invalid enumerant')

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

More
24 Apr 2019 09:36 - 24 Apr 2019 09:37 #131749 by pl7i92
as you did a full new install
and many of have been updated
please update the LINUXCNC to 2.7.14 to get benefit of all the new comps that you are using with remote control
Last edit: 24 Apr 2019 09:37 by pl7i92. Reason: typos

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

More
24 Apr 2019 11:52 #131766 by bearer
Sorry, I thought I had included that but after the initial post i was able to run apt against just the linuxcnc repo to update, so all the posted ouput is from 2.7.14.

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

Time to create page: 0.149 seconds
Powered by Kunena Forum