13

How to boot a linux kernel + dependencies and auto run a Qt application so the linux environment doesn't show up (only the Qt GUI is visible)?

on x86 PCs

should be able to run from RAM (of course)

yolo
  • 2,757
  • 6
  • 36
  • 65

5 Answers5

3

Perhaps you could look at how this guy did it:

http://www.embedded-bits.co.uk/2011/1-second-linux-boot-to-qt/

Venemo
  • 18,515
  • 13
  • 84
  • 125
  • but that is for embedded - with no source – yolo Mar 21 '11 at 10:30
  • @umar, see the link again. I'll quote: "If you're interested in exactly what modification I made and a little more about the approach taken - you may be interested in these slides" – Venemo Mar 24 '11 at 12:00
  • ok, some guidance - the system used is linux kernel 2.6, u-boot(loader) & buildroot. I think `buildroot` is the solution, as on its site: " using various CPU architectures (x86, ARM, MIPS, PowerPC, etc.)" and "Supports several hundreds of packages for userspace applications and libraries: ... Qt" – yolo Mar 24 '11 at 13:06
3

You could start with a minimal linux distribution such as Ubuntu Server and install only X-Windows (without any Window Manager) on top of it: https://help.ubuntu.com/community/ServerGUI

Then, start your Qt application by adding a call to it in the .xinitrc initialization script.

Symbiosoft
  • 4,681
  • 6
  • 32
  • 46
1

Might be helpfull Linux Journal KDE Kiosk Mode

Martin Beckett
  • 94,801
  • 28
  • 188
  • 263
1

Why not run x server without window manager and the running the application in full screen mode on that x server.

to start x server type startx and then you must run your application in fullscreen mode (your app must support this mode by argument switch like this)

./myapp --fullscreen

Troydm
  • 2,642
  • 3
  • 24
  • 35
0

I have never tried this, but try google for 'framebuffer'. It should allow you to run a single application with no need for X server.

Adam Trhon
  • 2,915
  • 1
  • 20
  • 51