Hot answers tagged

60

Assuming that you are using Raspbian, it is actually rather simple to do what you ask. Simply open the terminal, and type in the following: sudo raspi-config The following window should show up Navigate to boot_behaviour and click enter. This should make it so that the GUI interface starts automatically.


44

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


32

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


30

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


22

I would recommend Tkinter, it is the standard GUI library for Python, and as a result is already installed. The IDLE IDE (which is included with the Raspbian image) not only supports Tkinter but is itself a Tkinter app. In addition most Python books will include at least a chapter on creating GUI's with Tkinter. If you prefer web resources you will want to ...


14

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 ...


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

$ 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.


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 ...


11

There are several programs to take screenshots. I use scrot, a command line utility wich is quite complete. In your case: sudo apt-get install scrot scrot -s and click on the midori window. You will get a timestamp-based png in the working directory of your terminal. See man scrot for more options!


11

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: network={ ssid="VostroNet" key_mgmt=WPA-EAP eap=TTLS //put your EAP method identity="xxxxx" password="xxxxx" phase2="auth=MSCHAPv2" }


10

If you are using Arch Linux, please install the X11 server. Follow the steps in Archlinux Beginners Guide first. And install your favorite WM. Add thise lines to your ~/.xinitrc: #!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*; do [ -x "$...


10

When you've logged in, just type startx on the terminal, then it should fire right up.


9

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 do_boot_behaviour() {...} 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 ...


8

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


8

In /etc/lightdm/lightdm.conf, find the line that says autologin-user=pi and comment it out; it should look like #autologin-user=pi You will have to do this as root.


8

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 man espeak to find how to change the voice. It should be ...


7

Just use the Print Screen key on your keyboard that will save a PNG image in your home directory (/home/pi) of the whole desktop.


7

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, ...


6

You have to install a GUI. According to this page on eLinux.org, Arch for the RPi does not come pre-installed with a GUI. To install any GUI with Arch, either just search the internet or use the Arch Wiki Here is how to install LXDE: pacman -S openbox lxde gamin dbus #Lxde and needed dependancies pacman -S xorg-server xorg-xinit xorg-server-utils #...


6

As mentioned you should probably adjust your memory split. The recommended memory split when running XBMC is 128MB. Run the line below and reboot: cp /boot/arm128_start.elf /boot/start.elf


6

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 ...


6

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: #!/bin/sh lxterminal I'm using ...


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 ...


6

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 ...


5

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


5

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.


5

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 ...


5

You have to use Upper-case X not a lower case x ssh -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 xhost + to allow incoming X11 connection from any host


5

Yes you can ssh to it or use app launcher to get a terminal but there is not much point as there is not even a package manager. For that reason I use OSMC because it's closer to a normal Debian.


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