LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-19-2016, 12:59 PM   #1
DennisT
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Rep: Reputation: 1
Distro for a POS type application


Hi,
I'm working on a POSish application with dedicated Linux PCs that will be running a single Python application. This application will display a GUI screen which will get input from a bar code reader and on screen (touch) entry. I need help in determining which Distro I should be using. Here's what I need:
1. Auto application start ability. It must be able to start the application on boot. No login screens and will start the application without any user interaction.
2. Application must have full screen access. No menus, log out, autohiding tool bars, etc.
3. Can run Python3, simple audio (status sounds), and doesn't need HD graphics (monitor is 800x600).
4. Can run a VNC server so I can remotely access the screen if/when support issues occur.

Applications I will be running: SSH, Samba, NTP client, Python3 w/GTK+3, x11vnc (feel free to suggest other options)

I've already ruled out Ubuntu w/its default desktop. Can anyone suggest a suitable distro?

TIA
 
Old 04-20-2016, 10:42 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,146

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
For a business application, you need a business-class distro like CentOS or Debian Stable, but these are still running Python 2. In fact, Python 3 still seems to be confined to bleeding-edge distros. If you want a high level of stability but must have Python 3, the answer may be a BSD distro.
 
Old 04-20-2016, 04:07 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you can install py3 on cent

it is just that you CAN NOT!!! replace python2

but a side by side with the two is no problem
 
1 members found this post helpful.
Old 04-25-2016, 05:39 PM   #4
DennisT
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Original Poster
Rep: Reputation: 1
I'm trying Centos but cannot get a clean screen for my POS application. I've been trying Gnome. Getting rid of the workplace bar alone is turning into an exercise in frustration. Is there another desktop I should be using? I'm still at the OS config stage (haven't looked into installing Python3).
 
Old 04-25-2016, 06:20 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I'm working on a POSish application
i am assuming that in this case POS stands for "Point Of Sale " and not the other ...

what do you mean by "clean screen"
no desktop GUI ?

if so start in init3 (or multiuser.target )

this is text only terminal
 
Old 04-29-2016, 09:30 AM   #6
DennisT
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Original Poster
Rep: Reputation: 1
Clean screen as no menus, tool bars, etc.

I've had some success. I used a kiosk script for Centos that gave me just what I was looking for. However I'm having issues with vnc. I installed tigervnc and it works, but only to start a remote session. I haven't been able to get it to connect to the current console session. The kiosk script set it up to use the matchbox window manager. This gives a screen without the menus/etc (clean screen) but I'm wondering if that isn't the VNC issue.
 
Old 04-29-2016, 09:32 AM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
If your application is an X application just run it on Xorg, do not start any window managers or desktop environments.
 
Old 04-29-2016, 09:34 AM   #8
DennisT
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Original Poster
Rep: Reputation: 1
The application will be a python script so I don't think it'll work without a window manager (not sure about this).
 
Old 04-29-2016, 09:39 AM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Come on, I have MythTV frontend set up like this. User mythtv has CLI autologin, X is autostarted upon login, mythfrontend application is run directly on X without any WM's. Result: when powered up it boots straight into MythTV screen, it is not windowed (no WM/DE) and it does not have to!
 
Old 04-29-2016, 09:54 AM   #10
DennisT
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Original Poster
Rep: Reputation: 1
How does this resolve the tigervnc issue? Are you running this on Centos?
 
Old 04-29-2016, 09:58 AM   #11
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You could do a minimal Funtoo install. I think it comes with Python 2 already included.
 
Old 04-29-2016, 10:00 AM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
VNC I do not know, when I need to run X apps remotely I just use the built-in feature of X to run in one host and display on another. No, I do not use CentOS. I'd use Debian if I was in your shoes, minimal Debian install with only required software installed. Like Xorg installed but no WM or DE.
 
Old 04-29-2016, 10:02 AM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
You could do a minimal Funtoo install. I think it comes with Python 2 already included.
Yes, Gentoo/Funtoo would be very clean solution, as these distros make it possible to install only needed software while it will be custom tailored for your hardware. Python-2.7 is part of system for Gentoo/Funtoo.
 
Old 05-02-2016, 02:01 PM   #14
DennisT
LQ Newbie
 
Registered: Jul 2007
Posts: 25

Original Poster
Rep: Reputation: 1
Turns out tigervnc was a dead end, at least I wasn't able to get it to work the way I wanted. Went back to x11vnc and it is now working. My OS setup is done. Now time to delve deeper into writing my Python 3 script.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Type of Application that Executes without being installed. theKbStockpiler Linux - General 2 04-22-2012 01:37 PM
Required a POS (point of sale) application which is design for auto parts... shahg_shahg Linux - Software 1 10-11-2008 07:04 PM
LXer: Volante POS Systems Announces Secure Linux POS Solution for ... LXer Syndicated Linux News 0 12-14-2006 08:54 PM
NTPV pos application error. pos4521 Linux - Desktop 0 10-12-2006 01:29 AM
Associating a file type with particular application saurya_s Linux - Software 3 01-16-2004 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration