Lunarvim not installing on clean minimal OS Raspberry Pi 3 B+. Control key also doesn't work

Server:
Raspberry Pi 3 B+
“Just installed”
Minimal OS

Control key stopped working after adding custom keyboard map.

Internet and passwords stopped working after changing passwords and adding nvim packages.

I can login and just figured out that if I can login as user, but can’t do ‘sudo’ or ‘su’, I can login as root as well.

It’s difficult to post any relevant info, because the server has no connection.
It’s not a hardware issue as I’ve switched raspberries and the issues are the same

yr-af.map



include "linux-with-alt-and-altgr.inc"

keymaps 0-3



    keycode   1 = Escape Escape
    keycode  14 = Delete Delete
    keycode  15 = Tab Tab
    keycode  28 = Return
    keycode  29 = Control
    keycode  42 = Shift
    keycode  54 = Shift
    keycode  56 = Alt
    keycode  57 = space   
    keycode  58 = Caps_Lock
    keycode  97 = Control


    keycode  41 = grave        asciitilde  dead_breve      dead_abovering

    keycode   2 = one          exclam      U+2216          exclamdown         
    keycode   3 = two          at          dagger          doubledagger
    keycode   4 = three        numbersign  U+08F6          sterling
    keycode   5 = four         dollar      U+20AC          yen
    keycode   6 = five         percent     permille        degree
    keycode   7 = six          asciicircum dead_circumflex dead_caron
    keycode   8 = seven        ampersand   paragraph       section
    keycode   9 = eight        asterisk    ordfeminine     masculine
    keycode  10 = nine         parenleft   guillemotleft   U+2039
    keycode  11 = zero         parenright  guillemotright  U+203A
    keycode  12 = bracketleft  braceleft   dead_diaeresis  dead_cedilla            
    keycode  13 = bracketright braceright  dead_macron     dead_ogonek
          

    keycode  16 = apostrophe quotedbl aacute      Aacute              
    keycode  17 = comma      less     oacute      Oacute       
    keycode  18 = period     greater  eacute      Eacute
    keycode  19 = p          P        uacute      Uacute
    keycode  20 = y          Y        U+12FE      U+12DE
    keycode  21 = f          F        ssharp      U+1E9E
    keycode  22 = g          G        U+01F9      U+01F8
    keycode  23 = c          C        ccedilla    Ccedilla
    keycode  24 = r          R        ae          AE
    keycode  25 = l          L        oe          OE
    keycode  26 = slash      question notsign     questiondown
    keycode  27 = equal      plus     multiply    division       


    keycode  30 = a         A          acircumflex Acircumflex
    keycode  31 = o         O          ocircumflex Ocircumflex
    keycode  32 = e         E          ecircumflex Ecircumflex
    keycode  33 = u         U          ucircumflex Ucircumflex
    keycode  34 = i         I          icircumflex Icircumflex
    keycode  35 = d         D          dstroke     ETH
    keycode  36 = h         H          U+1E11      U+1E10
    keycode  37 = t         T          U+0167      U+0166
    keycode  38 = n         N          ntilde      Ntilde
    keycode  39 = s         S          scedilla    Scedilla
    keycode  40 = minus     underscore U+2014      U+047E          


    keycode  44 = semicolon colon agrave Agrave           
    keycode  45 = q         Q     ograve Ograve
    keycode  46 = j         J     egrave Egrave
    keycode  47 = k         K     ugrave Ugrave
    keycode  48 = x         X     U+0175 U+0174
    keycode  49 = b         B     iacute Iacute
    keycode  50 = m         M     yacute Yacute
    keycode  51 = w         W     oslash Oslash
    keycode  52 = v         V     U+1E8B U+1E8A
    keycode  53 = z         Z     U+0225 U+0224
    keycode  43 = backslash bar   U+2192 U+2190 

wired or wireless ?
if you can log in as root do: passwd user_name
to set a new password for that user
the user needs to be in the “wheel” group to use sudo. in terminal type: groups
to list groups the user is in.
no idea on keyboard map, suggest putting back to default for now.

Wired.
I made the keyboard map myself, having removed everything I did not understand.

I think I figured out why control doesn’t work, because I have not mapped CTRL+keys.

[update]

CTRL+C works now, basically the only Control I know of.


include "linux-with-alt-and-altgr.inc"

