Questions tagged [headless]

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

Filter by
Sorted by
Tagged with
340 votes
23 answers
185k 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 ...
Beeblebrox's user avatar
  • 4,013
164 votes
16 answers
122k 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 ...
Till B's user avatar
  • 2,363
201 votes
11 answers
332k 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 ...
11chubby11's user avatar
  • 4,784
34 votes
3 answers
43k 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 ...
Jon Egerton's user avatar
  • 3,083
19 votes
6 answers
27k 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 ...
EDP's user avatar
  • 1,691
33 votes
8 answers
26k 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?
Eric Wilson's user avatar
  • 1,735
56 votes
10 answers
150k 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 ...
Lemmy's user avatar
  • 663
101 votes
8 answers
112k 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-...
Day's user avatar
  • 1,153
30 votes
3 answers
71k 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 ...
katriel's user avatar
  • 681
6 votes
5 answers
30k 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 ...
Arlo's user avatar
  • 211
5 votes
3 answers
4k 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 ...
boolean.is.null's user avatar
4 votes
1 answer
3k 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 ...
AndreaNobili's user avatar
2 votes
1 answer
840 views

How do I setup wifi on without being able to login?

I have a laptop, a power cable, an sd card, and a Pi3 (wifi built in). I'm trying to ssh in but first I need to setup the wifi. Where on the boot partition can I setup wifi (cmdline.txt?) with a ...
Seph Reed's user avatar
  • 311
1 vote
1 answer
890 views

How can I diagnose a headless Raspberry Pi Zero W that hangs?

I'm trying to run my Pi Zero W as a motion detecting camera using RPI cam web interface but it keeps hanging after a few hours at most. Before it hangs, it can record motion detect videos and upload ...
John Haire's user avatar
1 vote
5 answers
21k views

SSH the Pi from computer with a USB cable only

I remember that when starting with Pi a few years ago (see this 2.5 year old question), it was impossible to SSH the Pi (without screen / keyboard / mouse) from computer with a USB cable only. One had ...
Basj's user avatar
  • 782
0 votes
2 answers
2k views

How to setup a headless Raspberry Pi for use with SSH now that adding /boot/ssh blank file is no longer enough?

In the past, adding an empty file /boot/ssh from Windows (because boot is a FAT32 partition if I remember correctly) was enough to setup a fresh RaspiOS install for a headless RPi without screen. Now ...
Basj's user avatar
  • 782
16 votes
4 answers
14k 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....
Kangkan's user avatar
  • 398
9 votes
2 answers
13k views

Pi 4B Won't boot without HDMI cable plugged to Monitor

I am a beginner with Pi. I got a Pi4 with 4GB ram and Rasbian Full Desktop installed, SenseHAT attached as well. I did the wpa_wifi config file and it works fine, will connect to WIFI with Monitor ...
Yitasha's user avatar
  • 93
8 votes
2 answers
5k 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 ...
Sparhawk's user avatar
  • 693
7 votes
6 answers
38k 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 ...
alcao758's user avatar
  • 171
6 votes
4 answers
13k views

Reaching my Pi with MDNS (Avahi)

I want to ssh into my Pi and I can do it right now with the ip address of the Pi. But I want to do it using mDNS. I want to connect using ssh raspberrypi.local. I read that this should work. on the pi,...
Maarten Meijer's user avatar
6 votes
1 answer
2k 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 ...
NiveusLuxLucis's user avatar
5 votes
4 answers
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 ...
dshaw's user avatar
  • 51
4 votes
0 answers
9k 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 ...
Philipp M G's user avatar
4 votes
4 answers
8k 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 ...
Tryum's user avatar
  • 149
4 votes
5 answers
19k 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/...
Danny Tuppeny's user avatar
3 votes
6 answers
3k views

Screen resultion when using VNC / headless

I have a Pi model 3B. I used Raspberry Pi Imager to install the latest Bullseye onto the SD card; the installation was successful. The Pi is attached to a monitor with HDMI cable. I have VNC and SSH ...
Daan's user avatar
  • 33
2 votes
1 answer
408 views

Pairing my Raspberry Pi with my Mac

