User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Adding X to Jessie Lite

Sun Apr 24, 2016 2:56 am

I did it because it was a piecemeal download and I'm not interested in the games and educational packages in the full version. I installed some bigish X apps and let those dependencies fill in the basis of X. Installing the xinit deb got startx working and it's mostly been downhill from there.

But I wonder if anyone's installed the full image, done dpkg-query -l > file, then done the same thing with the lite image and done a diff of the package lists?

I'm seeing weird things wrong like something's still missing. My LXDE clock digits are black on a dark gray background. The Debian wallpaper shows banding over the gradient, like I'm in 256 color mode. When I run Synaptic I see white text on a black background, yet Iceweasel, Filezilla, Lazarus, Gimp, Gtkam look normal (different widget set?). I installed the X basic utilities so I could get a screenshot of Synaptic, but xwd gives an error that X_QueryColors failed. I run xrandr and it fails to get the size of gamma. From my xorg log it looks like I'm running depth 16 (really?). Looking at photos online in Iceweasel I don't think so. OK, maybe just the framebuffer. Nothing else looks odd in the xorg log.
Attachments
synaptic.jpg
Bad cell phone photo
synaptic.jpg (24.55 KiB) Viewed 7538 times

klricks
Posts: 8474
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA

Re: Adding X to Jessie Lite

Sun Apr 24, 2016 3:34 am

The lite version is really intended for server or headless operation. IMO you are better off installing the full version then removing some of the heavy applications to regain some disk space. (wolfram-engine, Scratch, libre office etc)
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Adding X to Jessie Lite

Sun Apr 24, 2016 3:49 am

To go from jessie-lite, to jessie-lite plus gui:

Code: Select all

sudo apt-get install raspberrypi-ui-mods

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Sun Apr 24, 2016 5:32 pm

Well, it helped the colors. I rebooted and found my Windows-ish task bar at the top of the screen and no pager. Did a few things like test the Pi on the monitor I want to use eventually to see if my config.txt would give me video, it did, but didn't boot all the way. So I moved everything back down here, re-tensioned and cleaned the SD card contacts. Booted back up, typed startx and I find myself in OpenBox, I think. The screen acted a little like fvwm in that I right-clicked on the full-screen Pi wallpaper finally and saw a small menu with obconf listed. That didn't work, had to cycle power.

Now I'm looking at mc in text mode wondering how I can switch window managers back to LXDE from here, or use FVWM which I installed first. My first thought is to change /etc/X11/xinit/xinitrc to make it look like a more straight-forward OpenBSD one, not use Xsession. Except when I connect over VNC Xsession is still going to get used I think. Sure wish mc were part of the standard Pi package.

I found startlxde and startlxde-pi but they say they can't open the display, like they need to be called from xinitrc. Commented out the last line of xinitrc, called startlxde from there, and now I'm back in LXDE, but still with what looks like low color depth. I like the lite-ness of it though, top shows me load averages like 0.04 with X running.
Attachments
synaptic2.gif
xwd -> gimp -> gif
synaptic2.gif (5.21 KiB) Viewed 7404 times

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Adding X to Jessie Lite

Sun Apr 24, 2016 9:01 pm

Don't compound the problem by doing my suggestion as well, do a clean install and start again.

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Sun Apr 24, 2016 10:45 pm

I did your suggestion but ended up here in OpenBox. I think LXDE was derived from OpenBox originally. I've been an rxvt user for 15 years or more, never paid much attention. Maybe it's like planting seeds from a hybrid crop and they come up as one of the original crops.

I left my Pi running with a terminal window open in an LXDE screen, came back about an hour later and it seems to have lost connection with the SD card. echo $PATH works, but df, ls, which, mount all give errors. This probably won't reboot nicely. Oh well, at least I've got my debs backed up on another machine and my changes to config.txt and interfaces. This Pi has never been super reliable. Most of my icons have little red Xs in them now. I did try downloading the big image originally but after about 36 hours of downloading all I had was a corrupt image. I've got a NetBSD image I haven't tried yet. And I could try a different SD card but this is a Sandisk 64 gig.

