Hot answers tagged

124

This no longer works since ssh is not enabled. Using only the laptop's screen and keyboard (both before and after installation), install and configuration for headless operation using SSH is possible using NOOBS (they call it "silent install"). It does not require a separate screen or keyboard/mouse. It does require an SD card reader on the laptop (built in ...


44

This is only for command-line interface, not for the Graphical UI. The easiest way would be connecting via SSH with a program called PuTTY (Windows), M-remote (Windows) or using the Terminal application in OS X or any Linux (no installation, already available). Terminal: enter the command ssh pi@raspberrypi Putty: select protocol SSH and enter hostname ...


22

Since I did this recently and took a couple of photos in the process, I figured I'd write a detailed guide. Things you can salvage Here are the things you might want to keep from your old laptop: the LCD panel (required) the CFL power module (if your laptop had CFL backlight) the LCD data cable the plastic lid case the internal speakers the laptop power ...


19

So after a lot of googling I found the codes that setterm should be sending to the tty and these two command unblank the screen every time. sudo chmod 666 /dev/tty1 echo -ne "\033[9;0]" >/dev/tty1 The only reason I can think of all the other commands (that should have worked) failing was because the Pi is connected via svideo to a tv and not HDMI or a ...


15

That cable is most likely a DisplayPort-to-HDMI cable not a HDMI-to-DisplayPort cable (mind the direction). While there are DP ports able to support HMDI signals (DisplayPort Dual-mode) HDMI does not support DP directly. Since HDMI data transmission is very different from DP there will be no simple (passive) cable that just re-routes some signal lines on the ...


13

Edit 1/1/2019: Since this answer continues to be popular, going to incorporate a change per bigjosh's comment. Around April 2017, Raspbian introduced a security change that no longer starts the SSH server by default (see this blog post). To enable the SSH server on boot, create a file named ssh on the boot partition of the Pi's SD card prior to trying ...


12

There is a blog post, Raspberry Pi Remote Connections – Without A Network!, detailing what you are looking for. Basically, this involves assigning a static IP address to both the laptop and the Raspberry Pi, then setting up X-server to stream the screen from the Raspberry Pi to your laptop. As this is an extensive walkthrough, please reference the link for ...


11

Hackaday.com: USING CELL PHONE SCREENS WITH ANY HDMI INTERFACE http://hackaday.com/2014/11/02/using-cell-phone-screens-with-any-hdmi-interface/ Has a video specifically using a raspi and iphone 4 screen.


10

For a headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD card. When the Pi boots, it looks for the ssh file. If it is found, SSH is enabled, and the file is deleted. The content of the file does not matter: it could contain text, or nothing at all.


10

You did not indicate of you where in the terminal or GUI and what you were doing when the Raspberry Pi became frozen. Sometimes the GUI or even the terminal can freeze, but the operating system is still running, fully functional. What you can do is to switch to a "backup" text terminal. Pressing CTRL+ALT+F1 will switch to one of the "backup" terminals ...


10

Method 1: Blank the screen without turning the power off to the HDMI port. You might need to set the screen's default state to blank (I didn't): xset -display :0 s blank Turn the monitor to it's default state (black hopefully): xset -display :0 dpms force off Turn the monitor back on by hitting a key, moving the mouse, or using this command: xset -...


10

I figured it out. Screen Configuration tool is just a GUI for XRandR. We can use, DISPLAY=:0 xrandr --output $monitorName --rotate $orientation Where $monitorName is the display name from the output of DISPLAY=:0 xrandr. $orientation is left, right, inverted, or normal.


9

It is doubtful that the connections from a cell phone LCD screen would be optimal to use with your Raspberry Pi. That said, I'm positive it's possible. But, why even go to the trouble? With multiple LCDs made specifically for the Raspberry Pi today (some of them touchscreens!), it is more practical to buy an LCD than to salvage one from a phone and use it....


9

We (@RPi Awesomeness and @Dam Underscore) resolved this in the chat. None of the tutorials or answers he was trying were working, so we tried to figure it out and we did. Turns out the OP was using NOOBS and thus couldn't find the cmdline.txt file required for the tutorial he was following. So, I told him to download Raspbian & go with that. Whether or ...


9

The short answer is, make sure you download the offline install version of NOOBS, then edit the file recovery.cmdline and add silentinstall on the end of the first line. That will auto install raspbian, and reboot into the desktop when finished.


8

