Hot answers tagged

28 votes

How do I prevent the screen from going blank?

The other solutions here did not work for me (fresh Raspbian, boot to GUI). Instead, this worked: Open up /etc/lightdm/lightdm.conf using your favorite text editor (I prefer nano). Look for the line #...
Aloha's user avatar
  • 7,116
15 votes

Boot without starting X-server

Accepted answer didn't work for me in "Jessie" version, I ended up using: sudo systemctl set-default multi-user.target Reference: Trying to turn off X11 in Jessie
crobicha's user avatar
  • 263
11 votes
Accepted

How to boot into own python script (GUI) only?

For the past month or so I've been working on basically the exact same thing, so I've researched how to do this a lot and know how to do it with the latest version of Raspbian (PIXEL). nodm is a ...
tjohnson's user avatar
  • 408
10 votes

How do I prevent the screen from going blank?

To prevent the screen from going blank try adding consoleblank=0 to the end of the first line of /boot/cmdline.txt Source
Tim Penner's user avatar
10 votes
Accepted

Xorg doesn't start after upgrade from Stretch to Buster

After enabling ssh, I could figure out that the xserver did not start. startx said "no screens found". So I tried out all the ways to config the pi in headless mode Editing the config.txt ...
Red's user avatar
  • 149
9 votes

How to Wake the Raspbery Pi Display Without Disabling The Screensaver

You have to define which display to use first : export DISPLAY=:0 xset s reset Hope this helps
Steve Lng C's user avatar
9 votes

Xorg not working after upgrading to buster

I had this problem as well and got around it by manually building and installing the fbturbo module from source after which I had my desktops back When I tried to to the install the missing package ...
Artifex's user avatar
  • 91
7 votes

How can I remove the GUI from Raspbian/Debian?

There is now also an X-less image by the foundation named Raspbian Jessie Lite: https://www.raspberrypi.org/downloads/raspbian/ And if you want an installer which installs only a minimal system, ...
Diederik de Haas's user avatar
7 votes

Xorg not working after upgrading to buster

I had the same issue. My root cause was that I forgot to update: /etc/apt/sources.list.d/raspi.list from stretch to buster sudo apt update reported an additional ~ 200 packages that could be upgraded....
snailhead's user avatar
6 votes
Accepted

How do I boot the RPi into a python GUI instead of Raspbian desktop?