It booted back up fine, haven't gone into X yet. Hah! Copied in my xinitc from my OpenBSD laptop and it works. I'm in fvwm, Lazarus works at least. xdpyinfo says screen0 (default) has a depth of 16 planes. Maybe I'll try an org.conf. Fun anyway and I can reload the SD card. I've got a working C compiler and make, plus the libraries to compile at least simple stuff.

I went into config.txt and selected a lower resolution mode, thinking it might give more colors. Nope. In raspi-config I adjusted the split to give the GPU 64 megs of RAM. No difference. I wondered about firmware so I installed rpi-update and ran it. It wanted to up the kernel from 4.1 to 4.4 so I said no. If I go to my area on Nikonians and look at photographs in Iceweasel they look normal, but if I try to open one locally in qiv I get a black screen. It's almost like some things are using a colormap but not everything. Some programs get a different color depth than others.

One of the things I wanted to use this for is remote photography. I've got a spare Nikon Coolpix P520, I'd like to connect that with gphoto2, use an antenna rotator to turn it, something for elevation, tied to the GPIO pins. The camera has 43:1 zoom and if supported by gphoto can focus manually, takes 18 megapixel images. I'd like to write something to drive this over the web. I suppose I don't really need X since the Pi would be mounted at the camera but it would be helpful for development. Libre Office bogs down even my fastest machine, I'll skip trying to run that. Never mind, the P520 can only do PTP mode, can't capture or be configured by gphoto2. So it's the Pi camera I guess.

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Tue May 03, 2016 2:13 pm

Well, over a week later I've still got Openbox. It's now working quite nicely both over VNC and on the actual HDMI output. Since I'm hopefully only a few more days away from having the full image downloaded I'll live with it.

The key to switching window managers I think is Debian's "update-alternatives". You can set the category (probably not the right name for it) x-window-manager to lxde, right now mine's set to openbox. Except my lxde isn't complete, I think I need to add the deb task-lxde-desktop. Which has a list of dependencies a mile long, at least in my case.

I've almost come to the conclusion that if you're on a low bandwidth connection you should NEVER use apt-get update and certainly never apt-get upgrade. I spend huge chunks of my life just updating software, trading one set of bugs for another. Some of my software is at least a week old, and it'll take me days to update it, by which time it'll be obsolete again and I can start over. This is a complaint against Debian, not the Pi. I've got a couple other Debian systems, one of which I haven't broken by not putting on my blinders and only doing things the Debian way. There needs to be a way to turn off its greed for consuming bandwidth. 80% of the world has good internet, I won't have for a couple more years https://cyber.law.harvard.edu/publicati ... case_study.

I much prefer the OpenBSD way of doing things, but I can't talk OpenBSD into considering the Pi because of the BLOBs (see https://news.ycombinator.com/item?id=10162101) and I don't have the knowledge to do the work myself. An OpenBSD release comes out every 6 months, and with it knowledge of a certain set of programs, including version numbers. Stick with those and most things work fine. I usually update about every 2 years because it takes me about 2 months. If I break something I can usually fix it without a complete reload because it's a simpler system. Debian doesn't want you to install programs that didn't come through them, I do it fairly often with OpenBSD, which I've been using since about 2001.

Anyway, with most of the BSDs you install a few base packages, and if you want X you install a few X packages. Other than minimal editors and compilers these don't include anything huge like Libre Office, those in are their own packages. I'd like to see a Lite with X or a pseudo-package for adding X to Lite. It's not the space, it's the download time. I work with 32, 64 and 128 gig SDs, I don't mind the space.

I've added something like: raspberrypi-ui-mods, xinit, lxde, evdev, fbturbo and next task-lxde-desktop It is possible. I don't remember when the low color depth issue went away but it did.
1024x768_vnc_fz.gif
VNC from an OpenBSD machine
1024x768_vnc_fz.gif (39.95 KiB) Viewed 7208 times
Last edited by ab1jx on Tue May 03, 2016 3:42 pm, edited 2 times in total.

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Adding X to Jessie Lite

Tue May 03, 2016 3:06 pm