You can change the display resolution graphically (without using Terminal) on Raspbian GNI/Linux 8 (jessie) using following window. Application Menu > Preferences > Raspberry Pi Configuration > System > Set Resolution. Similar Question Thanks Darth Vader, techraf and goobering for the advices.


7

Yes, this is possible. You can achieve this by using a framebuffer driver from the fbtft project. According to the list of supported devices on the projects wiki, Nokia 5110/3310 displays are supported. These display modules are readily available on eBay.


7

One of the things that I have read a hundred times in dealing with anything attached to the USB on any model of RPi is to make sure that you have a decent Power Supply (2 or more Amps) or use a quality powered USB hub. Could it be possible that your WiFi dongle isn't getting enough power now because the HDMI screen is too greedy?


7

I know this is an older question now, but I was having this exact same issue with my Raspberry Pi 3 B+. I found out that the issue for me was caused by having GL Driver set to "Full KMS". Once I set it to "Fake KMS" I stopped having freezing problems. In terminal type "sudo raspi-config" Go to "Advanced Options" Go to "GL Driver" Select "G2 GL (Fake KMS)" ...


6

You just need to add a file named 'ssh' to the noobs partition (you can do it right when copying fresh noobs files to a clean sd card) and it will enable ssh for raspbian when you install it from this noobs setup (including for subsequent raspbian reinstalls, i.e. this 'ssh' file on noobs partition will be persistent and have effect for every time you (re)...


6

Question ILI9341 SPI 2.8" Touch TFT LCD Arduino Shield Rpi3B+ OK? How to connect? Short Answer (S1) Yes, it is OK to use the ILI9341 Arduino Shield for Rpi. The following is the wiring for using SPI mode interface. ILI9341 Touch LCD Arduino/STM32 Shield to Rpi3B+ GPIO Wiring V0.1 The following GitHub driver by juj has a comprehensive tutorial ...


5

If you want to do it cheaply, there is a VGA to LVDS board available on ebay for about £3.50. Used in conjunction with an HDMI to VGA connector (again about £2 on ebay) you could get your screen working with the raspberry pi. You may also need an inverter (about £1.50 on ebay) Total cost: about £7 The LVDS boards support a variety of screen resolutions in ...


5

It is because /boot/config.txt is not created from the template. I just added 2 lines of settings on Windows. Every time raspbian boots, the file is overwritten by the template. After editing the /boot/config.txt from SSH, it works now. uncomment the 2 lines from the template hdmi_drive=1 hdmi_force_hotplug=1


5

http://www.winds.org/pub/grdl/ANSI.txt ESC[9;#] is to set the timeout for screen blanking. If you want to leave the timeout value alone, then use ESC[13] to unblank a screen. So, depending on your shell (I use tcsh) a simple echo would be echo -n "\e[13]" > /dev/tty1 Using the above example echo -ne "\033[13]" > /dev/tty1 I saw no need to chmod 666 /...


5

Hardware. This is not gonna work via hardware alone. Your laptop motherboard is hard-wired to output video to the laptop-screen. Most - if not all - laptops do not have a video-in. //EDIT// Checking the related questions section, showed that it could be done using only hardware: Connect Pi to an old laptop screen LAN + Software. Copy an operating system ...


5

Updated answer Since this answer is old and you need to install PHP first here is an out-of-the-box solution for macOS and *nix System (and Ubuntu Subsystems on Win10) sudo nmap -sS -p 22 192.168.100.0/24 After this scan nmap shows every hosts with an open SSH port and also the network chip manufacturer. Note that for headless setup you need to enable ...


5

I found this guide to be the most useful. An important update in setup: ssh is disabled by default on the newest images. You have to create a new file ssh in /boot (can be empty). E.g. touch /Volumes/boot/ssh


5

I figured it out how to fix this problem. After the sudo tvservice -p command, run this: sudo chvt 9 && sudo chvt 7 That works for me!


5

The maximum resolution the rPi can output (through its VideoCore IV chip) is 1920x1080. This is a 16:9 aspect ratio. This link on raspberrypi.org shows that it is possible to get a 21:9 aspect ratio working - There are people that report being able to run at 2560x1080 on OpenELEC. You will need to play with the HDMI timings in config.txt. Executing ...


5

If you're talking about this screen I'm afraid there is no drivers available for it. I've asked a similar question on the RaspberryPi.org forum a while ago but the question was left unanswered though. I've also tried to rewire, but no avail. I'm afraid your LCD will have to stay married to your old Pi.


Only top voted, non community-wiki answers of a minimum length are eligible