In this tutorial, I'll guide you through enabling automatic login for your user on Xubuntu 24.04 LTS (minimal installation), configuring Firefox to start in kiosk mode, and setting a specific homepage for automatic loading when Firefox starts.
Step 1: Enable Automatic Login
Open a terminal and edit the lightdm configuration file:
sudo vim /etc/lightdm/lightdm.conf
Replace the content of the file with the following:
[SeatDefaults]
autologin-user=user
Replace user with your actual username and save the file and reboot your system:
sudo reboot
This will enable your system to automatically log in to your user account.
Step 2: Configure Firefox to Clear History on Exit
- Open Firefox and go to Settings.
- Navigate to Privacy & Security.
- Under the History section, select Use custom settings for history.
- Check the box that says Clear history when Firefox closes.
This will ensure your browsing history is cleared every time Firefox is closed, which is useful for kiosk setups.
Step 3: Set a Custom Homepage for Firefox
In the Settings, scroll to the Home section.
Under Homepage and new windows, select Custom URLs and paste the URL you want Firefox to open when it starts automatically.
Step 4: Run Firefox in Kiosk Mode
To run Firefox in kiosk mode, open a terminal and execute the following command:
firefox --kiosk
If you're using Firefox ESR (Extended Support Release), use this command instead:
firefox-esr --kiosk
This will launch Firefox in full-screen mode without any user interface, which is ideal for kiosk setups.
Step 5: Set Firefox to Auto-Start in Kiosk Mode
- Go to Application Menu > Session & Startup.
- Under the Application Autostart tab, click Add.
- Name the entry something like Firefox Kiosk and set the command to:
- firefox --kiosk (For standard Firefox)
- firefox-esr --kiosk (For Firefox ESR)
- Save the entry.
Now, every time your system starts, Firefox will launch automatically in kiosk mode, displaying the desired homepage.