Wheezy + RDP
- Asher
- Offline
- New Member
- Posts: 5
- Thank you received: 1
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.
- tommylight
- Away
- Moderator
- Posts: 19500
- Thank you received: 6539
www.google.com/search?source=hp&ei=h0xGX...IzA18Q4dUDCAY&uact=5
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1125
- Thank you received: 184
Did you mean xrdp.. And have you googled what to do?
Mike
Please Log in or Create an account to join the conversation.
- Asher
- Offline
- New Member
- Posts: 5
- Thank you received: 1
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.
- Asher
- Offline
- New Member
- Posts: 5
- Thank you received: 1
Yes, xrdp. I googled, but on russian. I find it difficult to search for information in English.Not sure if i ever did in wheezy.
Did you mean xrdp.. And have you googled what to do?
Mike
on Debian 9 Stretch it works, but there are other problems.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19500
- Thank you received: 6539
Please Log in or Create an account to join the conversation.
- Asher
- Offline
- New Member
- Posts: 5
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1125
- Thank you received: 184
Please Log in or Create an account to join the conversation.
- Asher
- Offline
- New Member
- Posts: 5
- Thank you received: 1
sudo apt-get install libgl1-mesa-swx11
Please Log in or Create an account to join the conversation.