/var/mail && thunderbird

See http://askubuntu.com/questions/1916/how-can-i-access-system-mail-in-var-mail-via-thunderbird. Create the account Thunderbird -> Edit -> Account settings -> Account Action -> Add Another Account -> Unix Mailspool (Movemail) Your Name: adr (mailspool) Email Address: adr@localhost Browse your mails Open Thunderbird then press Get Messages button; you […]

Angularjs project setup (NODE & YEOMAN)

see also https://docs.angularjs.org/guide/migration # general setup sudo ln -s /usr/bin/nodejs /usr/bin/node -> when node file is not found sudo npm install -g yo bower grunt-cli generator-karma generator-angular # see https://docs.npmjs.com/cli/view # npm help list # sudo npm list -gp […]

Linux errors/problems, tips & tricks

error # adr@adr-desktop:~$ su-to-root -X -c zenmap (gksu:24352): Gtk-WARNING **: cannot open display: adr@adr-desktop:~$ echo $DISPLAY … showing nothing … adr@adr-desktop:~$ export DISPLAY=:0.0 -> add this in .bashrc adr@adr-desktop:~$ su-to-root -X -c zenmap … now is working … # […]

Ubuntu: X11 forward to putty

Installation download http://cygwin.com/setup-x86_64.exe install X11 package configure /etc/ssh/sshd_config sudo grep -nri X11 /etc/ssh X11Forwarding yes X11DisplayOffset 10 Cygwin-X config make sure XWin Server shortcat contains the command below: F:\cygwin64\bin\run.exe –quote /usr/bin/bash.exe -l -c “cd; /usr/bin/startxwin — -listen tcp” configure putty […]

Ubuntu: login with certificate

See also https://adrhc.go.ro/wordpress/how-to-create-a-certificate/ for how to create public-pub.openssh. # Configure server # Uncomment in /etc/ssh/sshd_config: AuthorizedKeysFile %h/.ssh/authorized_keys # public-key in openssh format cat public-key.openssh.pem > ~/.ssh/authorized_keys # Configure client # id_rsa -> mandatory name # # private-key.pem.des3.bitvise must start […]