needs.md 2.3 KB

Emacs config needs

  • geiser
  • paredit
  • CJ's random keybindings and functions

  • switching evil on and off

  • (keybindings issue when using the terminal)

Jorge:

  • evil
  • lispy
  • lispyville
  • rainbow delimiters
(specification->manifest
  '("emacs-geiser"
    "emacs-paredit"
    "emacs-evil"
    "emacs"
    "emacs-lispyville")
guix system reconfigure /etc/myconfig.scm

VNC

Server side

tigervnc server (formerly vnc4server) xmonad

    cat > .vnc/xstartup
    #!/bin/sh
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    #x-window-manager &
    #term
    emacs --fullscreen

    chmod +x .vnc/xstartup

    # start on server
    vncserver :14

    # stop on server
    killall Xvnc4

xvncviewer -shared -passwd ~/.chrisirc_servi/passwd localhost:14

adduser   --shell=/bin/true --disabled-password  christian
  • ssh key:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhjaK5eG211qk2WbZgeMQNjIbpqVaR8B24Ji/fo4xp+XZ9e538jAjpz9xrOgADwVjb9U8djh44MNn6CrESRx7vWAVRxE2tnMo4sHa2j8xzU6Amth9fmrRqwPwwXZNOW/av2TrrB7/pTkHDzTs9N/Pcms6FPDhnTDhKLNt1eH+JGVKlmnObhsFrviQqASF1+LBl6ZuDpElJ14tQudzKIiBhU8yRPGBrYLFzL1pwGHivHNZ7Mtih6NikeBx2dCReWAqeSCS6oqZq84uBlGaIZh4AyzCZ+SSkQOZzaAHIaaTkIldPVMv8Gsc1ZMEUf72C1U+l1qjhAlr9+5zNDm+ZK3dl rustaceans@dull

  • put into ~christian/.ssh/authorized_keys
su -s /gnu/9t83yt9q283g9328g/bash - christian
umask 077; mkdir .ssh; cat > .ssh/authorized_keys # paste key, then ctl-d
cat > .ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDhjaK5eG211qk2WbZgeMQNjIbpqVaR8B24Ji/fo4xp+XZ9e538jAjpz9xrOgADwVjb9U8djh44MNn6CrESRx7vWAVRxE2tnMo4sHa2j8xzU6Amth9fmrRqwPwwXZNOW/av2TrrB7/pTkHDzTs9N/Pcms6FPDhnTDhKLNt1eH+JGVKlmnObhsFrviQqASF1+LBl6ZuDpElJ14tQudzKIiBhU8yRPGBrYLFzL1pwGHivHNZ7Mtih6NikeBx2dCReWAqeSCS6oqZq84uBlGaIZh4AyzCZ+SSkQOZzaAHIaaTkIldPVMv8Gsc1ZMEUf72C1U+l1qjhAlr9+5zNDm+ZK3dl rustaceans@dull

r w x 4 2 1 072 2 - world does not have write permission

umask 073; # 2 + 1

Client side (Linux)

ssh-keygen

cat .ssh/id_rsa.pub
cat .ssh/*.pub

ssh tunneling:

yourserver-tunnel

ssh -N \
    -L5914:localhost:5914 \
    yourserver
(services
(service mentoring-service-type
    ;; ssh-tunnel-service-type ;; 
    xorg-service-type
    sshd-service-type))