I know this was asked a long time ago, but I found an solution to this problem.
If you start it using display :1 (or something more than 0), you have to enter the IP like this: 192.168.x.x:590<displayNumber> (like this 192.168.1.23:5901).
I hope this helps a future user
$ 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.
To make the answer a little more explicit, here are all the steps I took to get it working:
On the raspberry pi
Install tightvnc server (designed to support lower bandwidth)
sudo apt-get install tightvncserver
Configure vnc desktop with screen resolution and color depth
vncserver :1 -geometry 800x600 -depth 24
On the mac
Enable the native vnc client ...
OK... I managed to get this to work. This is what I did.
QT Core needs to be installed with
sudo apt-get install qt5-default
You'll need to copy over sip and PyQt5 to your Raspberry Pi (I used SFTP). Just put the tar files someplace that you can get to them easily.
You'll need to extract each of them, using the tar command, with the -xzvf tag so you'll ...
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 ...
Turns out it is just the GUI that does not support WPA2 Enterprise. Was able to connect to those grayed-out networks by manually modifying /etc/wpa_supplicant/wpa_supplicant.conf as follows:
eap=TTLS //put your EAP method
You can manually modify the raspi-config script as follows. Let's presume we're using the username "bob".
sudo nano /usr/bin/raspi-config
then search for
Under that, there's a line where we will replace the "-u pi" with "-u bob", leaving the rest of the line unchanged:
if id -u pi > /dev/null 2>&1; then
Next edit the ...
I am not sure how to make the gui, but I know how to do text-to-speech. You can use espeak:
sudo apt-get install espeak
espeak 'Hello world'
By default, espeak's voice is hard to understand (for me). To find a voice, use:
sudo apt-cache search espeak
Then, find a voice. Install it. Then, run
to find how to change the voice. It should be ...
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 only have limited experience with XBMC but strongly believe that that might already be over-complicated for 'the target audience' (this 90-year old woman).
However, I believe that this project is most certainly achievable on a RasPi. As I'm a webdeveloper I would suggest to build a simple webapp. I have no clue whatsoever if something like this exists, ...
Follow the step-by-step guide provided by yours truly :-)
First install XFCE4 (consider also installing the xfce4-goodies package for extra visual candy)
sudo apt-get install xfce4
Then list all installed LXDE-related apps
sudo dpkg --get-selections | grep "^lx"
...and remove them
sudo apt-get remove lxappearance lxde lxde-* lxinput lxmenu-data lxpanel ...
The basic issue is to circumvent any window manager, etc., that runs by default after you start X. If you use a display manager (this provides a graphical login screen) you should be able to do keep using it.
In any case, create a file in your home directory called .Xclients (with the leading dot) that looks like this:
I'm using ...
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 ...
The default from the last (2015-09-24), and as far as I am aware all previous, Raspbian images is indeed LXDE. This may depend on you running raspi-config, but both the "Desktop GUI" choices there enable lightdm, which then uses openbox and lxde. Raspi-config runs on the first boot, but if you exit it prematurely or without making a choice you may or may ...
As of Raspberry Stretch you can simple login to youruser and call
and in the Boot Options Menu "B" under "B1/B2" you'll find
.. automatically logged in as 'youruser' user
will be available as an option.
Select it and reboot.
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 ...
I posted this question in the Linux Stack Exchange as well, and a user named Vasa1 suggested to check
apt-cache show lxde
which listed all the associated packages with lxde, and therefore since lxde is a meta package, I therefore had to delete and remove the other associated packages in order to run startx to boot xfce4.
You won't see a big difference either way; GUI applications are actually not CPU intensive. Or at least, the GUI part of them is not; they may or may not be doing other things that are. To qualify that a bit further, if the application involves image processing or rendering special types of graphical documents (.pdf, etc.) to the screen, that's sort of an ...
You have to use Upper-case X not a lower case x
to enable X11 tunneling over SSH.
Also on host you are connecting from do:
export DISPLAY=<ip of your host from where you ssh from>:0
to allow incoming X11 connection from any host
I had a look at the example game you linked, and it looks to be an issue of processor architecture.
Your Pi has an ARM processor, which requires programs to be compiled specifically for ARM, whereas most desktops/laptops use a different architecture known as x86. The game you linked only has builds for x86 and x86-64 (you can see that in the contents of the ...
Personally, I myself would select a desktop app, but as for 'the best', there is none. However, I can say a few things:
Raspbian (or whatever you decide on) works with Linux, specifically Debian. Because of this, it is rather flexible, and you should be able to work something out. For example, I found this page on Electron
Chromium is literally Chrome ...
It is the sudo. sudo in its standard configuration resets the XAUTHORITY environment variable. see the xauth and sudo man pages for details.
the relevant part of my /etc/sudoers is:
Defaults env_keep += "DISPLAY"
Defaults env_keep += "...
Drawing directly on the screen (frame buffer) is actually much faster than using X when you are using Broadcom's VideoCore (OpenVG) library. The major resources you need to look at, including examples and source code, are already pre-installed on Rapsberry Pi. For example, try this in console mode:
I did a wee bit of time with Tkinter 15 years ago, then a few years later I did something with wx. While I was able to get stuff done, I found them a both a bit tedious. I don't know how much the situation has improved since I last used them -- or how much my own learning would make them seem easier today.
However, in the past few months, I've been ...
Call up the Terminal, type sudo raspi-config select boot-behaviour and choose Command Line.
When the Pi starts up, it will show a load of diagnostic reports and then a prompt for a username and password. To then get to the desktop, type startx
I had changed the pi user name and disabled the root account password, then followed direction in the previous answer including the suggested edit to this:
sed /etc/lightdm/lightdm.conf -i -e "s/^#autologin-user=.*/autologin-user=pi
but as Brandon indicated in his answer, I also had to edit the lightdm.conf file. Otherwise I got the graphical login prompt ...