ab1jx wrote:I've almost come to the conclusion that if you're on a low bandwidth connection you should NEVER use apt-get update and certainly never apt-get upgrade. I spend huge chunks of my life just updating software, trading one set of bugs for another. Some of my software is at least a week old, and it'll take me days to update it, by which time it'll be obsolete again and I can start over.
They do seem to push a lot of bits through that don't seem to change anything. If you've got a slow connection, and I'm not sure what that means so I'd define that as something like a 56K modem speed, then what you should do is save your apt-get cache materials so you can avoid downloading them more than once. Having a local source for your updates radically speeds things up if you've got more than one system and sets a defined time for doing the job if the update is in the cache, a good idea if you need it updated at a time certain. If you've ever had 150 meg to download and its coming in at a meg a second and then suddenly it is going at 10 bytes a second and the total time for the job changes to days from minutes, you know what I mean.

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Tue May 03, 2016 4:47 pm

Over dialup 56k modem which usually works at about 30k out here, I used to get 10 megabytes an hour or realtime monitoring 3000 K bits/sec. On my cell phone connection most of the time I get about 7000 K bits/sec. Before I retired I had access to a good connection at work, a CD ISO took a couple hours.

I thought all debs ended up in /var/cache/apt/archives so I was keeping careful backups of that. Only now I find stuff missing and I've looked through all my backups. Lazarus especially right now, I've had to replace joe and mc. If you use Synaptic you can select things, it will add the dependencies it needs, then have it generate a download script which calls wget. Then when you're done you either point Synaptic to where you put the files or cd in there and do dpkg -i *.deb.

I started downloading Raspbian Jessie by torrent 6 days ago and I'm at 58%.

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Adding X to Jessie Lite

Wed May 04, 2016 1:51 am

ab1jx wrote: I started downloading Raspbian Jessie by torrent 6 days ago and I'm at 58%.
I can mail a card to you, it might arrive quicker than your download :)

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Wed May 04, 2016 1:32 pm

Actually I'm reasonably happy with what I've got except I'd like to see Mathematica. Back when I was trying to get through calculus 20 years ago we used a similar competing program called MathCAD. Once in a while it would be handy to have something like that although I've got Octave. I buy a $35 computer and it comes with Mathematica? I want to try it.

asandford
Posts: 1998
Joined: Mon Dec 31, 2012 12:54 pm
Location: Waterlooville

Re: Adding X to Jessie Lite

Thu May 05, 2016 9:09 pm

ab1jx wrote:Actually I'm reasonably happy with what I've got except I'd like to see Mathematica. Back when I was trying to get through calculus 20 years ago we used a similar competing program called MathCAD. Once in a while it would be handy to have something like that although I've got Octave. I buy a $35 computer and it comes with Mathematica? I want to try it.
Quite a few of my workmates are US based, and I'm pretty sure we could get a 32GB card with 'full-fat' jessie to you within a week or so.

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Thu May 05, 2016 10:58 pm

That's OK, I'm at 80%, should finish by the weekend. Thanks though.

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Sat May 07, 2016 4:20 pm

Finished and passed the SHA. Only 10 days. I'm not sure all the extra connections are wise on a slow connection. It's very aggressive about hogging all the bandwidth, doesn't help that much to reduce the download speed. From my standpoint the only advantage I see over normal FTP is that each piece is checked so once it's done it's really done, but I rarely get a corrupted file over FTP with wget, maybe once a year.

I do hope to do some serious work comparing what debs are installed in the two versions with an eye toward streamlining adding X to Lite.

So, no mc, joe, Lazarus, tcsh, Filezilla, Gimp, Inkscape, rxvt, none of my usuals. Oh well. But very impressive for the size and price.

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Sun May 08, 2016 4:45 pm

This is what's in the full version that isn't in the Lite version. I just wrote a little program to read the output of dpkg-query -l and make 2 tables in an Sqlite database then basically did a "find unmatched" query (SQL copied from MS Access).

That was the easy part, starting with a Lite image on a blank SD and installing just enough to make X work will take longer, with trial and error.

There are 408 debs in Lite, 1147 in the full version, a difference of the 739 below.

Code: Select all

