Hot answers tagged

123

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 ...


40

You can enter the following three xset commands xset s off # don't activate screensaver xset -dpms # disable DPMS (Energy Star) features. xset s noblank # don't blank the video device into the /etc/X11/xinit/xinitrc file (You should insert these after the first line).


27

I had the same issue. At raspberry pi forum I found this: You need to edit your script that's starting X. In the default build with lightdm the file to edit is /etc/lightdm/lightdm.conf in the SeatDefaults section it gives the command for starting the X server which I modified to get it to turn off the screen saver as well as dpms [SeatDefaults] ...


26

A lot of it depends on the LCD module that you have, but I think you might have success buying one of these. I converted two of my old laptop screens to standalone monitors and in fact one of them is used as a monitor for the Raspberry Pi. Here is the link to the eBay seller from whom I bought my LCD controller. It's simple - just buy the controller, attach ...


20

I fixed this problem by installing xscreensaver via $ sudo apt-get install xscreensaver and disabling it from within the screensaver settings. Not the most elegant of solutions but it worked for me.


20

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 ...


14

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 ...


10

You can use VNC server on rarspberryPi and VNC clients on developers laptops. You can use tightvncserver package for this. In most typical setup, each client connecting to VNC will see exatcly the same screen, will control the same mouse pointer etc. I believe you would like to setup it so that every one that logs in gets his own individual screen. To ...


10

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

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 ...


9

Edit /etc/xdg/lxsession/LXDE-pi/autostart and add these three lines @xset s off @xset -dpms @xset s noblank Log out, log in, verify it's working with xset -q


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.


9

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.


9

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 -...


8

Here is a 12 part course about writing an OS for the Raspberry Pi from scratch. Part 6 is about graphics. I did not see OpenGL described there, but the examples talk about drawing pixels, then lines, and then text. The first lessons describe how to get the Raspberry to load and run your code.


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.


8

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.


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?


6

You could also run the Raspberry Pi as the wireless access point itself. All you need is a USB WiFi dongle (I used a RALINK RT5370). Instructions @ http://sirlagz.net/?p=589 Then use SSH or VNC as per above answer, I would recommend SSH myself as VNC with X and multiple sessions will probably bring the Pi to its knees very quickly


6

In case you'd want to build your own LCD controller, this guy seems to have it covered: LCD Controller - How to control a laptop LCD panel with an FPGA


6

If you take a look at the specifications (shown below) of this Furrion 19" HD TV, you see that it has HDMI input (actually 3), for the Raspberry Pi this is all that is needed to successfully use this combination. SPECIFICATIONS Max. resolution: 1366 x 768@60Hz HD Power supply: 100V-240VAC 60/50Hz Power consumption (standby)...


6

This display (according to the provided datasheet) is capable of communicating over SPI, that would make it a candidate to work with the SPI port that is available on the GPIO pins. But you said that you did not understand very much of the datasheet itself, that might already answer your question. If you don't have any experience with electronics and do ...


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)...


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