Non-GUI script If I want to start any non GUI script, I prefer putting it in rc.local as by the time rc.local gets executed, everything is up by then (network, mysql and any other services like ...
dhruvvyas90's user avatar
  • 2,853
5 votes

How can I remove the GUI from Raspbian/Debian?

Jessie Raspbian took a different but similar path as other answers here. # First the jre needs X (boo!) so switch that out to a headless version sudo apt-get install -y openjdk-7-jre-headless # Next ...
squarism's user avatar
  • 151
5 votes

TFT LCD 3.5 display with inverted axis

Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1" worked for me too! after 2 afternoons of work it finally worked out Im using the 3.5 TFT GPIO verison - ADS7846 Touchscreen here is my file pi@...
Chris Rodriguez's user avatar
5 votes

Pi 4 X-Display resolution doesn't match frame buffer

The syntax for HDMI related settings in config.txt on a Raspberry Pi 4B appears to have changed, likely because the Pi4B has two HDMI outputs (numbered 0 and 1 in technical documentation, and somewhat ...
ArjenR's user avatar
  • 101
4 votes

How do I prevent the screen from going blank?

What worked for me was editing ~/.config/lxsession/LXDE-pi/autostart and commenting out the screensaver, all the other xset commands didn't seem to affect it when it is started here: @lxpanel --...
Jason Goemaat's user avatar
4 votes

Is there a GPU accelerated Xorg server?

Eric Anholt has been working on completely overhauling the Raspberry Graphics Stack since July 2014. This means it was done "properly" - everything is opensource and directly in upstream: kernel.org, ...
flakeshake's user avatar
  • 6,215
4 votes

Is there any way to get redshift to work?

The closed source graphics driver doesn't expose gamma ramps, which are what redshift relies on. To get gamma ramps, you'll need to switch to the open source graphics driver. Using raspi-config (...
Emma Anholt's user avatar
4 votes

X forwarding not working over ssh

In order to forward X display to your machine you need following: enable X forwarding on sshd on RPi (/etc/ssh/sshd_config: X11Forwarding yes) configure ssh client on your machine to enable X ...
Mariusz Zieliński's user avatar
3 votes

startx -- -layout HDMI -layout TFT # at the same time?

Yes it is possible. I took a look at the link that is provided and that make me on track, for my concern and now i can give a little back. First: I have createt a 99-fbturbo.conf in /etc/X11/xorg....
RAJensen's user avatar
3 votes

How can I remove the GUI from Raspbian/Debian?

$ apt-get --purge remove 'x11-*' $ apt-get --purge autoremove The first command removes many X11 packages, including the X11 core libraries. Since all other X11 packages (transitively) depend on the ...
maxschlepzig's user avatar
3 votes

How configure Xorg to disable DPMS completly on linux w/ SATO desktop

First, you need an output from xset -q. If you setup the Pie from ssh, add DISPLAY=:0 to every command that gives you unable to open display message: DISPLAY=:0 xset -q Then run xset -dpms xset s ...
Mikolasan's user avatar
  • 131
3 votes
Accepted

Set X background as soon as poosible

Are there any way to make X server to load/show its root window already with an image in it? Probably not completely, but keep reading. Although the 3 is the fastest pi, it is still not something ...
goldilocks's user avatar
  • 58.5k
3 votes
Accepted

TFT LCD 3.5 display with inverted axis

If your issue is the same as mine, the new Jessie kernel / img uses libinput as it's mouse drivers instead of the old evdev, which either ignores 99-calibration.conf or uses a different config file ...
Lightfire228's user avatar
3 votes
Accepted

How can I setup the video / graphics on the Raspberry Pi 3?

The options in order of decreasing age and stability : 1) The GPU 3D/Video BLOB which respects gpu_mem 2) The 2D framebuffer drivers fbdev / fbturbo 3) The in-kernel KMS/3D driver started by Eric ...
flakeshake's user avatar
  • 6,215
3 votes
Accepted

Installing XFCE4 on raspberry Pi

Xorg often needs root permissions to run properly, so it can be problematic to start it as a non-root user from the console. If you want to run it manually without sudo, you should install xserver-...
Dmitry Grigoryev's user avatar
3 votes

Touchscreen xinput calibration not working

Options defined in "InputClass" sections of Xorg configuration can be seen (and tested!) at runtime using xinput command. If your config file is valid, you should see something like this: $ xinput ...
Dmitry Grigoryev's user avatar
3 votes

Raspberry Pi ssh X11 Forwarding

Setting $DISPLAY variable to an IP address won't work unless you also run xhost on the X server (which is the Pi, aka "Client Side") to add the remote host to the authorized hosts list. You ...
Dmitry Grigoryev's user avatar
3 votes
Accepted

Change display manager from SD card

There's a good chance this is just the X server borking and not the whole system failing. Try holding down Ctrl Alt and then slowly cycling through F1 -> F6. If at some point you see a few lines ...
goldilocks's user avatar
  • 58.5k
2 votes
Accepted

How do I attach two monitors in a dual head configuration?

Well, now the Raspberry Pi 4 model B has come out with two Micro HDMI ports, so I think that gives the best solution to the problem? If you don't want a Pi 4, it seems that buying two Pis may still ...
Metamorphic's user avatar
2 votes

X11 forwarding with Xming over SSH?

Using Cygwin/X If you're not tied to Xming, you can instead use Cygwin/X for running an X server in Windows. Preparing the Raspberry Pi Try to establish a regular SSH connection from Windows to the ...
Matthias Braun's user avatar
2 votes

How to cleanly remove x11?

This answer shows up high in search for google "remove X11 ubuntu" so I thought it would help to update it for Ubuntu 18.04 sudo apt purge 'x11-*' sudo apt autoremove And given I don't like cruft in ...
eschipul's user avatar

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