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)
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 ...
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.:
Will show all ...
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.
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 ...
I think @Jivings answer may be better, but I have it in my notes to do this:
Install apt-get install x11-xserver-utils
Append these lines:
@xset s noblank
@xset s off
Possibly also comment out the line that says @xscreensaver -no-splash, so the complete file should look something like this:
$ 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.
You can apply hildred's suggestion permanently by creating a ~/.xinitrc file:
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.
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.
Will show you
You could change it with
sudo systemctl set-default multi-user.target
I could recommend this article to ...
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.
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 ...
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: ......
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 --task-packages desktop
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...
3/. Then I removed all orphaned files...
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 ...
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
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., ...
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 ...
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 ...
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
MatchProduct "ADS7846 ...
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 ...