Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
2121 views
Starting ffplay X-window without a window manager
I want what is essentially a kiosk, to display a video stream using ffplay, without a whole Desktop environment. I started with minimal CentOS7, and installed xterm and X11, per this simple guide: https://linuxconfig.org/how-to-run-x-applications-without-a-desktop-or-a-wm I've created a .xinitrc fil...
I want what is essentially a kiosk, to display a video stream using ffplay, without a whole Desktop environment. I started with minimal CentOS7, and installed xterm and X11, per this simple guide: https://linuxconfig.org/how-to-run-x-applications-without-a-desktop-or-a-wm I've created a .xinitrc file:
#!/bin/bash
exec firefox
and when I execute startx, it opens an X11 window containing Firefox. But, when I replace the .xinitrc file with this one:
#!/bin/bash
exec ffplay udp://192.168.0.237:5444
I just get a blank screen, in spite of knowing that ffplay command is right. Though I can tell from ps -ef | grep ffplay that ffplay is indeed executing. I think it is just piping the output video someplace different from where Firefox did. I don't know how to tell where that is, nor how to force it to go to localhost:0.0. Note the CentOS7 box is a Hyper-V VM, which I am accessing via a Hyper-V console.
Jimbo1987 (1 rep)
Aug 15, 2021, 04:17 PM • Last activity: Jun 24, 2025, 12:05 PM
0 votes
2 answers
1112 views
How to disable VT console when running Ubuntun 20.04 under Wayland server
I am now running Ubuntu 20.04, and using server: Wayland. I have no idea how to disable virtual console switch under Wayland. Under the X.org server adding this: `Option "DontVTSwitch" "True"` to `/etc/X11/xorg.conf` prevents virtual console switch.
I am now running Ubuntu 20.04, and using server: Wayland. I have no idea how to disable virtual console switch under Wayland. Under the X.org server adding this: Option "DontVTSwitch" "True" to /etc/X11/xorg.conf prevents virtual console switch.
harry wang (1 rep)
Sep 9, 2021, 06:25 PM • Last activity: Feb 5, 2025, 03:50 PM
1 votes
0 answers
158 views
ArchLinux - How to properly install / update system semver
Building a Kiosk software here. I do understand (perhaps too late) that ArchLinux is in an "always-evolving" state, but, so far I got a really smooth (actually amazing) experience in using it, and got a working **stable version** of the kiosk system I'm building. And everything is working perfectly...
Building a Kiosk software here. I do understand (perhaps too late) that ArchLinux is in an "always-evolving" state, but, so far I got a really smooth (actually amazing) experience in using it, and got a working **stable version** of the kiosk system I'm building. And everything is working perfectly fine - *...today*. Now I'm in the phase of finishing an update.sh script which (on the Kiosk unattended machines) does the following: 1. Downloads and unzips the project's (zip) repo branch (which has a packages.txt of the needed ArchLinux existent or new packages needed for that new version to operate) 2. Update (or install) the packages listed in that packages.txt, basically similar to the output list of pacman -Qqen > "packages.txt" just, filled manually 4. Delete the old application files 5. Copy all the new zip files to that project root and run npm install and reboot the machine So far all fine - and works **The problem I'm facing is:** the inability to find out or understand how to "***freeze***" somehow a list, dep. tree, of the packages I need — ***and*** their dependency packages - after testing and making sure everything works as intended in a **release stage** (on a similar MiniPC as in production). I've found a [12y old Reddit](https://www.reddit.com/r/archlinux/comments/1b2nor/stable_archlike_alternative/) that suggests to switch to Debian - which would be a bummer. Am I at a dead-end? What approach would be best?
New Instance (11 rep)
Oct 14, 2024, 08:35 PM
0 votes
2 answers
378 views
Set different permissions for the user and for the java application
I am writing a graphical java (javaFX) application which is a kind of shell over the operating system. I am currently using Java 8 (JDK corretto 8.402), Debian 12 and Xfce. The problem is that my Java application executes many commands and scripts with `sudo`. These commands are written in `sudoers`...
I am writing a graphical java (javaFX) application which is a kind of shell over the operating system. I am currently using Java 8 (JDK corretto 8.402), Debian 12 and Xfce. The problem is that my Java application executes many commands and scripts with sudo. These commands are written in sudoers as NOPASSWD. It turns out that the user will be able to run all these commands with sudo without password, which is not safe. Roughly speaking, I need to make it so that when the PC is turned on, the user is automatically logged in and the application is automatically started. Everything should be secure, the user should have very limited permissions and should not be able to execute commands that a Java application can execute. I am not very good at Linux, so I would like to hear your suggestions. * I have tried making another user. So there is root, user1 and guest. The idea was to have the session as guest and the application run as user1. * In
/etc/lightdm/lightdm.conf
I configured autologin for guest and in the
-session-settings
application I configured an autorun script to run the java application as another user like this:
-shell
    sudo -S -u user1 java -jar /path/to/my.jar
