Hot answers tagged

94

TL;DR or "Just scorch my pi" sudo apt-get remove --auto-remove --purge 'libx11-.*' sudo apt-get autoremove --purge (Repeat apt-get autoremove --purge until no orphans remain) Further explanation If a package foo depends on another package libfoo and you remove the libfoo package, the dependent (foo) is also removed. Because Foo has a depends line ...


56

I was able to remove the desktop environment include with Raspbian by first removing x11-common and then removing my 'stale' packages. sudo apt-get remove --purge x11-common sudo apt-get autoremove


35

You can use the command-line fbi app ("framebuffer image viewing"). The framebuffer is also what oxmplayer uses. Fbi is available from the raspbian repos and should be in any other GNU/Linux distro as well; it is not specific to the pi. It takes a filename or series of filenames, and you can use shell globbing for this, so e.g.: fbi *.jpg Will show all ...


32

You can do it on your own, or use what others have already done for you: 84 MB Minimal Raspbian ARMHF Image for Raspberry Pi 109 MB Raspbian Wheezy armhf Raspberry Pi minimal image 222 MB Hexxeh image


29

sudo apt-get install deborphan sudo apt-get autoremove --purge libx11-.* lxde-.* raspberrypi-artwork xkb-data omxplayer penguinspuzzle sgml-base xml-core alsa-.* cifs-.* samba-.* fonts-.* desktop-* gnome-.* sudo apt-get autoremove --purge $(deborphan) sudo apt-get autoremove --purge sudo apt-get autoclean The first line installs deborphan which will remove ...


28

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 #xserver-command=X. Change it to xserver-command=X -s 0 dpms It should be at line 87 if things don't change. Save and reboot. Source


24

Linux uses a heterogeneous GUI stack, meaning it's arranged in layers but there's different layers you can arrange. The bottom of the stack is relatively homogeneous, meaning it's almost always the same. This is the Xorg server joan has indicated. However, while X all by itself does provide you with a graphical desktop, it doesn't look like much -- plain ...


15

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


14

I think @Jivings answer may be better, but I have it in my notes to do this: Install apt-get install x11-xserver-utils Edit /etc/xdg/lxsession/LXDE/autostart Append these lines: @xset s noblank @xset s off @xset -dpms Possibly also comment out the line that says @xscreensaver -no-splash, so the complete file should look something like this: @lxpanel --...


14

$ sudo apt-get --purge remove "x11-*" This will remove all the packages that are under x11 which is the library with all the graphical packages. the option --purge allow you to delete all the config file related. $ sudo apt-get --purge autoremove autoremove removes all the unused packages. There are a lot of unused packages after the first command.


14

startx chromium --kiosk -- startx is a wrapper for xinit which starts an xserver and one client program. It should do exactly what you want.


14

You can apply hildred's suggestion permanently by creating a ~/.xinitrc file: #!/bin/sh exec chromium --kiosk This will then be applied if you are using a graphical login, so that you do not have to boot to console. To test it from the console, try startx with no arguments.


14

Systemd users "service bunlde" named target, to achieve different system states while booting the system. You need to change the desired state of the system, from graphical to multi-user. Run systemctl get-default Will show you graphical.target You could change it with sudo systemctl set-default multi-user.target I could recommend this article to ...


14

lscpu shows that it is little endian.


13

The way I've done it is to remove all the packages under the Installed Packages --> x11 category in aptitude, then run sudo apt-get autoremove, which uninstalls any leftover packages that aren't needed anymore.


12

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 minimal display manager that bypasses loading LXDE, and openbox (which is already installed on the Pi) provides a minimal session manager and works with the X ...


10

To prevent the screen from going blank try adding consoleblank=0 to the end of the first line of /boot/cmdline.txt Source


10

To access an UNIX server from a Windows client, my preferred combination is PuTTY + Xming. Xming is easy to install, lightweight, fast, stable, and works pretty well overall. The procedure (also explained here): Enable the X11 forwarding option in PuTTY (Configuration > Connection > SSH > X11 > Enable X11 forwarding) Start Xming on your Windows machine: ......


9

The GUI packages are referenced by the meta-package task-desktop. So it is enough to remove that meta-package: sudo apt-get remove task-desktop I found out the name of the package by running Debian-specific tasksel: tasksel --list-tasks tasksel --task-packages desktop


9

1/. To remove all desktops I just did (go make a pot of coffee. Take a walk this will take a while)... apt-get remove --auto-remove --purge libx11-.* 2/. Then I installed deborphan to get rid of orphaned files... sudo apt-get install deborphan If you want to see what has been orphaned do this... deborphan -sz 3/. Then I removed all orphaned files... sudo ...


9

Working cmdline for me (this way I display image on HDMI-monitor while connected to Rpi by ssh): sudo fbi -T 2 img.jpg


9

If you're running something that needs interaction you may want to consider using VNC. sudo apt-get install tightvncserver vncserver -geometry 1024x768 :1 DISPLAY=:1 lxsession & And then from your remote system use a VNC client (what one you needs depends on your other system) to access and monitor the application. You can use SSH forwarding of port ...


7

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, there's also the Raspbian UnAttended Netinstaller


7

I have never tried this, but since it seems you're still looking and haven't gotten an answer in almost a month, I'll tell you where I'd start. This how-to is ancient, but the general outline seems sound. You don't have to do everything exactly the same. It does focus on using a web browser as the centerpiece but that is mostly irrelevant here (i.e., ...


6

Alternatively, you can try this Raspbian minimal image: http://www.linuxsystems.it/raspbian-wheezy-armhf-raspberry-pi-minimal-image/


6

You have to define which display to use first : export DISPLAY=:0 xset s reset Hope this helps


6

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 apache etc). To do that, sudo nano /etc/rc.local Add your command before exit 0 line : like python /path/to/script.py >> /dev/null 2>&1 & where ...


5

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 x11 won't go because libice6 is installed # but this seems to trigger the same result sudo apt-get remove -y libice6 # Finally clean up sudo apt-get ...


5

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@octopi:~ $ sudo nano /etc/X11/xorg.conf.d/99-calibration.conf Section "InputClass" Identifier "calibration" MatchProduct "ADS7846 ...


5

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 via the command line: sudo apt-get install xserver-xorg-video-fbturbo This blew up due to the dependency on xorg-video-abi-23. Looking around with apt-cache I ...


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