adwaita-icon-theme alacarte alsa-base aspell aspell-en blt bluej claws-mail
claws-mail-i18n coinor-libcbc3 coinor-libcgl1 coinor-libclp1
coinor-libcoinmp1:armhf coinor-libcoinutils3 coinor-libosi1 cryptsetup-bin
cups-bsd cups-client cups-common dbus-x11 dconf-gsettings-backend:armhf
dconf-service debian-reference-common debian-reference-en desktop-base
desktop-file-utils dh-python dictionaries-common dillo eject emacsen-common
epiphany-browser epiphany-browser-data esound-common fontconfig
fontconfig-config fonts-dejavu fonts-dejavu-core fonts-dejavu-extra
fonts-freefont-ttf fonts-opensymbol fonts-roboto fonts-sil-gentium-basic
freepats fuse galculator gconf-service gconf2 gconf2-common gdebi-core
gettext-base giblib1:armhf gir1.2-atk-1.0 gir1.2-freedesktop:armhf
gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0:armhf gir1.2-gmenu-3.0
gir1.2-gtk-3.0:armhf gir1.2-pango-1.0:armhf git git-core git-man gksu
glib-networking:armhf glib-networking-common glib-networking-services
gnome-desktop3-data gnome-icon-theme gnome-icon-theme-symbolic gnome-menus
gnome-themes-standard:armhf gnome-themes-standard-data gnupg-agent gnupg2
gpicview greenfoot gsettings-desktop-schemas gsfonts gsfonts-x11
gstreamer0.10-alsa:armhf gstreamer0.10-plugins-base:armhf
gstreamer1.0-alsa:armhf gstreamer1.0-libav:armhf gstreamer1.0-omx
gstreamer1.0-plugins-bad:armhf gstreamer1.0-plugins-base:armhf
gstreamer1.0-plugins-good:armhf gstreamer1.0-x:armhf gtk2-engines:armhf
gtk2-engines-clearlookspix:armhf gtk2-engines-pixbuf:armhf gvfs:armhf
gvfs-backends gvfs-common gvfs-daemons gvfs-fuse gvfs-libs:armhf hdparm
hicolor-icon-theme idle idle-python2.7 idle-python3.4 idle3 iso-codes jackd
jackd2 java-common javascript-common leafpad libaa1:armhf libabw-0.1-1
libarchive13:armhf libasn1-8-heimdal:armhf libaspell15:armhf
libasprintf0c2:armhf libass5:armhf libassuan0:armhf libasyncns0:armhf
libatasmart4:armhf libatk-bridge2.0-0:armhf libatk1.0-0:armhf libatk1.0-data
libatspi2.0-0:armhf libaudio2:armhf libaudiofile1:armhf
libavahi-client3:armhf libavahi-glib1:armhf libavahi-gobject0:armhf
libavc1394-0:armhf libavcodec56:armhf libavformat56:armhf
libavresample2:armhf libavutil54:armhf libblas-common libblas3
libbluetooth3:armhf libbluray1:armhf libboost-atomic1.55.0:armhf
libboost-date-time1.55.0:armhf libboost-filesystem1.55.0:armhf
libboost-program-options1.55.0:armhf libboost-regex1.55.0:armhf
libboost-system1.55.0:armhf libboost-thread1.55.0:armhf libc-ares2:armhf
libcaca0:armhf libcairo-gobject2:armhf libcairo2:armhf
libcanberra-gtk3-0:armhf libcanberra0:armhf libcdio-cdda1 libcdio-paranoia1
libcdio13 libcdparanoia0:armhf libcdr-0.1-1 libchromaprint0:armhf
libclucene-contribs1:armhf libclucene-core1:armhf libcmis-0.4-4
libcolamd2.8.0:armhf libcolord2:armhf libcompfaceg1 libcroco3:armhf
libcups2:armhf libcupsfilters1:armhf libcupsimage2:armhf
libcurl3-gnutls:armhf libcwiid1 libdatrie1:armhf libdbus-glib-1-2:armhf
libdc1394-22:armhf libdca0:armhf libdconf1:armhf
libdevmapper-event1.02.1:armhf libdirectfb-1.2-9:armhf libdrm-amdgpu1:armhf
libdrm-freedreno1:armhf libdrm-nouveau2:armhf libdrm-radeon1:armhf
libdv4:armhf libdvdnav4:armhf libdvdread4:armhf libe-book-0.1-1
libegl1-mesa:armhf libelf1:armhf libelfg0:armhf libenca0:armhf
libenchant1c2a:armhf libeot0 libepoxy0 liberror-perl libesd0:armhf
libetonyek-0.1-1 libetpan17:armhf libevdev2 libexif12:armhf
libexpat1-dev:armhf libexttextcat-2.0-0 libexttextcat-data libfaad2:armhf
libffi5:armhf libfftw3-double3:armhf libfftw3-single3:armhf libflac8:armhf
libflite1:armhf libfltk1.3:armhf libfluidsynth1:armhf libfm-data
libfm-extra4:armhf libfm-gtk-data libfm-gtk4:armhf libfm-modules:armhf
libfm4:armhf libfontconfig1:armhf libfontenc1:armhf libfreehand-0.1-1
libfribidi0:armhf libfuse2:armhf libgbm1:armhf libgconf-2-4:armhf
libgd3:armhf libgdk-pixbuf2.0-0:armhf libgdk-pixbuf2.0-common
libgeoclue0:armhf libgfortran3:armhf libgif4:armhf
libgirepository-1.0-1:armhf libgksu2-0 libgl1-mesa-dri:armhf
libgl1-mesa-glx:armhf libglapi-mesa:armhf libgles1-mesa:armhf
libgles2-mesa:armhf libglew1.10:armhf libglib2.0-bin libgltf-0.0-0
libglu1-mesa:armhf libgme0 libgnome-desktop-3-10 libgnome-keyring-common
libgnome-keyring0:armhf libgnome-menu-3-0 libgoa-1.0-0b:armhf
libgoa-1.0-common libgpgme11:armhf libgphoto2-6:armhf
libgphoto2-port10:armhf libgpm2:armhf libgraphite2-3:armhf libgsm1:armhf
libgssapi3-heimdal:armhf libgstreamer-plugins-bad1.0-0:armhf
libgstreamer-plugins-base0.10-0:armhf libgstreamer-plugins-base1.0-0:armhf
libgstreamer0.10-0:armhf libgstreamer1.0-0:armhf libgtk-3-0:armhf
libgtk-3-bin libgtk-3-common libgtk2.0-0:armhf libgtk2.0-bin
libgtk2.0-common libgtkglext1 libgtop2-7 libgtop2-common
libgudev-1.0-0:armhf libharfbuzz-icu0:armhf libharfbuzz0b:armhf
libhcrypto4-heimdal:armhf libheimbase1-heimdal:armhf
libheimntlm0-heimdal:armhf libhsqldb1.8.0-java libhunspell-1.3-0:armhf
libhx509-5-heimdal:armhf libhyphen0 libice6:armhf libid3tag0
libiec61883-0:armhf libilmbase6:armhf libimlib2 libimobiledevice4:armhf
libjack-jackd2-0:armhf libjasper1:armhf libjavascriptcoregtk-3.0-0:armhf
libjbig0:armhf libjpeg8:armhf libjs-jquery libjs-prettify
libjson-glib-1.0-0:armhf libjson-glib-1.0-common libkate1
libkrb5-26-heimdal:armhf libksba8:armhf liblangtag-common liblangtag1
liblapack3 liblcms2-2:armhf libldb1:armhf liblightdm-gobject-1-0
libllvm3.7:armhf liblockfile-bin liblockfile1:armhf libltdl7:armhf
liblvm2app2.2:armhf liblzo2-2:armhf libmad0:armhf libmenu-cache-bin
libmenu-cache3:armhf libmhash2:armhf libmikmod3:armhf libmimic0
libmjpegutils-2.1-0 libmms0:armhf libmng1:armhf libmodplug1 libmotif-common
libmozjs185-1.0 libmp3lame0:armhf libmpdec2:armhf libmpeg2encpp-2.1-0
libmpg123-0:armhf libmplex2-2.1-0 libmspub-0.1-1 libmtdev1:armhf
libmtp-common libmtp9:armhf libmwaw-0.3-3 libmythes-1.2-0 libneon27-gnutls
libnotify4:armhf libnspr4:armhf libnss3:armhf libntdb1:armhf libobrender29
libobt2 libodfgen-0.1-1 libofa0 libogg0:armhf libopenal-data
libopenal1:armhf libopencv-calib3d2.4:armhf libopencv-contrib2.4:armhf
libopencv-core2.4:armhf libopencv-features2d2.4:armhf
libopencv-flann2.4:armhf libopencv-highgui2.4:armhf
libopencv-imgproc2.4:armhf libopencv-legacy2.4:armhf libopencv-ml2.4:armhf
libopencv-objdetect2.4:armhf libopencv-video2.4:armhf libopenexr6:armhf
libopenjpeg5:armhf libopus0:armhf liborc-0.4-0:armhf liborcus-0.8-0
libpackagekit-glib2-18:armhf libpam-systemd:armhf libpango-1.0-0:armhf
libpango1.0-0:armhf libpangocairo-1.0-0:armhf libpangoft2-1.0-0:armhf
libpangox-1.0-0:armhf libpangoxft-1.0-0:armhf libpciaccess0:armhf libpisock9
libpixman-1-0:armhf libplist2:armhf libpolkit-agent-1-0:armhf
libpolkit-backend-1-0:armhf libpolkit-gobject-1-0:armhf libpoppler46:armhf
libportaudio2:armhf libportmidi0 libproxy1:armhf libpth20:armhf
libpulse0:armhf libpython3-dev:armhf libpython3-stdlib:armhf
libpython3.4:armhf libpython3.4-dev:armhf libpython3.4-minimal:armhf
libpython3.4-stdlib:armhf libqscintilla2-11 libqscintilla2-l10n
libqt4-dbus:armhf libqt4-network:armhf libqt4-xml:armhf
libqt4-xmlpatterns:armhf libqtcore4:armhf libqtdbus4:armhf libqtgui4:armhf
libqtwebkit4:armhf libraptor2-0:armhf librasqal3:armhf libraw1394-11:armhf
librdf0:armhf libreoffice libreoffice-avmedia-backend-gstreamer
libreoffice-base libreoffice-base-core libreoffice-base-drivers
libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
libreoffice-gtk libreoffice-impress libreoffice-java-common libreoffice-math
libreoffice-report-builder-bin libreoffice-sdbc-hsqldb
libreoffice-style-galaxy libreoffice-writer librest-0.7-0:armhf
librevenge-0.0-0 libroken18-heimdal:armhf librsvg2-2:armhf
librsvg2-common:armhf librtimulib-dev librtimulib-utils librtimulib7
libruby1.9.1 libruby1.9.1-dbg libruby2.1:armhf libsbc1:armhf
libschroedinger-1.0-0:armhf libscsynth1 libsdl-image1.2:armhf
libsdl-mixer1.2:armhf libsdl-ttf2.0-0:armhf libsdl1.2debian:armhf
libsecret-1-0:armhf libsecret-common libservlet2.5-java libsgutils2-2
libshout3:armhf libsm6:armhf libsmbclient:armhf libsndfile1:armhf
libsoundtouch0:armhf libsoup-gnome2.4-1:armhf libsoup2.4-1:armhf
libspandsp2:armhf libspeex1:armhf libsrtp0 libssh-4:armhf
libstartup-notification0:armhf libswscale3:armhf libtag1-vanilla:armhf
libtag1c2a:armhf libtcl8.5:armhf libtcl8.6:armhf libtcltk-ruby1.9.1
libtdb1:armhf libtevent0:armhf libthai-data libthai0:armhf libtheora0:armhf
libtiff5:armhf libtk8.5:armhf libtk8.6:armhf libtxc-dxtn-s2tc0:armhf
libudisks2-0:armhf libusbmuxd2:armhf libv8-3.14.5 libva1:armhf
libvdpau1:armhf libvisio-0.1-1 libvisual-0.4-0:armhf
libvisual-0.4-plugins:armhf libvo-aacenc0:armhf libvo-amrwbenc0:armhf
libvorbis0a:armhf libvorbisenc2:armhf libvorbisfile3:armhf libvpx1:armhf
libvte-common libvte9 libwavpack1:armhf libwayland-client0:armhf
libwayland-cursor0:armhf libwayland-server0:armhf libwebkitgtk-3.0-0:armhf
libwebkitgtk-3.0-common libwebp5:armhf libwebpdemux1:armhf libwebpmux1:armhf
libwildmidi-config libwildmidi1:armhf libwind0-heimdal:armhf
libwnck-3-0:armhf libwnck-3-common libwnck-common libwnck22 libwpd-0.10-10
libwpg-0.3-3 libwps-0.3-3 libx11-xcb1:armhf libx264-142:armhf libxaw7:armhf
libxcb-dri2-0:armhf libxcb-dri3-0:armhf libxcb-glx0:armhf
libxcb-present0:armhf libxcb-render0:armhf libxcb-shape0:armhf
libxcb-shm0:armhf libxcb-sync1:armhf libxcb-util0:armhf libxcb-xfixes0:armhf
libxcomposite1:armhf libxcursor1:armhf libxdamage1:armhf libxfce4ui-1-0
libxfce4util-bin libxfce4util-common libxfce4util6 libxfconf-0-2
libxfixes3:armhf libxfont1:armhf libxft2:armhf libxi6:armhf
libxinerama1:armhf libxkbcommon0:armhf libxkbfile1:armhf libxklavier16
libxm4:armhf libxmu6:armhf libxpm4:armhf libxrandr2:armhf libxrender1:armhf
libxres1:armhf libxshmfence1:armhf libxslt1.1:armhf libxss1:armhf
libxt6:armhf libxtst6:armhf libxv1:armhf libxvidcore4:armhf
libxxf86dga1:armhf libxxf86vm1:armhf libyajl2:armhf libyaml-0-2:armhf
libzbar0 lightdm lightdm-gtk-greeter lp-solve lsb-release lxappearance
lxappearance-obconf lxde lxde-common lxde-core lxde-icon-theme lxinput
lxkeymap lxmenu-data lxpanel lxpanel-data lxrandr lxsession lxtask
lxterminal menu-xdg minecraft-pi netsurf-common netsurf-gtk nodejs
nodejs-legacy nodered ntfs-3g nuscratch omxplayer openbox oracle-java8-jdk
packagekit pcmanfm penguinspuzzle pi-package pi-package-data
pi-package-session pimixer pinentry-gtk2 pipanel policykit-1 poppler-data
poppler-utils powermgmt-base pypy-setuptools pypy-upstream pypy-upstream-dev
pypy-upstream-doc python-apt-common python-cairo python-chardet
python-colorama python-dbus python-dbus-dev python-distlib python-gi
python-gobject python-gobject-2 python-gpiozero python-gtk2 python-html5lib
python-minecraftpi python-ndg-httpsclient python-numpy python-openssl
python-picamera python-pifacecommon python-pifacedigitalio python-pil:armhf
python-pip python-pkg-resources python-pyasn1 python-pygame python-requests
python-rtimulib python-sense-hat python-serial python-setuptools python-six
python-spidev python-support python-talloc python-tk python-urllib3
python-wheel python-xklavier python3 python3-apt python3-chardet
python3-colorama python3-debian python3-dev python3-distlib python3-gpiozero
python3-html5lib python3-minecraftpi python3-minimal python3-numpy
python3-pgzero python3-picamera python3-pifacecommon
python3-pifacedigital-scratch-handler python3-pifacedigitalio
python3-pil:armhf python3-pip python3-pkg-resources python3-pygame
python3-requests python3-rpi.gpio python3-rtimulib python3-sense-hat
python3-serial python3-setuptools python3-six python3-spidev python3-tk
python3-uno python3-urllib3 python3-wheel python3.4 python3.4-dev
python3.4-minimal qdbus qjackctl qtchooser qtcore4-l10n raspberrypi-artwork
raspberrypi-net-mods raspberrypi-ui-mods raspi-gpio rc-gui ri1.9.1
rpi-update rsync ruby ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples
ruby1.9.1-full ruby1.9.3 ruby2.1 rubygems-integration samba-libs:armhf
scratch scrot sense-hat smartsim sonic-pi squeak-plugins-scratch squeak-vm
supercollider supercollider-common supercollider-ide supercollider-language
supercollider-server supercollider-supernova tcl8.5 timidity tk8.5
tk8.6-blt2.5 tree udisks udisks2 uno-libs3 ure va-driver-all:armhf
vdpau-va-driver:armhf wiringpi wolfram-engine x11-common x11-utils
x11-xkb-utils x11-xserver-utils x2x xarchiver xcompmgr xdg-utils
xfce-keyboard-shortcuts xfconf xfonts-100dpi xfonts-encodings xfonts-utils
xinit xpdf xserver-common xserver-xorg xserver-xorg-core
xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics
xserver-xorg-video-fbdev xserver-xorg-video-fbturbo zenity zenity-common
Last edited by ab1jx on Sun May 08, 2016 5:46 pm, edited 2 times in total.

