Running GUI apps in a non-desktop debian BBB

113 views
Skip to first unread message

Dror Lugasi

unread,
Feb 23, 2017, 10:40:46 AM2/23/17
to BeagleBoard
Hi Everyone! I have a question regarding the console version of debian for the BBB.
To keep my performance high i have disabled the desktop and am running only the terminal like in a console version of linux. 
my question is: can i run IDE's like eclipse or monodevelop with the their GUI in this current situation?

i have tried to install them and then type "monodevelop" or "eclipse" in the command line and nothing happened.

Any one knows how to do this? (if possible)

My goal is to write multiple file projects in C++ and i want the comfort of the GUI of the IDE.

Thanks! 
Dror.

evilwulfie

unread,
Feb 23, 2017, 10:42:56 AM2/23/17
to beagl...@googlegroups.com
how do you use a GUI program without the GUI.  I dont get it.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/709a8b21-7c4a-4bb7-9458-3d27e72f0b20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dieter Wirz

unread,
Feb 23, 2017, 12:08:48 PM2/23/17
to beagl...@googlegroups.com
Have a look @
"X11 Forwarding using SSH"
If you installed eclipse via apt and have X11 forwarding enabled in
/etc/ssh/sshd_config "X11Forwarding yes" the you simply have to add an
-X to your ssh-Session
On my Linux Laptop:

ssh dw@myBBB -X
apt install geany
geany &

And geany pops up on your screen;) (dont forget the ampersand,
otherwise you ssh connection is locked;) You have to install your
Program with apt because u need a minimal installation of X11 on your
BBB.

IMHO this works as well with putty on Windows;)

HTH
Dieter

William Hermans

unread,
Feb 23, 2017, 12:56:57 PM2/23/17
to beagl...@googlegroups.com
So, I've got an idea. Let's take a single core processor system with only 512M of ram, and try to make things worse by running an app, and other software that will make the system crawl.

There are better ways to approach this problem without the need to bog the system down with needless "bloatware".

a) You could setup a cross-compile system, which admittedly can be overly complex to setup.

or

b) You could set up a Samba share from the beaglebone, then make that share available to your PC. This will allow you to create, and edit source files on your PC, as if that share were a local(to your PC ) drive. Which means, that you could use any editor in Windows to write source code, which is saved to the beaglebone, when files are saved.

There are a few caveats to b above. First, if you are running Windows, you'll need an editor that will allow you to set file encoding( I use UTF-8), and an editor that will also allow you to set the files line endings. These need to be set to UNIX style line endings, in your editors preferences section. In addition to the above, you'll need to learn how to compile projects from the command line, which most of the time is not that difficult. Perhaps you could even setup plink( one of puTTY's companion tools), and your editor to compile for you. But that requires more setup, and you would have to understand how to use gcc / g++ from the command line already / anyway . . .

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

Mike

unread,
Feb 23, 2017, 6:56:57 PM2/23/17
to beagl...@googlegroups.com
On 02/23/2017 10:42 AM, evilwulfie wrote:
how do you use a GUI program without the GUI.  I dont get it.

On 2/23/2017 8:40 AM, Dror Lugasi wrote:
Hi Everyone! I have a question regarding the console version of debian for the BBB.
To keep my performance high i have disabled the desktop and am running only the terminal like in a console version of linux. 
my question is: can i run IDE's like eclipse or monodevelop with the their GUI in this current situation?

i have tried to install them and then type "monodevelop" or "eclipse" in the command line and nothing happened.

Any one knows how to do this? (if possible)

My goal is to write multiple file projects in C++ and i want the comfort of the GUI of the IDE.

Thanks! 
Dror.
Simple concept...

ssh -X <beaglebone> <xapptorun>

Running eclipse on the BBB would be painful IMHO.  Setup a shared area via nfs, samba, etc. and run your IDE locally.  Eclipse and be setup to handle this (through FUSE I believe) but it's a somewhat lengthy process.  Google it, examples are out there, perhaps a bit dated.

Mike

Mark

unread,
Feb 24, 2017, 11:37:38 AM2/24/17
to BeagleBoard
For more information on how to setup eclipse on a windows computer and cross-compile for the Beaglebone, check out this link http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/

TJF

unread,
Feb 24, 2017, 11:46:34 AM2/24/17
to BeagleBoard
Hi Dror!


Am Donnerstag, 23. Februar 2017 16:40:46 UTC+1 schrieb Dror Lugasi:
my question is: can i run IDE's like eclipse or monodevelop with the their GUI in this current situation?

i have tried to install them and then type "monodevelop" or "eclipse" in the command line and nothing happened.

Any one knows how to do this? (if possible)

Yes, it's possible. As mentioned before, the ssh connection has to run with graphic support (ssh -X ...). But on the BBB also a minimal X server is necessary to let the applications generate the graphic output. Therefor install a virtual frame buffer

sudo apt-get install xvfb

Regards
Reply all
Reply to author
Forward
0 new messages