- Posts: 5
- Thank you received: 0
Raspberry Pi 4 Tutorial - fatal error
sudo apt install OpenBox needs to be changed to:
sudo apt install openbox (at least on my system)
Please Log in to join the conversation.
zanga wrote: On the last page 'extras', since I was trying to do most of this via ssh, I forgot to enable root access via ssh before I logged out... it's easier if you just enable this at the same time you set the password for root
To enable SSH login for a root user on Debian Linux system you need to first configure SSH server. Open /etc/ssh/sshd_config and change the following line:
FROM:
PermitRootLogin without-password
TO:
PermitRootLogin yes
Once you made the above change restart your SSH server:
# /etc/init.d/ssh restart
[ ok ] Restarting ssh (via systemctl): ssh.service.
Once you change PermitRootLogin you can ssh root@192.168.1.xx?
JT
Please Log in to join the conversation.
zanga wrote: On the page for installing OpenBox
sudo apt install OpenBox needs to be changed to:
sudo apt install openbox (at least on my system)
That typo has been fixed, thanks for the report.
JT
Please Log in to join the conversation.
Its also best/easist to go ahead and reboot after renaming pi to 'newname' as there are still some processes running under pi so these 2 commands failed for me:
usermod -l newname pi
usermod -m -d /home/newname newname
until after a reboot and then subsequently logging in as root and then rerunning these commands worked fine. I'm sure could have hunted down and terminated the running processes but was just easier to reboot and then ssh back in as root to complete the 2 commands.
I haven't figured out how to add a menu item for linuxcnc in the openbox menu, it would be great if that was included in the tutorial.
Thanks kindly for putting together this tutorial it would have take me ages to figure all that out on my own.
Please Log in to join the conversation.
1. set root password
2. enable root ssh access in sshd_config
3. reboot
4. ssh as root
5. usermod -l newname pi
6. usermod -m d /home/newname newname
Please Log in to join the conversation.
1st error on startup says:
Found an error!
The following information may be useful in troubleshooting:
Traceback (most recent call last):
file "/usr/lib/python2.7/dist-packages/gladevcp/iconview.py".line 179, in __init__
self.dirIcon = self._get_icon("folder")
file "/usr/lib/python2.7/dist-packages/gladevcp/iconview.py". line 265, in _get_icon
return them.load_icon(name, self.icon_size, 0)
GError: Icon 'gtk-directory' not present in theme
(on a dialog box with an ok button)
after clearing that error, the traditional linuxcnc screen comes up and almost immediatly the second error dialog box comes up as follows:
Found an error!
The following information may be useful in troubleshooting:
Traceback (most recent call last):
File "/usr/bin/gmoccapy, line 5158, in <module>
app = gmoccapy(sys.argv)
File "/usr/bin/gmoccapy", line 336, in __init__
self._init_iconFileSelection()
File "/usr/bin/gmoccapy", line 2061, in _init_IconFileSelection
self.widgets.IconFileSelection1.show_filelabel(False)
File "/usr/lib/python2.7/dist-packages/gladevcp/
iconview.py", line 386, in show_fileLabel
self.file_label.hide()
AttributeError: 'IconFileSelection' object has no attribute 'file_label'
also with an "OK" button the dialog box. After clearing this dialog box linuxcnc aborts
It seems like there are some graphics resources missing but not sure what or where to get them...
Ideas?
Please Log in to join the conversation.
Please Log in to join the conversation.
- skunkworks
- Offline
- Platinum Member
-
- Posts: 351
- Thank you received: 0
sam
Please Log in to join the conversation.
unofficialpi.org/Distros/RealtimePi/nightly/
Please Log in to join the conversation.
If you find a solution let me know...
JT
Please Log in to join the conversation.