I'm as new as possible to Raspberry Pi, and I'd like to configure the following: My Raspberry Pi connected directly to my Mac via an Ethernet cable, so that I can setup and run the RP entirely from ...
orome's user avatar
  • 219
2 votes
2 answers
577 views

How do I find the IP address of my Raspberry Pi 3B+

I don't have a HDMI screen, nor do I have access to the router. From what Ive been told, it has Kali installed. I am connecting the Raspb directly to the computer with a Ethernet cable. I have tried ...
Hakaari's user avatar
  • 21
2 votes
1 answer
3k views

Trying to get SSH over USB to work (Raspberry pi Zero W)

I'm trying to connect to my Raspberry Pi Zero W using SSH over USB. I've seen other people do it, and I have tried multiple different tutorials over the last few days, but none of them worked. I've ...
DaMightyZombie's user avatar
2 votes
3 answers
2k views

Get a pi running headless, first time use, with only NOOBS pre-installed on SD card

I got a pi3 with an SD card+adapter pre-installed with NOOBS. I'm wondering if there is some way to get this running headless through my laptop, on which I have Ubuntu 15.04 installed. I'm totally ...
MattF's user avatar
  • 51
2 votes
1 answer
519 views

SSH Via Ethernet Without Internet Sharing

I am working on a project that uses an SSH connection via ethernet to the Raspberry Pi. Currently I am doing this by enabling internet sharing via ethernet on my computer (OSX El Capitan). The point ...
Emmett P's user avatar
  • 177
1 vote
1 answer
178 views

Installing Raspbian Headlessly

I'm using a Raspberry Pi and I want to install Raspbian on it. I don't have a monitor, mouse or keyboard. How do I install Raspbian headlessly?
SkyPlayX's user avatar
  • 312
1 vote
1 answer
989 views

Run blender 2.8 headless on pi?

I am trying to run blender 2.8 headless on raspberry pi 3b+ running raspbian. I have downloaded the Linux version from the blender website. But whenever I open the executable called “blender” in ...
andesign's user avatar
1 vote
0 answers
377 views

xterm-256color behavior on Mac OS X

I have succeeded getting a minimalist connection between my Mac and my Raspberry Pi (RPi). With one USB-Serial adapter cable, I login to my RPi and do command-line work, even using Vim to edit files, ...
Daryl Lee's user avatar
1 vote
2 answers
6k views

How would I send files to Raspberry Pi through bluetooth without touching the Pi?

I want to be able to send code files to my Raspberry Pi Zero W from my Mac or Android phone, without needing to go do anything on the Pi itself. I was able to pair and connect to my devices with ...
SepSol's user avatar
  • 13
1 vote
1 answer
923 views

Shutting down my Pi safely

I was looking at How to shut down RPi when running headless and really happy to see the awesomeness! So, is it possible to use udev rule to shutdown my Pi when I switch off the router that connects ...
Kangkan's user avatar
  • 398
0 votes
1 answer
549 views

Raspberry Pi doesn't connect via SSh

I am quite new to the Raspberry Pi and to get used to it I wanted to start a project with it. The first step is obviously to flash an image (I am using Raspberry Pi Lite since the recommended one is ...
AVB's user avatar
  • 1
0 votes
1 answer
1k views

How do I setup Raspberry Pi 4 to use with a Windows laptop?

I'm a new user with my first Raspberry Pi 4 (model B), but don't have a separate monitor, keyboard and mouse. I would like to use my laptop (running Windows) to use the Pi. So far I have: Downloaded ...
AndroidNovice's user avatar
0 votes
0 answers
175 views

Direct SSH from Mac to Raspberry Pi on its own wifi

I'm as new as possible to Raspberry Pi, and I'd like to configure the following: My Raspberry Pi connected directly to my Mac via an Ethernet (or other) cable, so that I can setup and run the RP ...
orome's user avatar
  • 219
0 votes
0 answers
28 views

Trouble autoconnecting to wireless network after automounting USB drive

I'm having issues SSHing into a headless Raspberry Pi over the wireless network. I set up the fresh install properly with /boot/ssh and wpa_supplicant.conf, and I even modified etc/network/interface ...
mtl_zack's user avatar