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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-19-2016, 12:59 PM
|
#1
|
LQ Newbie
Registered: Jul 2007
Posts: 25
Rep:
|
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
|
|
|
04-20-2016, 10:42 AM
|
#2
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
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.
|
|
|
04-20-2016, 04:07 PM
|
#3
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688
|
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.
|
04-25-2016, 05:39 PM
|
#4
|
LQ Newbie
Registered: Jul 2007
Posts: 25
Original Poster
Rep:
|
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).
|
|
|
04-25-2016, 06:20 PM
|
#5
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,688
|
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
|
|
|
04-29-2016, 09:30 AM
|
#6
|
LQ Newbie
Registered: Jul 2007
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
04-29-2016, 09:32 AM
|
#7
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
If your application is an X application just run it on Xorg, do not start any window managers or desktop environments.
|
|
|
04-29-2016, 09:34 AM
|
#8
|
LQ Newbie
Registered: Jul 2007
Posts: 25
Original Poster
Rep:
|
The application will be a python script so I don't think it'll work without a window manager (not sure about this).
|
|
|
04-29-2016, 09:39 AM
|
#9
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
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!
|
|
|
04-29-2016, 09:54 AM
|
#10
|
LQ Newbie
Registered: Jul 2007
Posts: 25
Original Poster
Rep:
|
How does this resolve the tigervnc issue? Are you running this on Centos?
|
|
|
04-29-2016, 09:58 AM
|
#11
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
You could do a minimal Funtoo install. I think it comes with Python 2 already included.
|
|
|
04-29-2016, 10:00 AM
|
#12
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
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.
|
|
|
04-29-2016, 10:02 AM
|
#13
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Quote:
Originally Posted by ReaperX7
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.
|
|
|
05-02-2016, 02:01 PM
|
#14
|
LQ Newbie
Registered: Jul 2007
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|