Disable X in new Rev C Debian Image

155 views
Skip to first unread message

bremenpl

unread,
Sep 29, 2014, 8:48:04 AM9/29/14
to beagl...@googlegroups.com
Hello there,
I have searched a while on how to disable GUI on BeagleBone Black but most of the answers I ahve found were regarding the old Angstrom image that havent worked for the new Debian one. I would really aprichiate if anyone could tell me how to disable X on Rev C Debian. The exact version is:

Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l GNU/Linux


I would aprichiate any help.

Robert Nelson

unread,
Sep 29, 2014, 9:20:40 AM9/29/14
to Beagle Board
On Mon, Sep 29, 2014 at 7:48 AM, bremenpl <brem...@gmail.com> wrote:
> Hello there,
> I have searched a while on how to disable GUI on BeagleBone Black but most
> of the answers I ahve found were regarding the old Angstrom image that
> havent worked for the new Debian one. I would really aprichiate if anyone
> could tell me how to disable X on Rev C Debian. The exact version is:

X is started by lightdm... Disable lightdm..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Bremenpl

unread,
Sep 29, 2014, 9:24:50 AM9/29/14
to beagl...@googlegroups.com
I have come to that. Could you tell me how to do that?

W dniu 2014-09-29 15:20, Robert Nelson pisze:
Bremenpl

bremenpl

unread,
Sep 29, 2014, 9:37:37 AM9/29/14
to beagl...@googlegroups.com
The method I have found about adding optargs=text to the uEnv file doesnt quite work. I am in console then but I cant see the login screen, there are just some loading text strings. In the same time I can ssh to the beaglebone already.

Peter Gregory

unread,
Sep 29, 2014, 10:18:59 AM9/29/14
to beagl...@googlegroups.com
Would flashing the console only version of Debian to the beaglebone work?
It has no x-server code loaded and is a very small footprint.
You can use apt-get install to add things as necessary.

Bremenpl

unread,
Sep 29, 2014, 10:23:31 AM9/29/14
to beagl...@googlegroups.com
The thing is I wouldnt want to get rid of it completlly, I could remove it
if so. It seems that I managed to do this, but for some reason I need to
press enter at the start to show the login screen
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/hMUYyE-AHKg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


c...@isbd.net

unread,
Sep 29, 2014, 1:03:57 PM9/29/14
to beagl...@googlegroups.com
This is the best approach if you want an 'ssh to it only' system.
Trying to remove X and all the other GUI bits is a long and difficult
task whereas adding a few bits to a minimal system is fairly easy.

--
Chris Green
·

William Hermans

unread,
Sep 29, 2014, 1:18:09 PM9/29/14
to beagl...@googlegroups.com
Actually, starting from the LXDE image and then removing stuff you do not want works fine. *IF*, and this is a big if, you know exactly what packages to remove for each thing you do not want. However, there is always aptitude which is a smart where managing packages are concerned.

Although I do tend to agree, it is best to start with a minimal image. and work your way up into what you want. There is less chance for something to go wrong this way. Yet we may not know various things such as if this person has project files on an existing filesystem already( or not ).


--
Chris Green
·

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Bremenpl

unread,
Sep 29, 2014, 1:21:18 PM9/29/14
to beagl...@googlegroups.com

I havent started to work on this image yet. I wouldnt thibk of building my own image for the bbb from scratch, I have never done that. I thought it would be esier to just turn off the xwindows. I dont to work woth embedded Qt wigdets application, but only one without the gui enviroment around. Is building a new image really worth it? I always thought its kinda hard to do that.

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/hMUYyE-AHKg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Robert Nelson

unread,
Sep 29, 2014, 1:22:53 PM9/29/14
to Beagle Board
On Mon, Sep 29, 2014 at 12:21 PM, Bremenpl <brem...@gmail.com> wrote:
> I havent started to work on this image yet. I wouldnt thibk of building my
> own image for the bbb from scratch, I have never done that. I thought it
> would be esier to just turn off the xwindows. I dont to work woth embedded
> Qt wigdets application, but only one without the gui enviroment around. Is
> building a new image really worth it? I always thought its kinda hard to do
> that.

So start with the console image here:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-09-03

Bremenpl

unread,
Sep 29, 2014, 1:25:52 PM9/29/14
to beagl...@googlegroups.com
Alright ill give it a try. I believe i need to power up my beaglebone from
a sd card to flash this into emmc. Are there any catches in here?


Dnia 29 września 2014 19:22:53 Robert Nelson <robert...@gmail.com>
napisał(a):

William Hermans

unread,
Sep 29, 2014, 1:33:23 PM9/29/14
to beagl...@googlegroups.com
Yes, building a new image is worth it. BUt you would not have to do ths entierly from scratch, as at least one bare file system exists. I would recommend you use what Robert suggested though. As it sounds as though you need to understand Linux better - first.

To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.

Robert Nelson

unread,
Sep 29, 2014, 1:34:22 PM9/29/14
to Beagle Board
On Mon, Sep 29, 2014 at 12:25 PM, Bremenpl <brem...@gmail.com> wrote:
> Alright ill give it a try. I believe i need to power up my beaglebone from a
> sd card to flash this into emmc. Are there any catches in here?

Your choice, either use the "flasher" which runs a flashing script of
the microSD or the "standalone" which just runs off the microSD..

Bremenpl

unread,
Sep 29, 2014, 1:40:21 PM9/29/14
to beagl...@googlegroups.com
So ler me make sure I understand. If i put the flasher image on a Sd card
and put it into bbb, it will automatically flash the image to emmc? I used
to do this manually, i downloaded the image while booyed on sd card image
and used dd.


Dnia 29 września 2014 19:34:22 Robert Nelson <robert...@gmail.com>
napisał(a):

William Hermans

unread,
Sep 29, 2014, 1:41:52 PM9/29/14
to beagl...@googlegroups.com
So ler me make sure I understand. If i put the flasher image on a Sd card and put it into bbb, it will automatically flash the image to emmc? I used to do this manually, i downloaded the image while booyed on sd card image and used dd.

That is the description of what a flasher image does, yes.

To unsubscribe from this group and all its topics, send an email to beagleboard+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.

Bremenpl

unread,
Sep 29, 2014, 2:42:24 PM9/29/14
to beagl...@googlegroups.com

Thank you, ill give it a try.

To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

Bremenpl

unread,
Sep 30, 2014, 3:33:41 AM9/30/14
to beagl...@googlegroups.com
Hello there,
I have installed the console image as you advice. My problem now is that The USB network adapter isnt present and the power button doesnt work- the second problem also occured when I installed the standard rev C image. Are there ways to fix this issue?

W dniu 2014-09-29 19:41, William Hermans pisze:
So ler me make sure I understand. If i put the flasher image on a Sd card and put it into bbb, it will automatically flash the image to emmc? I used to do this manually, i downloaded the image while booyed on sd card image and used dd.

That is the description of what a flasher image does, yes.
On Mon, Sep 29, 2014 at 10:40 AM, Bremenpl <brem...@gmail.com> wrote:
So ler me make sure I understand. If i put the flasher image on a Sd card and put it into bbb, it will automatically flash the image to emmc? I used to do this manually, i downloaded the image while booyed on sd card image and used dd.


Dnia 29 września 2014 19:34:22 Robert Nelson <robert...@gmail.com> napisał(a):

On Mon, Sep 29, 2014 at 12:25 PM, Bremenpl <brem...@gmail.com> wrote:
> Alright ill give it a try. I believe i need to power up my beaglebone from a
> sd card to flash this into emmc. Are there any catches in here?

Your choice, either use the "flasher" which runs a flashing script of
the microSD or the "standalone" which just runs off the microSD..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/hMUYyE-AHKg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/hMUYyE-AHKg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

-- 
Bremenpl

Philip Polstra

unread,
Sep 30, 2014, 6:54:38 AM9/30/14
to beagl...@googlegroups.com

Just an FYI: there are two chapters in my book, Hacking and Penetration Testing with Low Power Devices, dedicated to building your own distro for the Beagles in a semiautomated way. The process I describe starts from a minimal system then adds packages from a Christmas list.

Bremenpl