User avatar
buja
Posts: 626
Joined: Wed Dec 31, 2014 8:21 am
Location: Netherlands

Re: Adding X to Jessie Lite

Sun May 08, 2016 4:49 pm

Did you know there is already a how-to topic on that? viewtopic.php?f=66&t=133691

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Sun May 08, 2016 5:43 pm

No, I didn't. I figured whoever put the distributions together must have some idea but I've been doing it from scratch. I'm used to doing it in OpenBSD and 20ish years ago Slackware. I was stuck at a color depth of 16 for a while, then something changed that. What I've got now is quite usable, just not the bare minimum.

I should buy a 3-pack of SD cards to play with, and another Pi. I think it's possible to make pseudo-packages that load many packages, preferably by name and not version.

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Fri May 13, 2016 1:35 pm

I've since downloaded both NetBSD and Centos in much less time, like 2 days at most. Minimal images to be sure, but I'm not sure torrents make sense.

zonnepanelen
Posts: 2
Joined: Sun Oct 02, 2016 9:31 am

Re: Adding X to Jessie Lite

Sun Oct 02, 2016 9:37 am

I installed 'sudo apt-get install raspberry pi-ui-mods'.
But now my screen is black.
If I push serveral times the ALT-F1 button the screen pops up but disapears directly.