keymaps 0-4


    keycode   1 = Escape Escape
    keycode  14 = Delete Delete
    keycode  15 = Tab Tab
    keycode  28 = Return
    keycode  29 = Control
    keycode  42 = Shift
    keycode  54 = Shift
    keycode  56 = Alt
    keycode  57 = space   
    keycode  58 = Caps_Lock
    keycode  97 = Control


    keycode  41 = grave        asciitilde  dead_breve      dead_abovering

    keycode   2 = one          exclam      U+2216          exclamdown         
    keycode   3 = two          at          dagger          doubledagger
    keycode   4 = three        numbersign  U+08F6          sterling
    keycode   5 = four         dollar      U+20AC          yen
    keycode   6 = five         percent     permille        degree
    keycode   7 = six          asciicircum dead_circumflex dead_caron
    keycode   8 = seven        ampersand   paragraph       section
    keycode   9 = eight        asterisk    ordfeminine     masculine
    keycode  10 = nine         parenleft   guillemotleft   U+2039
    keycode  11 = zero         parenright  guillemotright  U+203A
    keycode  12 = bracketleft  braceleft   dead_diaeresis  dead_cedilla            
    keycode  13 = bracketright braceright  dead_macron     dead_ogonek
          

    keycode  16 = apostrophe quotedbl aacute      Aacute              
    keycode  17 = comma      less     oacute      Oacute       
    keycode  18 = period     greater  eacute      Eacute
    keycode  19 = p          P        uacute      Uacute       Control_p
    keycode  20 = y          Y        U+12FE      U+12DE       Control_y
    keycode  21 = f          F        ssharp      U+1E9E       Control_f
    keycode  22 = g          G        U+01F9      U+01F8       Control_g
    keycode  23 = c          C        ccedilla    Ccedilla     Control_c
    keycode  24 = r          R        ae          AE           Control_r
    keycode  25 = l          L        oe          OE           Control_l
    keycode  26 = slash      question notsign     questiondown
    keycode  27 = equal      plus     multiply    division       


    keycode  30 = a         A          acircumflex Acircumflex Control_a
    keycode  31 = o         O          ocircumflex Ocircumflex Control_o
    keycode  32 = e         E          ecircumflex Ecircumflex Control_e
    keycode  33 = u         U          ucircumflex Ucircumflex Control_u
    keycode  34 = i         I          icircumflex Icircumflex Control_i
    keycode  35 = d         D          dstroke     ETH         Control_d
    keycode  36 = h         H          U+1E11      U+1E10      Control_h
    keycode  37 = t         T          U+0167      U+0166      Control_t
    keycode  38 = n         N          ntilde      Ntilde      Control_n
    keycode  39 = s         S          scedilla    Scedilla    Control_s
    keycode  40 = minus     underscore U+2014      U+047E          


    keycode  44 = semicolon colon agrave Agrave           
    keycode  45 = q         Q     ograve Ograve Control_q
    keycode  46 = j         J     egrave Egrave Control_j
    keycode  47 = k         K     ugrave Ugrave Control_k
    keycode  48 = x         X     U+0175 U+0174 Control_x
    keycode  49 = b         B     iacute Iacute Control_b
    keycode  50 = m         M     yacute Yacute Control_m
    keycode  51 = w         W     oslash Oslash Control_w
    keycode  52 = v         V     U+1E8B U+1E8A Control_v
    keycode  53 = z         Z     U+0225 U+0224 Control_z
    keycode  43 = backslash bar   U+2192 U+2190 

have you checked the wire on both ends make sure it hasn’t come lose ?
have you tried a spare wire to rule out the wire ?
have you tried rebooting the router ?

It doesn’t/didn’t work on either wire.

I seem to have connection again, but I’m not able to ssh into it yet.

$ ssh folaht@192.168.178.23
ssh: connect to host 192.168.178.23 port 22: Connection refused

I’m going to let nvim try and finish it’s updates first, which seems to take forever.

sudo systemctl enable sshd

1 Like

No, that can’t be it.
I did a sudo systemctl status sshd status check It’s already enabled.

The nvim update crashes the raspberry Pi by the way.
Or perhaps better said, nvim-treesitter update.

the minimal your using is the latest release?
https://github.com/manjaro-arm/rpi4-images/releases/download/21.07/Manjaro-ARM-minimal-rpi4-21.07.img.xz

Yes.
Okay, the ssh is working, I was tying in the wrong IP address.

Now the only thing I need fixing is the nvim-treesitter update, which doesn’t seem to finish and crashes my Pi.
Not sure what to do about that.

[update]

It’s getting obvious now that the nvim-treesitter update that runs, the moment I turn on vim is what crashes my raspberry Pi.

maybe try nano or the very basic vi(has to be installed).
you might need to add:
TERM=xterm-256color
to your .bashrc or export before command.

what are you ssh’ing from ?
vim/nvim/vi is not installed default, did you install?

Yes.
Like I said, I’m setting up all the packages I will need.

Nvim-treesitter is part of lunarvim I’m trying to install.
I tried reinstalling lunarvim and it seems to be getting stuck on the same package (#22).

Got it!

vim -u NONE ~/.config/nvim/lv-config.lua
-- O.treesitter.ensure_installed = "all"
++ O.treesitter.ensure_installed = "maintained"

That’ll make sure lunarvim doesn’t install unmaintained uncompilable faulty packages.

great glad you fixed it.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.