unread,
Sep 30, 2014, 7:04:09 AM9/30/14
to beagl...@googlegroups.com
I just checked it on Amazon, I would love to look it up, but unfortenutelly its not on my budget. In Europe it would be even more expensive coz the price would be in euros.

W dniu 2014-09-30 12:54, Philip Polstra pisze:

Philip Polstra

unread,
Sep 30, 2014, 7:28:50 AM9/30/14
to beagl...@googlegroups.com

Publisher currently has better price than amazon for most people here http://store.elsevier.com/product.jsp?isbn=9780128007518&locale=en_EU&country=be

Be warned that they are currently upgrading their fulfillment systems, so you might want the eBook if you want lowest cost and quick service.  They are also offering free eBook with print purchase, but only if you buy at full price.

Bremenpl

unread,
Sep 30, 2014, 8:35:03 AM9/30/14
to beagl...@googlegroups.com
I will certainly take a look into it, maybe my university will be abble to get one to the library. Thank you.

W dniu 2014-09-30 13:28, Philip Polstra pisze:

William Hermans

unread,
Sep 30, 2014, 4:51:49 PM9/30/14
to beagl...@googlegroups.com
Brem, it sounds like me you need to slow down. It also sounds as though for the several posts you've made that Windows is your primary desktop OS.

So, this is what I might suggest for you. Start with Virtualbox( virtual machine software ), and install Debian on it. Only a cmdline version (no X-Windows ), and start experimenting. Read posts on the groups here that you have interest on, and google for information about each given process / feature.

Over time you'll find out that 90-95% of your questions / answers have nothing to do with the beaglebone hardware, but is more( all ) about Linux instead. Mostly, the more experience you have with Linux, the better off you will be. I know this from experience because prior to owning a beaglebone black I had zero experience with embedded Linux, but several years of hand on with Debian i386 on desktop, workstation, and server x86 based systems. So, just slow down instead of trying to absorb everything all at once, and you shold be able to focus, and learn.

Bremenpl

unread,
Sep 30, 2014, 11:19:50 PM9/30/14
to beagl...@googlegroups.com

Hello William,
Thank you for the advice. You are right about me when you say that my main os is Windows, but not for 100%. I work on vmware and Linux osses for a longer time now. This is my 1st real aproach on embedded linux though, normally I wrote bare metal code for mcus.
Im always eager to learn, but it happens for a time that you have no time and theres like one blocking point for you, but it grows over time. It still remains a blocking point for the project though :p. Also, theres the fact that I find my way around a lot better in hardware than software (especially high level).
I will get there eventually, I really aprichite the help given by community. I am really waiting for the book from Mr Derek Molloy to come out, to bad its release date is getting moved. I didnt know about the book from Mr Polstra that seems very helpfull as well and as I said maybe my university could buy one paper version for my use and if not, ill get it mysalfe :).

Bremenpl

unread,
Oct 1, 2014, 3:33:02 AM10/1/14
to beagl...@googlegroups.com
Hello Mr Polstra,
I have managed to buy the pdf version of the book, im exited about the
content. However there is one major drawback for an ebook lovel like me!
You have forgotten to add bookmarks to the pdf :P!

W dniu 2014-09-30 13:28, Philip Polstra pisze:
>
> Publisher currently has better price than amazon for most people here
> http://store.elsevier.com/product.jsp?isbn=9780128007518&locale=en_EU&country=be
>
>
> Be warned that they are currently upgrading their fulfillment systems,
> so you might want the eBook if you want lowest cost and quick
> service. They are also offering free eBook with print purchase, but
> only if you buy at full price.
>
>

--
Bremenpl

Philip Polstra

unread,
Oct 1, 2014, 8:07:03 AM10/1/14
to beagl...@googlegroups.com

I'll mention it to the publisher.

--
For more options, visit http://beagleboard.org/discuss
--- You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.

Bremenpl

unread,
Oct 1, 2014, 8:08:36 AM10/1/14
to beagl...@googlegroups.com
Yeah it had to be the publishers mistake maybe, because the ePub version has bookmarks. Hope it can be fixed :).

W dniu 2014-10-01 14:06, Philip Polstra pisze:
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/hMUYyE-AHKg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Bremenpl
Reply all
Reply to author
Forward
0 new messages