Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [headless]

A headless system is one that runs without a monitor (the head).

Filter by
Sorted by
Tagged with
311
votes
21answers
148k views

Is the Raspberry Pi suitable for running continuously, 24/7?

I would like to run a headless machine to perform some basic automation and statistical generation (e.g. generating netstats, uploading to pvoutput.org), as well as any other trivial batch jobs that ...
160
votes
11answers
227k views

Prepare SD card for Wifi on Headless Pi

I need to SSH my Pi over wifi but because it is a model A board (using a usb hub is not possible - ever) and I have no ethernet, i can't configure the Pi to connect to my secured wifi network. I want ...
155
votes
16answers
113k views

Prepare for ssh without a screen

I have a Raspberry Pi model B at home, but I do not have a screen. My plan is to connect it to the Ethernet and then ssh into it. But this means that the SD card with the operating system (Debian ...
88
votes
8answers
91k views

How to uninstall X Server and Desktop Manager when running as headless server?

I'm using my Raspberry Pi as a headless server which I can ssh into. I don't need the X Server, LXDE etc. I'm running Raspbian "wheezy". I've already disabled "Start desktop on boot" using raspi-...
52
votes
10answers
132k views

Enabling SSH on RPi without screen - keystrokes for raspi-config?

I don't have a screen for my Raspberry Pi. I want to SSH into it, but I get Connection Refused, so I presume SSH is not enabled. As advised in other questions I have looked at enabling the ...
33
votes
8answers
17k views

How to shut down RPi when running headless

If I am running a Pi headless, is there a command I can use to safely shut down, or should I simply remove the power cord?
30
votes
3answers
35k views

Running Headless - checking boot screen messages

It's fairly easy now to run headless from scratch with a Raspberry Pi. One area that might have an issue though is debugging issues with devices that have been added to the Raspberry Pi. Often you ...
30
votes
2answers
62k views

How to get Wi-Fi to connect on boot?

Raspberry Pi Model B OS: Raspbian I am running my Pi headless (currently through a direct Ethernet connection). I have a USB WiFi dongle. I would like to have the WiFi start up at boot and connect ...
16
votes
4answers
10k views

Pi Headless: How to confirm that the Pi is shut down

I am running my Pi headless connected to my wireless router using a ethernet cable. I wanted to shut down the pi remotely even when I am not connected to it using SSH/Putty to shut it down exclusively....
15
votes
9answers
29k views

How do I discover the IP address of my headless RPi?

I've configured my RPi to be headless, and plugged it into my router. How do I discover the local IP address so I can ssh into it? Update: Lots of documents point out that you can log into the ...
12
votes
5answers
24k views

I failed to remote connect to Raspberry Pi 3 from Ubuntu

I just bought raspberry pi 3 with Rapbian Jessi with Pixel and I have a Lenovo laptop with Ubuntu 14.04 64 bit on it. I want to remote connect to it from my laptop. I enabled the VNC server on ...
9
votes
5answers
8k views

Use /boot/cmdline.txt for creating first-boot script

Many questions have been asked about how to find my Pi on my network. Others - including myself - have time consuming issues while trying to deploy a batch of fresh Pi's. While the creation of ...
8
votes
2answers
14k views

How do I set up wireless connections to Raspbian Stretch?

Some tutorials I found are outdated, but the following answer contains a collection of notes I have used to set up home, school(enterprise), & Ad-Hoc wireless connections on my Raspberry Pi 3.
8
votes
1answer
9k views

Connecting to a Raspberry Pi TightVNC server isn't working with Screenshare on Mac OS X?

I have a tightvnc server set up on my raspberry pi on port 1 but when I try to connect to it from my mac using the built in screen sharing client i get an error: Connection Failed to:192.168.1.127:1 ...
8
votes
3answers
907 views

Raspberry Pi 3 without screen, but with smartphone

I want to make a cool Raspberry Pi thing that will be put in people's cars. What it does is not important, but somehow people must be able to interact with it. The ideal solution would be that users ...
7
votes
2answers
2k views

How can I troubleshoot kernel panics?

My Raspberry Pi 3 has been working stably for a year now as a headless server. In the last month, it's started crashing frequently (every two days). I can attach a monitor and see that there has been ...
6
votes
1answer
19k views

Remote full reset (re-install) of a Raspberry

I've had a Raspberry Pi now for some time. I did a lot of fun stuff with it. A lot of the fun stuff is still on there, and that's not always fun. I could reset my Raspberry Pi by walking over to it, ...
5
votes
4answers
3k views

Safe way to shut of Pi without keyboard, access to command line ,etc

I'm trying to utilize a Pi on a high altitude balloon where I just stick the pi in and go, when I get it back though to shut it down...is there a safe way without access to monitor, keyboard, etc? It ...
5
votes
6answers
13k views

Cannot connect to Pi Zero through SSH headless mode

I have a Raspberry Pi Zero and I am trying to setup headless mode for that pi. I followed all the steps here, but I have no luck getting a SSH connection to the Pi. The microcontroller is running ...
5
votes
3answers
13k views

“Permission denied” for Raspbian default SSH password

I'm trying to set up a Raspberry Pi Zero W as a headless device on my local network, and am performing the initial setup with a fresh copy of Raspbian Stretch I've tried installing both the latest ...
5
votes
1answer
1k views

Raspberry Pi network crashes but can still ping

I have my raspberry Pi set up as a headless server running samba and deluge, where the OS's file system is mounted as read-only. It is connected by ethernet cable to the router, and has a USB hard ...
4
votes
2answers
1k views

Best practices for “hardening” an RPi for embedded applications (unattended operation)?

This is a very general question, but I'm sure others will want to know the answer... I'm using headless RPi's for a remote monitoring application. These RPi's will be buried in utility closets and ...
4
votes
6answers
6k views

SSH connection refused even though ssh file is in /boot

My image: 2017-08-16-raspbian-stretch-lite from here My Raspberry Pi: Raspberry Pi Zero W My computer: Linux (Fedora 26) What I did I followed the official instructions on how to flash the img to a ...
4
votes
3answers
3k views

Minecraft-pi on headless pi using ssh -X

Is it somehow possible to run minecraft-pi on a headless RPi using ssh -X? I had to add my user to the video group, but then I could start it via ssh, but all I get is a black, non-responsive window ...
4
votes
1answer
760 views

How to specify hostname in NOOBS installation files?

Is there some way to specify the hostname (instead of default "raspberry") that is used when doing a NOOBS (ver. 1.3.4 or 1.4.1) installation? The hostname is present in /etc/hosts and /etc/hostname ...
4
votes
1answer
608 views

Setting up Bluetooth to Act as a Headset

Background: I'm working on a project to connect a Motorola XPR 7550e to a Raspberry Pi B3+ via Bluetooth. The idea behind it, is to run a NodeJS application that listens to the radio and transmits it ...
4
votes
3answers
5k views

Raspbian Stretch SSH

I have a Raspberry Pi 3, which I have been running headless with Raspbian Jessie. Recently I flashed Stretch to my SD card, but when I boot that on my Pi, I can't connect to it over SSH. A little ...
3
votes
3answers
701 views

Is it worth it to upgrade to Jessie on a headless Pi2?

I'm running Raspbian (Wheezy) on a headless Raspberry Pi 2 at home to manage a number of services for my own amusement (*listed below) and to play around in general (** below). It's pretty much only ...
3
votes
1answer
2k views

What is the standard file system that a SD card have to use before write Raspbian using dd command?

I am very new to the Rasperry Pi and I am installing Raspbian in Headless manner. I have the following question. I have to write the Raspbian image on my SD card using the dd Linux command. The ...
3
votes
1answer
15k views

How do I change the default OS to start with NOOBS Dual Boot headless?

I installed two operating systems on my raspberry pi using NOOBS. In my configuration the pi works headless, that means I won't be able to chage the os to start at runtime since I have no monitor and ...
3
votes
2answers
832 views

Looking for a low-power, low-footprint WiFi solution

I am working on turning my Pi into a "Car-puter," and will be using one of the Pi-specific XBMC images (Xbian, Raspbian, perhaps OpenELEC). I would like to use the XBMC Android Remote app to be able ...
3
votes
2answers
471 views

NAS & Torrenting

I have a 512MB Pi, Wifi dongle, 1TB Lacie External HDD, 16GB USB Stick, Couple of SD Cards (mostly 10 class), USB 2.0 Self Powered USB Hub etc. I would like to control my Pi using Macbook which has ...
3
votes
1answer
954 views

Howto: Only Connect to WiFi if Ethernet is not available

Simple question: How do I set my Raspberry Pi to only connect to my WiFi network if the Ethernet is disconnected? So it should be something like: Booting up Checking if ethernet is connected Try ...
3
votes
2answers
673 views

Java headless or headful?

I've written a Java app with a GUI to run on the Rasp Pi. It runs OK with keyboard, mouse and display attached to the Pi. This has been fine for development, but I want to run the Pi without it ...
3
votes
4answers
6k views

Headless wifi configuration ( AP mode )

I'm looking for a solution for configuring wifi in headless mode, the same way as IoT devices : when not known wifi in range, toggle to AP mode with a predefined SSID, run a small web-server to list ...
3
votes
2answers
2k views

Connect to raspi over ethernet with no known IP

Is it possible to set the IP of a raspi from another connected device? I have my raspi plugged into the ethernet port on my iMac. The raspi doesn't have an IP (as far as I can tell), so I can't ssh ...
3
votes
1answer
7k views

How to use OS X Terminal and a USB cable with a Pi Zero?

I want to be able to use Terminal on my OS X machine to connect to my Zero directly over USB. How can I do this?
3
votes
4answers
17k views

How do I make “startx iceweasel” launch full-screen?

I've done a clean install of Raspian Lite on my Rasperry Pi (there is no desktop environment installed). I'd like a kiosk-mode browser running fullscreen without having to worry about maintaining/...
3
votes
2answers
5k views

Booting up a headless Raspberry Pi using Mac OS X

I bought the Raspberry Pi Model B (Raspberry Pi Ultimate Starter Kit off Amazon) thinking this would be my first and final purchase for a while, but have been unsuccessful in getting the computer ...
3
votes
2answers
7k views

How to get Pulseaudio working with Music Player Daemon?

I installed MPD, to prevent crackling sound I want to use pulseaudio. So I configured MPD to use pulseaudio: audio_output { type "pulse" name "MPD PulseAudio Output" server "localhost" } ...
3
votes
1answer
6k views

Best 64 bit OS for Pi 3 without screen [closed]

So I've been running my Pi 3 with Raspbian Jessie Headless and I've run into some issues with the fact that Raspbian seems to be 32bit and MongoDB requires 64bit. So I am looking for the best (...
3
votes
2answers
1k views

I can't connect to my Raspberry Pi until I curl to the connecting device

I have seen other questions on this board that are similar but I haven't seen an answer that works for me. I have a Raspberry Pi setup so that it can talk to the wireless lan. I am on an Airport ...
3
votes
1answer
639 views

How to get iPad to reliably connect to raspberry pi AP?

I am designing a car computer that is a simple readout and data logger using an OBD cable. I want to avoid buying a screen, so I am planning to generate a wifi network using an AP dongle I have, and ...
3
votes
0answers
8k views

Connecting a headless Pi Zero W to a bluetooth speaker

Edit: The problem does not occur using another bluetooth speaker. As that speaker is also the one I'm planning on using, the question is now only of academic interest. I'm trying to set up a small ...
3
votes
0answers
436 views

Can consolekit sefely be removed, when running headless (no GUI)?

Lately I am getting a lot of the following messages in my /var/log/syslog: Aug 26 07:48:20 raspberrypi console-kit-daemon[2376]: GLib-CRITICAL: Source ID 42 was not found when attempting to remove it ...
2
votes
4answers
13k views

How to troubleshoot a headless Pi that boots into emergency mode

What are the steps to take, files to examine on a memory card of a.headless Raspberry Pi running Raspbian that (unexpectedly) boots into emergency mode with a standard message: Welcome to emergency ...
2
votes
1answer
1k views

Does Raspbian run any GUI by default? Can I uninstall some of its components?

I have downloaded default Raspbian distribution and now I'm already installing stuff on the Pi. Because I have no HDMI cable, nor USB keyboard I do everything via SSH. Successfully so far. I also ...
2
votes
2answers
2k views

SSH and wpa_supplicant.conf file disappearing

I am trying to set up a Raspberry Pi Zero with Raspbian Stretch headlessly. From my understanding, in order to accomplish this task requires three steps: Flash Raspbian to a microSD (I did so using ...
2
votes
2answers
97 views

“Permission denied (publickey).” after flashing with Raspbian Buster Lite

I recently received a Pi Zero W, and I am attempting to set it up for the first time. I loaded a recent download of Raspbian Buster Lite, modified config.txt with "dtoverlay=dwc2" and cmdline.txt with ...
2
votes
2answers
269 views

Finding or mounting boot partition to create /boot/ssh

To permanently enable ssh for a headless setup, my understanding is that the simplest method is to create an empty file /boot/ssh on the boot partition. However, when I write to a file using this ...