I want this to run without requiring a password, but then
/usr/bin/java
needs to be added to sudoers as NOPASSWD. And then it turns out that the guest user can run any Java application with sudo and do whatever he wants through it.
Pablo Casil (1 rep)
Apr 10, 2024, 08:10 AM • Last activity: Apr 10, 2024, 12:51 PM
28 votes
3 answers
35470 views
Debian based system, only one gui program, nothing else
I would like to make a debian system where you can only open one GUI program at boot, no other graphical interface, no minimize, or any X apart from that program, is there a way to do it on debian if possible, or any other custom distro? I just want to boot open the program and allow the user to onl...
I would like to make a debian system where you can only open one GUI program at boot, no other graphical interface, no minimize, or any X apart from that program, is there a way to do it on debian if possible, or any other custom distro? I just want to boot open the program and allow the user to only see and use that program.
Zaxuhe (389 rep)
Jan 28, 2012, 02:25 AM • Last activity: Apr 9, 2024, 03:22 PM
0 votes
0 answers
121 views
Linux Kiosk machine setup - any advice appreciated
I'm currently researching setting up a Linux kiosk machine. As part of my research I thought I'd ask around and hopefully get advice from someone with experience. I'm considering anything from ready-made solutions to a set of tools and settings I can apply myself, and anything in-between. The machin...
I'm currently researching setting up a Linux kiosk machine. As part of my research I thought I'd ask around and hopefully get advice from someone with experience. I'm considering anything from ready-made solutions to a set of tools and settings I can apply myself, and anything in-between. The machine in question is a PC with an integrated touch screen (looks like a giant tablet) with no physical keyboard or mouse attached. There are some peripherals attached - a POS printer, NCF scanner and QR code scanner. The application is an AspNet Core 8 server with a Blazor UI (server side). It needs to run locally on the kiosk machine. It needs access to the peripheral in the following way: - Printer - though USB(virtual COM) /dev/ttyACM0 - Scanners - these are HIDs, either sending raw data or emulating keyboards, so the app needs access to both input and hidraw subsystems. - And it needs internet access. The UI should be displayed in a browser that will be pointed to localhost:[some port]. It's a simple UI with big buttons and the occasional text input. It works well on Firefox, Chrome and Edge. Any reasonably up-to-date browser should be able to handle it. This whole setup has been verified to run on Linux (Debian 12). Now I need to set up the machine for kiosk use. The requirements are pretty straightforward: The kiosks will be placed unsupervised in public spaces (lobbies, waiting rooms and such), and they need to behave as you'd expected from a kiosk at all times. The system must display the page, in full screen, with no possibility to close it, minimize it, navigate to some other page, bring up a menu that's not part of our app, etc. Even if a wise-a$$ comes along, and finds a way to plug in a keyboard, he mustn't be able to get the kiosk to a state where it's unusable to the next person (let alone gain access to the underlying system). The kiosk app must also come up automatically when the machine reboots. The machine must not go to sleep (ever), the UI must not be rendered temporarily unusable by some sort of automated update. No outside dialogs or popups of any kind. An on-screen keyboard must show up when a text input is selected. I need to be able to customize this keyboard in terms of available layouts and languages. I also need a way of remotely accessing the machine, including screen sharing. Being able to see remotely what the kiosk user sees is crucial. Also, there needs to be a way for an on-site technician to access the underlying system if need be (but in a secure, password-protected way). I think that about covers it. These are pretty straight-forward requirements for a kiosk. I would also like to ask specifically about one solution I found, which is Ubuntu Frame. It looks promising, it seems to support everything I need. But being new to this whole thing I don't know if there are any potential hidden deal-breakers. If you have experiences with Ubuntu Frame, or any other alternative solutions, I'd love to hear about them. Thank you.
Shaggydog (111 rep)
Mar 9, 2024, 03:38 PM
1 votes
1 answers
762 views
Need desktop environment for kiosk like profile that can only run certain programs
I have a need for an extremely locked down desktop environment that would have three profiles 1. School - Can only run Libreoffice and Firefox. When I say ONLY I mean ONLY - can't change any setting at all, not even the desktop wallpaper. The ability to not even see settings would be ideal as well....
I have a need for an extremely locked down desktop environment that would have three profiles 1. School - Can only run Libreoffice and Firefox. When I say ONLY I mean ONLY - can't change any setting at all, not even the desktop wallpaper. The ability to not even see settings would be ideal as well. This would be kind of like a kiosk profile where the desktop has shortcuts to run the two programs and that's it. 2. Games - Similar to School profile in that no settings can be changed but I could somehow put apps on the desktop a needed (i.e. - Minecraft) 3. Administrator/root - Can do anything, normal desktop experience I looked around at kiosk desktop experiences but they seem to just limit a user to only one application, not the ability to switch between two or more. Additionally I looked at kids distro's but they are seemingly just a streamlined desktop experience (no menus - which I like), but you still have the ability to edit user settings and whatnot. Is there even a distro like this or something that could be customized to do this without a ton of work? I know what I'm asking for is not normal
Element Zero (113 rep)
Apr 12, 2019, 02:36 PM • Last activity: Nov 8, 2023, 01:03 PM
0 votes
1 answers
342 views
How to prevent a user from closing a python program?
I have a python program and use Debian. I want the user to automatically login into a specific account and for the python program to be automatically launched. And after this happens, the user shouldn’t be able to exit or close the program or be able to interact with anything other than it.The pytho...
I have a python program and use Debian. I want the user to automatically login into a specific account and for the python program to be automatically launched. And after this happens, the user shouldn’t be able to exit or close the program or be able to interact with anything other than it.The python program uses a text based interface
Gupbulty (1 rep)
Jul 11, 2023, 10:35 AM • Last activity: Jul 12, 2023, 01:16 PM
0 votes
0 answers
283 views
Looking to provide remote access to a single PC but *only* its web browser?
Essentially I would like to be able to navigate to some custom domain that I own, log in to some basic front end, and then have access via a Remote Access Tool to my Linux computer (which would only have open a web browser). I would like to also restrict any accessing parties to only being able to u...
Essentially I would like to be able to navigate to some custom domain that I own, log in to some basic front end, and then have access via a Remote Access Tool to my Linux computer (which would only have open a web browser). I would like to also restrict any accessing parties to only being able to use the web browser (and even then, not be able to change the size of the window, close the browser, etc). I think I can accomplish all of this except restricting what the parties can do once they are in the Remote Access "Portal", and candidly I don't know where to start. Any advice would be appreciated. Thanks.
PythonNBubble (11 rep)
Mar 11, 2023, 12:47 AM • Last activity: Mar 15, 2023, 02:27 PM
1 votes
1 answers
555 views
How to force onboard stay on top of full screen Okular in LXDE?
Whenever Okular is full screen, the on screen keyboard Onboard goes behind it. How to pin onboard on top of full screen apps like Okular? I am using Debian LXDE.
Whenever Okular is full screen, the on screen keyboard Onboard goes behind it. How to pin onboard on top of full screen apps like Okular? I am using Debian LXDE.
Archisman Panigrahi (471 rep)
Sep 12, 2022, 04:18 AM • Last activity: Sep 17, 2022, 04:42 AM
0 votes
0 answers
604 views
Troubleshooting extremely shaky setup - Ubuntu kiosk with ubuntu-frame
I have a set of computers at work (running Ubuntu 20.04) that are used to host various containerized applications with Docker, as well as running kiosk screens using `ubuntu-frame`. To set up and configure the kiosks, we use Ansible - the following are the contents of the .yml file that is given as...
I have a set of computers at work (running Ubuntu 20.04) that are used to host various containerized applications with Docker, as well as running kiosk screens using ubuntu-frame. To set up and configure the kiosks, we use Ansible - the following are the contents of the .yml file that is given as input to ansible-playbook (the kiosk service is supposed to be restarted on reboot).
- name: Provision new machine
  hosts: all
  remote_user: foobar
  become: yes
  become_method: sudo
  become_user: root
  vars_files:
    - vars.yml

  tasks:
  - name: Install ubuntu-frame
    snap:
      name: ubuntu-frame
  - name: Configure ubuntu-frame
    shell:
      cmd: snap set ubuntu-frame daemon=true
  - name: Install wpe-webkit-mir-kiosk snap
    snap:
      name: wpe-webkit-mir-kiosk
  - name: Configure network connection
    shell:
      cmd: snap connect wpe-webkit-mir-kiosk:wayland
  - name: Configure kiosk
    shell:
      cmd: snap set wpe-webkit-mir-kiosk daemon=true
  - name: Set url
    shell:
      cmd: snap set wpe-webkit-mir-kiosk url=http://localhost:8080
  - name: Start kiosk
    shell:
      cmd: snap start wpe-webkit-mir-kiosk
  - name: Make sure kiosk is restarted on reboot
    shell:
      cmd: echo "SHELL=/bin/sh\nPATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin\n@reboot root sleep 30 && snap set wpe-webkit-mir-kiosk url=http://localhost:8080 && snap start wpe-webkit-mir-kiosk" > /etc/cron.d/restart-kiosk