What can be wrong?

zonnepanelen
Posts: 2
Joined: Sun Oct 02, 2016 9:31 am

Re: Adding X to Jessie Lite

Sun Oct 02, 2016 1:02 pm

I just found out that I have to set the raspberry pi into read-wirte mode with "rpi-rw". :idea:
Than the screen appears properly.
This succeeded with an external connection (WinSCP).

What can be done that the raspberry automatically is set into read-write mode?

User avatar
ab1jx
Posts: 901
Joined: Thu Sep 26, 2013 1:54 pm
Location: Heath, MA USA

Re: Adding X to Jessie Lite

Sun Oct 02, 2016 1:44 pm

By its description raspberrypi-ui-mods is "Config to customise the LXDE UI for the Raspberry Pi" so it only affects LXDE. I have it installed but it didn't do anything like turn my screen black. Sounds like maybe a color map issue or you're in 16-bit color mode instead of 24-bit. I gave up on adding X to Lite because I kept having problems like that. It took me over a week to download the full Jessie image but I apt-get update and apt-get upgrade it a couple times a month. I clone the SD card sometimes then I use it in 2 Pi 3Bs and a Zero. Backup is inherent. dpkg-query -l shows about 2600 packages installed.

I don't know what rpi-rw is. Winscp relates to doing file transfers, not the screen. Maybe it's possible to use it as a terminal emulator. My guess would be you need to sudo somewhere, if you're the pi user you're prevented from doing many things that might cause damage.

I have no idea what about the Pi is read-only. A filesystem may mount read-only if there's something wrong with it or the fstab but after the next reboot they normally mount read-write automatically.

Return to “Troubleshooting”