Wheezy + RDP

More
25 Aug 2020 21:05 #179451 by Asher
Wheezy + RDP was created by Asher
Hello, help me, I am not good at Linux
I installed Debian 7 Wheezy and configured RDP on it, but when connected via RDP, LinuxCNC does not start

First error:

RTAPI: ERROR: failed to map shmem
RTAPI: Locked memory limit is 64KiB, recommended at least 20480KiB.
This can cause the error 'failed to map shmem'.
For more information, see
wiki.linuxcnc.org/cgi-bin/emcinf ... ckedMemory
HAL: ERROR: could not open shared memory
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: failed to map shmem
RTAPI: Locked memory limit is 64KiB, recommended at least 20480KiB.
This can cause the error 'failed to map shmem'.
For more information, see


i try fix it
operator1@debian:~$ ulimit -l
64

operator1@debian:~$ sudo /bin/bash
[sudo] password for operator1: 

root@debian:/home/operator1# su operator1

operator1@debian:~$ ulimit -l
20480

operator1@debian:~$ linuxcnc /home/operator1/linuxcnc/configs/st/st.ini

LINUXCNC - 2.7.15
Machine configuration directory is '/home/operator1/linuxcnc/configs/st'
Machine configuration file is 'st.ini'
Starting LinuxCNC...
.
Found file(REL): ./st.hal
Found file(REL): ./custom.hal
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
RTAPI: ERROR: Unexpected realtime delay on task 1
This Message will only display once per session.
Run the Latency Test and resolve before continuing.

waiting for s.axes
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/bin/axis", line 1325, in jogspeed_listbox_change
    if isinstance(value, str): value = value.encode('utf-8', 'replace')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
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
Shutting down and cleaning up LinuxCNC...
task: 32 cycles, min=0.000004, max=0.066255, avg=0.013887, 0 latency excursions (> 10x expected cycle time of 0.010000s)
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/operator1/linuxcnc_debug.txt
and
    /home/operator1/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
operator1@debian:~$ 

graphics and display settings also don't start
operator1@debian:~$ glxgears
Error: couldn't get an RGB, Double-buffered visual

operator1@debian:~$ glxinfo
name of display: :10.0
Error: couldn't find RGB GLX visual or fbconfig

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

More
26 Aug 2020 11:50 #179519 by tommylight
Replied by tommylight on topic Wheezy + RDP
VNC should work, although it was several years ago that i tested it.
www.google.com/search?source=hp&ei=h0xGX...IzA18Q4dUDCAY&uact=5

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

More
26 Aug 2020 17:56 #179560 by Mike_Eitel
Replied by Mike_Eitel on topic Wheezy + RDP
Not sure if i ever did in wheezy.
Did you mean xrdp.. And have you googled what to do?
Mike

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

More
26 Aug 2020 19:46 #179569 by Asher
Replied by Asher on topic Wheezy + RDP

VNC should work, although it was several years ago that i tested it.
www.google.com/search?source=hp&ei=h0xGX...IzA18Q4dUDCAY&uact=5


I tried TightVNC, also doesn't work

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

More
26 Aug 2020 19:53 #179572 by Asher
Replied by Asher on topic Wheezy + RDP

Not sure if i ever did in wheezy.
Did you mean xrdp.. And have you googled what to do?
Mike

Yes, xrdp. I googled, but on russian. I find it difficult to search for information in English.
on Debian 9 Stretch it works, but there are other problems.

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

More
26 Aug 2020 20:33 #179578 by tommylight
Replied by tommylight on topic Wheezy + RDP
Did you try to start LinuxCNC on the machine PC then connect to it ?

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

More
26 Aug 2020 20:57 #179584 by Asher
Replied by Asher on topic Wheezy + RDP
when connecting via RDP, a new session is opened

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

More
27 Aug 2020 07:36 #179668 by Mike_Eitel
Replied by Mike_Eitel on topic Wheezy + RDP
Yes. That is normal. But you must not be already logged in with the same user on the machine. That is different from windows.

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

More
27 Aug 2020 08:49 #179671 by Asher
Replied by Asher on topic Wheezy + RDP
Done. I have installed:
sudo apt-get install libgl1-mesa-swx11
The following user(s) said Thank You: tommylight

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

Time to create page: 0.128 seconds
Powered by Kunena Forum