Basically, one of the Docker applications return a HTML document at the root path (on port 8080), which is then shown on the monitor connected to the computer. For the majority of the computers, this works all fine and dandy - for some of the computers however, the screen dies with the following error (shown on the kiosk screen): "Page load error - message corrupt". Sometimes the error can be resolved by simply re-provisioning the host with the kiosk setup through Ansible, sometimes not. Occasionally, a reboot does the trick - but not every time. SSH:ing in to the server and looking at the logs (/var/log/syslog), there are a **lot** of errors being logged. Generally, they look like follows:
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + exec nohup /snap/ubuntu-frame/3709/bin/run-frame /snap/ubuntu-frame/3709/usr/local/bin/frame
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + [ /snap/ubuntu-frame/3709/usr/local/bin/frame = --help ]
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + dirname /run/user/0/snap.ubuntu-frame
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + XDG_RUNTIME_DIR=/run/user/0
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + export XDG_RUNTIME_DIR
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + mkdir -p /run/user/0 -m 700
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + [ -n  ]
Sep 12 08:49:28 hostname ubuntu-frame.daemon: + exec /snap/ubuntu-frame/3709/usr/local/bin/frame
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.402507]  mirserver: Starting
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.403124]  mirserver: Using Linux VT subsystem for session management
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.403334]  mircommon: Loading modules from: /snap/ubuntu-frame/3709/usr/lib/x86_64-linux-gnu/mir/server-platform
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.403440]  mircommon: Loading module: /snap/ubuntu-frame/3709/usr/lib/x86_64-linux-gnu/mir/server-platform/graphics-gbm-kms.so.20
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.403466]  mircommon: Loading module: /snap/ubuntu-frame/3709/usr/lib/x86_64-linux-gnu/mir/server-platform/server-x11.so.20
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.403491]  mircommon: Loading module: /snap/ubuntu-frame/3709/usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.8
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.404916]  mirserver: Found display driver: mir:gbm-kms (version 2.9.0)
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.407454]  gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver i915
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.407854]  gbm-kms: Failed to probe DRM device: /build/mir-c1eKlT/mir-2.9.0/src/server/console/linux_virtual_terminal.cpp(167): Throw in function {anonymous}::DRMDevice::DRMDevice(mir::VTFileOperations&, const char*, std::unique_ptr, const std::shared_ptr&)
Sep 12 08:49:28 hostname ubuntu-frame.daemon: Dynamic exception type: boost::wrapexcept
Sep 12 08:49:28 hostname ubuntu-frame.daemon: std::exception::what: Failed to claim DRM master: Invalid argument
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [boost::errinfo_file_name_*] = /dev/dri/card0
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.408127]  gbm-kms: Quirks: checking device with devnode: (null), driver
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.408362]  gbm-kms: Quirks: checking device with devnode: (null), driver
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.408403]  mirserver: (Unsupported by system environment)
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.408426]  mirserver: Found display driver: mir:x11 (version 2.9.0)
Sep 12 08:49:28 hostname ubuntu-frame.daemon: [2022-09-12 08:49:28.408473]  mirserver: (Unsupported by system environment)
Sep 12 08:49:28 hostname ubuntu-frame.daemon: ERROR: /build/mir-c1eKlT/mir-2.9.0/src/server/graphics/default_configuration.cpp(233): Throw in function virtual const std::vector >& mir::DefaultServerConfiguration::the_display_platforms()
Sep 12 08:49:28 hostname ubuntu-frame.daemon: Dynamic exception type: boost::wrapexcept
Sep 12 08:49:28 hostname ubuntu-frame.daemon: std::exception::what: Exception while creating graphics platform
Sep 12 08:49:28 hostname ubuntu-frame.daemon: ERROR: /build/mir-c1eKlT/mir-2.9.0/src/server/graphics/platform_probe.cpp(190): Throw in function std::vector > > {anonymous}::modules_for_device({anonymous}::ModuleType, const std::vector >&, const mir::options::ProgramOption&, const std::shared_ptr&)
Sep 12 08:49:28 hostname ubuntu-frame.daemon: Dynamic exception type: boost::wrapexcept
Sep 12 08:49:28 hostname ubuntu-frame.daemon: std::exception::what: Failed to find any platforms for current system
Sep 12 08:49:28 hostname systemd: snap.ubuntu-frame.daemon.service: Main process exited, code=exited, status=1/FAILURE
Sep 12 08:49:28 hostname systemd: snap.ubuntu-frame.daemon.service: Failed with result 'exit-code'.
Example of log from working machine
Sep 13 11:59:56 hostname2 cog:  Load started.
Sep 13 11:59:56 hostname2 cog:  Loading...
Sep 13 11:59:56 hostname2 kernel: [106815.347262] audit: type=1400 audit(1663070396.629:26475): apparmor="DENIED" operation="open" profile="snap.wpe-webkit-mir-kiosk.daemon" name="/proc/zoneinfo" pid=2715 comm="PressureMonitor" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 13 11:59:56 hostname2 cog:  Loaded successfully.
Sep 13 11:59:59 hostname2 kernel: [106817.836954] audit: type=1400 audit(1663070399.117:26476): apparmor="DENIED" operation="open" profile="snap.wpe-webkit-mir-kiosk.daemon" name="/proc/zoneinfo" pid=2715 comm="PressureMonitor" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 13 12:00:01 hostname2 cog:  Load started.
Sep 13 12:00:01 hostname2 cog:  Loading...
Sep 13 12:00:01 hostname2 kernel: [106820.438960] audit: type=1400 audit(1663070401.721:26477): apparmor="DENIED" operation="open" profile="snap.wpe-webkit-mir-kiosk.daemon" name="/proc/zoneinfo" pid=2715 comm="PressureMonitor" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 13 12:00:01 hostname2 cog:  Loaded successfully.
Sep 13 12:00:04 hostname2 kernel: [106823.040962] audit: type=1400 audit(1663070404.321:26478): apparmor="DENIED" operation="open" profile="snap.wpe-webkit-mir-kiosk.daemon" name="/proc/zoneinfo" pid=2715 comm="PressureMonitor" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 13 12:00:06 hostname2 cog:  Load started.
Sep 13 12:00:06 hostname2 cog:  Loading...
Sep 13 12:00:06 hostname2 kernel: [106825.644853] audit: type=1400 audit(1663070406.925:26479): apparmor="DENIED" operation="open" profile="snap.wpe-webkit-mir-kiosk.daemon" name="/proc/zoneinfo" pid=2715 comm="PressureMonitor" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 13 12:00:06 hostname2 cog:  Loaded successfully.
Sep 13 12:00:09 hostname2 kernel: [106828.133211] audit: type=1400 audit(1663070409.413:26480): apparmor="DENIED" operation="open" profile="snap.wpe-webkit-mir-kiosk.daemon" name="/proc/zoneinfo" pid=2715 comm="PressureMonitor" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Sep 13 12:00:11 hostname2 cog:  Load started.
Sep 13 12:00:11 hostname2 cog:  Loading...
Sep 13 12:00:11 hostname2 cog:  Loaded successfully.
To say that I'm not really sure what I'm looking for is somewhat of an understatement - I'd really like to isolate and zoom in on the actual issue at hand a bit, but at the moment I'm not really sure how to do that. Please let me know if I can provide any additional logs/config information - I'd really like to understand the underlying issue better. Sorry for the excruciatingly long post.. :)
Nyfiken Gul (101 rep)
Sep 12, 2022, 09:34 AM • Last activity: Sep 13, 2022, 12:02 PM
0 votes
0 answers
587 views
Pulseaudio two outputs in one profile don't work proper
i want to output the sound on HDMI and DP. To archiev this, i searched how to do it and found this: https://unix.stackexchange.com/questions/401492/how-to-output-unique-audio-to-multiple-ports-profiles-of-a-pulseaudio-card I followed the answer from @dirkt and created a new profile in `/usr/share/pu...
i want to output the sound on HDMI and DP. To archiev this, i searched how to do it and found this: https://unix.stackexchange.com/questions/401492/how-to-output-unique-audio-to-multiple-ports-profiles-of-a-pulseaudio-card I followed the answer from @dirkt and created a new profile in /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf.
[Profile output:hdmi-stereo+output:hdmi-stereo-extra1]
description = Both
output-mappings = hdmi-stereo hdmi-stereo-extra1
input-mappings =
I verified this is working with the gui pavucontrol and it seems working. I had a new profile called Both under the Configuration Tab and under Output Devices i can see both (HDMI and DP). But if i play music the sound will be played on the monitor which is connected via DP. No sound on the monitor via HDMI. Attached a image from pavucontrol (yea i know no screenshot, it's a kiosk system ^^). enter image description here Do i miss something ? Thanks in advance! Edit: pacmd list-cards: 1 card(s) available. index: 0 name: driver: owner module: 7 properties: alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 140" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1f.3" sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "a3f0" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: output:hdmi-stereo+output:hdmi-stereo-extra1: Both (priority 0, available: unknown) input:analog-stereo: Analog Stereo Input (priority 60, available: no) output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown) output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown) output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown) output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown) output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown) output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no) output:hdmi-stereo+output:hdmi-stereo-extra1: Both (priority 0, available: unknown) input:analog-stereo: Analog Stereo Input (priority 60, available: no) output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown) output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown) output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown) output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown) output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown) output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no) output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: no) output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no) output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no) output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no) output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no) output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no) output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5260, available: no) output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no) output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no) output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no) output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no) output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no) output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5260, available: no) output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no) output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no) output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no) output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no) off: Off (priority 0, available: unknown) active profile: sinks: alsa_output.pci-0000_00_1f.3.hdmi-stereo/#0: Built-in Audio Digital Stereo (HDMI) alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1/#2: Built-in Audio Digital Stereo (HDMI 2) sources: alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo (HDMI) alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1.monitor/#2: Monitor of Built-in Audio Digital Stereo (HDMI 2) ports: hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes) properties: device.icon_name = "video-display" hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes) properties: device.icon_name = "video-display" device.product.name = "EV2416W" analog-input-headphone-mic: Microphone (priority 8700, latency offset 0 usec, available: no) properties: device.icon_name = "audio-input-microphone" analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: no) properties: device.icon_name = "audio-input-microphone" analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no) properties: analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown) properties: device.icon_name = "audio-speakers" analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no) properties: device.icon_name = "audio-headphones" hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no) properties: device.icon_name = "video-display" hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no) properties: device.icon_name = "video-display" hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no) properties: device.icon_name = "video-display"
coddust (1 rep)
Sep 2, 2022, 10:39 AM • Last activity: Sep 5, 2022, 07:46 AM
0 votes
0 answers
3110 views
Running X Appplication Without Desktop Environment in full screen
I'm tryng to configure a Linux to work as a kiosk running google-earth only and I'm just following a guide about how to run google-earth Without Desktop Environment that it would be perfect for me: https://linuxconfig.org/how-to-run-x-applications-without-a-desktop-or-a-wm Basically if i boot in `mu...
I'm tryng to configure a Linux to work as a kiosk running google-earth only and I'm just following a guide about how to run google-earth Without Desktop Environment that it would be perfect for me: https://linuxconfig.org/how-to-run-x-applications-without-a-desktop-or-a-wm Basically if i boot in multi-user.target running from a Terminal this command:
xinit google-earth-pro $* -- :0 vt$XDG_VTNR
I'm able to open google-earth-pro but it will not run in full screen, and the actual window seems to be no resizable, even pressing F11. In this workstation there is a NVIDIA Card but the driver are't still installed it could be this the problem?
JORKS (11 rep)
Oct 9, 2020, 10:52 PM • Last activity: May 13, 2022, 02:29 PM
1 votes
3 answers
1424 views
How to lock a Linux/Debian/KDE system to one program (a password-protected kiosk mode for Kodi)?
I'd like to lock my Debian10/KDE system to one program and prevent any interaction of a user with anything beyond the always-on-top fullscreen program, making it impossible to shut down, to minimize, to open the process manager and to show the tray bar by pressing the Windows key. In particular I'd...
I'd like to lock my Debian10/KDE system to one program and prevent any interaction of a user with anything beyond the always-on-top fullscreen program, making it impossible to shut down, to minimize, to open the process manager and to show the tray bar by pressing the Windows key. In particular I'd like to lock it to the media center Kodi in a way that closing/minimizing it or opening other software requires the root password. (This would also require the root-password for the shutdown button within Kodi or at least e.g. a custom key-combination). Is this possible with some software or CLI commands / parameters *within the current session* (maybe using KDE Plasma Activities )? And if not how could this get implemented technically?
mYnDstrEAm (4708 rep)
Jul 8, 2021, 09:10 PM • Last activity: May 5, 2022, 10:33 PM
0 votes
1 answers
379 views
Display Sleep / Wake on Schedule
Is there some sort of display keep-awake command that could be scheduled? I have a machine I'd like to run a dashboard display during certain hours without having to interact with it every day to wake and sleep. This means I'd like _only the display_ to wake and sleep on a schedule of my choosing wi...
Is there some sort of display keep-awake command that could be scheduled? I have a machine I'd like to run a dashboard display during certain hours without having to interact with it every day to wake and sleep. This means I'd like _only the display_ to wake and sleep on a schedule of my choosing without locking the desktop session and requiring a password to wake and without sleeping the entire machine (the machine itself must continue to process events 24/7). I intend to have an unprivileged "kiosk" account always signed in for this, and an unused pen-driven display for interacting with the dashboard without hauling out the keyboard/mouse. This set of requirements precludes a lot of the usual allowances afforded by standard screen savers, screen-locking, power management, etc. in that I want the display to truly sleep during its off hours unless specifically awoken by a click of the tablet's buttons, a keyboard, etc., at which point it would simply auto-sleep after a period of inactivity as usual. Note: I didn't bother specifying "I'm using Ubuntu Desktop" because I'm hoping for a generic solution that is independent of the GUI environment, even if I have to build and install it. I'd also like to avoid periodically faking keyboard/mouse events so they don't interfere with console use. Please let me know in comments if you need more specific information.
Joshua Nozzi (101 rep)
Dec 6, 2021, 01:56 PM • Last activity: Dec 9, 2021, 12:47 PM
0 votes
1 answers
258 views
Running a specific program when the system is idle, and terminating it on user input
I have a number of Ubuntu "Kiosk" systems that people can walk up to and use to access a specific website to enter specific information. As is, the screens go blank after 5 minutes of non-use. I would however like to change this behavior. My organization runs a digital signage application called XIB...
I have a number of Ubuntu "Kiosk" systems that people can walk up to and use to access a specific website to enter specific information. As is, the screens go blank after 5 minutes of non-use. I would however like to change this behavior. My organization runs a digital signage application called XIBO, which has a Ubuntu client. I would like the systems to run that instead of blanking the screens when the kiosks haven't been used for 5 minutes. I'd prefer to use the Ubuntu XIBO application since I have a lot of installations and I want to synchronize content using that system. I looked into programs like xscreensaver to do this, but there doesn't seem to be a good way to accomplish this. Just finding idle time and doing something seems to be a bit of struggle. Am I missing some obvious methods to accomplish this ?
Pétur Þór Haraldsson (1 rep)
Dec 8, 2021, 03:48 PM • Last activity: Dec 8, 2021, 05:30 PM
0 votes
1 answers
1048 views
file system requires manual fsck on boot
Our company is providing customers with a digital signage Kiosk Machine that is running Customized Ubuntu 20.04. Our customers sometimes report that the Kiosk Machine is not booting because they land in the initramfs prompt where it says: (Initramfs): /dev/sda1 contains a file system with errors, ch...
Our company is providing customers with a digital signage Kiosk Machine that is running Customized Ubuntu 20.04. Our customers sometimes report that the Kiosk Machine is not booting because they land in the initramfs prompt where it says: (Initramfs): /dev/sda1 contains a file system with errors, check forced. Inodes that were a part of a corrupted orphan linked lost found. /dev/sda1 : UNEXPECTED INCONSISTENCY; RUN fsck manually.(I.e ., without -a or -p options). fsck exited with status code 4. The root filesystem on /dev/sda1 requires a manual fsck After doing a manual disk check the Kiosk Machine boots just fine. Can this has something to do with the Kiosk Machine not being shut down properly? Or maybe a disk failure? All the Kiosk Machines have the exact same hard disk and I know that our customers sometimes hard reset the Kiosk Machine which makes me think this is the reason for it. Can this be prevented when we do one fsck every day or once a week? Any advice on how to prevent this would be appreciated.
sysadmin362 (1 rep)
Aug 24, 2021, 10:55 AM • Last activity: Aug 24, 2021, 12:14 PM
0 votes
2 answers
1661 views
How would I Open an Internally hosted Webpage and Login without User Input on LINUX?
I'm trying to add to my current lines of Code if possible to Continue to Open my webpage in Kiosk on Chromium during startup, which I've managed with the code below, however I'm trying to make a Username and Password be entered automatically, and press the login button into the Webpage that follows....
I'm trying to add to my current lines of Code if possible to Continue to Open my webpage in Kiosk on Chromium during startup, which I've managed with the code below, however I'm trying to make a Username and Password be entered automatically, and press the login button into the Webpage that follows. This is what I have so Far, Stored in /home/pi/kiosk.sh
#!bin/bash
xset s noblank
xset s off
xset -dpms

unclutter -idle 0 -root &

chromium-browser --noerrdiaglogs --disable-infobars --kiosk https://192.168.0.1/webconsole 
I then have another set of Code stored in SystemD that I've enabled so it Executes on Startup. located as: /lib/systemd/system/kiosk.service:
[Unit]
Description=Chromium Kiosk
Wants=graphical.target
After=graphical.target

[Service]
Environment=DISPLAY=:0.0
Environment=XAUTHORITY=/home/pi/.Xauthority
Type=simple
ExecStart=/bin/bash /home/pi/kiosk.sh
Restart=on-abort
User=pi
Group=pi

[Install]
WantedBy=graphical.target
This all works great, However my only issue is trying to add something to make my login details for this page open automatically. Any Advice? I tried looking into cURL but have no idea with it. And sometimes I'd get a SSL error, which I assume is because the Internal webpage won't have a security Certificate. Thanks for anyone's time who reads this.
Arc the Dragon (11 rep)
Jun 16, 2021, 09:31 AM • Last activity: Jun 17, 2021, 01:45 PM
0 votes
2 answers
264 views
Is there a light-weight version of X?
I am setting up a computer as a an older tablet "PC". It will run Debian and a single application, without any window manager. No Internet is needed, nor is remote access. To ensure it runs as fast as is possible, I wonder if there is a lightweight version of X, with lots of features removed, availa...
I am setting up a computer as a an older tablet "PC". It will run Debian and a single application, without any window manager. No Internet is needed, nor is remote access. To ensure it runs as fast as is possible, I wonder if there is a lightweight version of X, with lots of features removed, available on Debian?
Village (4177 rep)
May 5, 2021, 08:23 PM • Last activity: May 10, 2021, 03:13 PM
0 votes
1 answers
49 views
How to seperately display different information on 10 different Linux computers?
Related to [this question][1], I need a means to display information on various displays placed around the room. Each display has different information. Ideally, I would have one laptop setup in a corner running a BASH script that coordinates everything (I'm familiar enough with BASH to handle this...
Related to this question , I need a means to display information on various displays placed around the room. Each display has different information. Ideally, I would have one laptop setup in a corner running a BASH script that coordinates everything (I'm familiar enough with BASH to handle this aspect). It sends out information that can be displayed on specific screens: #!/bin/bash echo "Good morning!" > /dev/screen1 echo "Please stack the blocks as high as you can!" > /dev/screen2 echo "Fill out form B, then proceed to station 4." > /dev/screen3 echo "Your shift ends in 5 minutes. Please wrap-up your current task." > /dev/screen4 If possible, if images could be sent out, I'd generate them in the script using ImageMagick before being sent out just to make the text more pretty; if not, live updates of text on screen is well and sufficient.. Even running those machines in console mode only would be good enough a solution! The ten laptops running Linux would display the information to visitors in the room; there is no need for anyone to interact with these devices, they'd be locked for viewing only. Much thanks to those who helped answer my original question, but my situation changed a bit: - I was unable to obtain permission to setup a Web server... - ...but very, very surprisingly, was permitted to wipe the 10 computers and put Debian on each! Basically I have my own personal laptop running Debian to run the BASH script, plus 10 laptops used as displays also running Debian, and if needed, they can all connect to Wifi...or I can buy long USB cables or Ethernet cables or whatever is needed to communicate between devices. What is needed to create such a setup, given Web servers are no longer an option, but I'd have full control over the OSes on the 10 devices?
Village (4177 rep)
Apr 28, 2021, 07:47 PM • Last activity: Apr 28, 2021, 07:59 PM
Showing page 1 of 20 total questions