Posts

Showing posts from February, 2015

Remove little black rectangle on screen - raspberry pi

To rid yourself of the annoying little black rectangle do the following, its only a work around but it does work. Create a script, mine starts my kiosk as well so is called /home/pi/screen.sh this script should look like: #!/bin/bash startx –help while true; do chromium –kiosk –incognito –enable-plugins http://your web addresshere.html;sleep 180s;done The 2nd line is my kiosk – you probably wont need it but I put it there anyway. Then add the following line  @/home/pi/screen.sh to the file: /etc/xdg/lxsession/LXDE-pi/autostart Reboot and watch the splash screen followed by a brief black flash and then your screenly, kiosk, or whatever your running without the black rectangle.

Custom boot / splash screen - Raspberry Pi

Displaying an image during boot instead of the default command line scrolling text - custom boot/splash screen on Raspberry Pi This is based on the guide here.   This solution works but there are a few seconds of text shown before the boot image appears. To hide it edit /boot/cmdline.txt and change to: console=tty3 add  logo.nologo to see booting use alt+f3 Install fbi sudo apt-get install fbi Copy the splashscreen image to be used Copy your custom splash image into: /etc/ and name it "splash.png". Presumably the resolution to use is 1920x1080px. Create A Script sudo nano   Paste the following into the text editor: #! /bin/sh ### BEGIN INIT INFO # Provides: asplashscreen # Required-Start: # Required-Stop: # Should-Start: # Default-Start: S # Default-Stop: # Short-Description: Show custom splashscreen # Description: Show custom splashscreen ### END INIT INFO do_start () { /usr/bin/fbi -T 1 -noverbose -a /e

Centos 7 and XRDP

To install XRDP on Centos 7 the best way is : 1. install nux repo # rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm 2. Install xrdp with gnome and vnc server Install Gnome # yum groupinstall "GNOME Desktop" "Graphical Administration Tools" Install xrdp and tigervnc # yum -y install xrdp tigervnc-server 3. When  is installed, let`s start the xrdp service.   # systemctl start xrdp.service

Setup ssh keys between servers

1. Create key # ssh-keygen -t rsa 2. Copy id to other server #  ssh-copy-id [email protected] -- type password. From now on you can login without password just: #ssh server.address.com