Rabu, 30 Oktober 2024

FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

It's Halloween and it's time for scary stuff. How about knowing some spooky Linux commands that you should not run on your system?

10 Destructive Linux Commands You Should Never Run
Learn some common dangerous Linux commands that mischievous people often use to trick new Linux users.
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

Last year, we had created a few Halloween themed quizzes. It's time to revisit them.

And if you are feeling too festive, you can give your Linux desktop a Halloween makeover.

💬 Let's see what else you get in this edition

  • Some hardware focused tips for Linux.
  • Kali Linux moving away from 32bit builds.
  • Windows install on Raspberry Pi.
  • Halloween themed quizzes
  • And other Linux news, videos and, of course, memes!
  • This week's newsletter is supported by GitPod.

❇️ Announcing Gitpod Flex

Gitpod Flex automates your full dev environment—yes, including tools and secrets. Speed up work, boost productivity, and collaborate securely with zero-trust security whether coding locally, in the cloud, or on-prem.

Introducing Gitpod Flex: Automating the software development lifecycle - Blog
Introducing the building blocks for automating and securing your software development lifecycle. Learn more about Automations, Gitpod Desktop, and Dev Container support.
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

📰 Linux News

And Fedora 41 is here, a few days ahead of the schedule which is something new for Fedora releases 😀

Fedora 41 is Here: 10 Sweet Features That You Get With The Upgrade
Fedora 41 is available to download. Learn about its best features before you upgrade or install.
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

💡
Did you know that It's FOSS has a Spanish section, with some evergreen tutorials translated into Spanish language? Check it out here.

🧠 What We’re Thinking About

Politics surely divides! The geopolitics has now reached the Linux kernel development.

No Russians in my Kernel! Geopolitics Reaches Linux Project
So, geopolitics into the mix, and it is a US-thing, or not?
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

🧮 Linux Tips, Tutorials and More

Finally, you can rest easy when it comes to monitoring your Linux system, just use one of these GUI task managers. 👇

Best GUI-based Task Managers for Linux Desktop
Want a task manager for Linux but don’t want to go the terminal way? Here are the GUI ones I explored recently.
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

👷 Maker's Corner

  • Considering a switch from the Raspberry Pi 4 to 5? Let us help you make an informed decision.
  • If you were looking for some good OS picks for your Raspberry Pi, then we have a handy list for you.

Our in-house tinkerer has done something very spooky (before Halloween, that too). He has been running Windows on a Raspberry Pi.

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?
Sometimes I feel too adventurous to try new and weird things. This one is one of those adventures.
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

📹 Videos We are Creating for You


✨ Apps of the Week

PeaZip is a versatile cross-platform file archiver which has proven to be a great app of the week.

PeaZip: A Versatile Open Source File Archiver and Encryption Utility
A free and open source file archiver with various useful abilities.
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More
  • On the other hand, for Android, there's Eternity, a cool Lemmy client that doesn't disappoint.

🧩 Quiz Time

There are many GitHub alternatives, can you identify them in this puzzle?

GitHub Alternatives: Puzzle
Solve this puzzle by figuring out the alternatives to GitHub!
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

💡 Quick Handy Tip

In Firefox, if you have many tabs opened, you can close all the duplicate tabs in one go. Click on the List all tabs button in the title bar and select “Close all duplicate tabs”.

FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

🤣 Meme of the Week

Windows weeps, Linux reaps. 😈

FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

🗓️ Tech Trivia

The Digital Millennium Copyright Act (DMCA) was signed into law by US President Bill Clinton on October 28, 1998. It was, and still is a controversial copyright law that has misused by many big corporations.


🧑‍🤝‍🧑 FOSSverse Corner

FOSSers are discussing the early days of Linux with Linus, care to chime in?

Early days in Linux with Linus
I don’t know if this has been posted here before - but it’s the first time I’ve read this : https://lwn.net/Articles/928581/ Resulted from google search prompted by curiosity about Linus’ first x86 computer. In a nutshell - it was a 386 (DX33? It would have been a DX ’cause Linus didn’t want to faff around with 386SX - which had a 16 bit address space) and a tiny 4 MB RAM… Interestingly - this was only a few months before I bought my first x86 PC - I didn’t know ANYTHING about PCs other than…
FOSS Weekly #24.44: Fedora 41 Release, Russia in Linux Kernel, System Monitoring and More

❤️ With love

Share it with your Linux-using friends and encourage them to subscribe (hint: it's here).

Share the articles in Linux Subreddits and community forums.

Follow us on Google News and stay updated in your News feed.

Opt for It's FOSS Plus membership and support us 🙏

Enjoy using Linux 😄



from It's FOSS https://ift.tt/MG5ZLhm
via IFTTT

Senin, 28 Oktober 2024

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

The Raspberry Pi is known for its versatility, typically running Linux-based operating systems like Raspberry Pi OS.

Surprisingly, it is also possible to install Windows 10 or 11 on a Raspberry Pi, despite the Pi's hardware limitations.

This guide will walk you through the process of installing Windows on a Raspberry Pi using a tool called WoR, which is short for Windows on Raspberry Pi.

But Why?

For me, it's more like a fun experiment to push Pi to its limits and see if it's even possible or not.

I understand that installing Windows on a Raspberry Pi is not something everyone (or anyone) will need or want, but it’s an interesting challenge nonetheless.

It allows you to experience Windows in a completely different environment, explore compatibility issues, and test performance on limited hardware.

However, keep in mind that:

  • You will face limited support for applications due to ARM architecture.
  • Windows on Pi won't deliver the same level of performance as a desktop PC, of course.
  • You might run into issues with device drivers, especially for Wi-Fi.

Requirements

To install Windows on a Raspberry Pi, make sure you have the following:

  • A Raspberry Pi 4/5 (preferably with 4 GB or 8 GB RAM) or Pi 400.
  • Another computer running Linux (I used the Raspberry Pi OS).
  • WoR-flasher tool.
  • A microSD card (32 GB or larger is recommended).
  • USB keyboard, mouse, and an HDMI display.
  • Ethernet cable for network connectivity (Wi-Fi drivers are not available yet).

Installing Windows on Raspberry Pi

WoR-flasher (Windows on Raspberry) is a straightforward tool designed to simplify installing Windows on a Raspberry Pi.

It automates much of the setup, eliminating the need for complex manual configurations.

By managing all necessary files, partitioning, and downloading of Windows images, it ensures a smooth experience, even for those new to the Raspberry Pi or Windows installation.

The first step is to install WoR-flasher.

Open a terminal and run the following commands to clone the WoR-flasher repository and install it:

git clone https://github.com/Botspot/wor-flasher
He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

and then install it using:

cd wor-flasher
./install-wor-gui.sh
He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

The WoR-flasher graphical interface will launch, allowing you to choose the version of Windows you want to install.

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

Choose either Windows 10 or 11, depending on your preference:

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

Select your Raspberry Pi model (Raspberry Pi 4 or Pi 400) & Click “Next” to proceed:

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

Ensure your microSD card or USB storage device is connected to your Linux machine.

Then select the storage device you want to flash Windows onto, then click “Next.”

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

After confirming your selections, WoR-flasher will download the necessary Windows installation files and prepare them for your Raspberry Pi.

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

This can take some time, so be patient. Once the process is complete, the system will flash Windows onto your chosen storage device.

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

After that, a small prompt will pop up on the screen, telling what to do next:

He He 😆 Running Windows on Raspberry Pi ... Because Why Not?

Booting Windows on Raspberry Pi

With the installation complete, eject the microSD card or SSD and insert it into your Raspberry Pi.

Connect your display, keyboard, mouse, and Ethernet cable, then power on the Raspberry Pi.

📋
The initial boot process will take approx 30 minutes as Windows sets up. Typical Windows 🤷

You may need to wait as files are extracted and the OS is installed.

Windows Setup

Once Windows boots up, you’ll be prompted to complete the setup like choose your language and keyboard layout, Set up a user account online (Wi-Fi drivers are not available yet thus you have to connect to the internet using an Ethernet Cable).

💡
You can bypass online setup, just press Shift+F10 to open up the Command Prompt and then type OOBE\BYPASSNRO & hit Enter.

My Experience

After the setup and reboot, I was greeted by the familiar Windows desktop, and to my surprise, the tools that come preinstalled, like File Explorer and Task Manager, ran smoothly.

What shocked me the most was how quickly Microsoft Edge loaded when I pressed the launch button it felt snappy, especially considering this was all running from an SD card.

I didn’t get the chance to dive into testing network or web performance, but I’ll leave that for you to explore and see how it performs in your hands. Let me know how it works out!

Performance Tweaks

Running Windows on a Raspberry Pi is impressive, but it’s essential to keep performance expectations in check.

To enhance its responsiveness, you can make a few adjustments:

  • Disable unnecessary startup programs like OneDrive by heading to the "Startup Apps" menu.
  • Optimize system performance by choosing "Adjust for best performance" under the "Performance Options" settings.
  • Consider overclocking your Raspberry Pi to boost speed, this is partially automated during setup, but you can tweak it further for better results.

Conclusion

And that’s how you can successfully install Windows on your tiny Raspberry Pi!

While the setup process may take some time, the WoR flasher tool makes it incredibly straightforward, even for beginners.

Once you’ve got Windows up and running, you’ll be amazed at how a full desktop OS functions on such a compact device.

Whether you're looking to experiment like me, run specific Windows apps, or just enjoy the novelty of having Windows on your Raspberry Pi, this method opens up new possibilities for what your Pi can do.

Give it a try and see what your Pi is truly capable of!



from It's FOSS https://ift.tt/F0huybl
via IFTTT

Minggu, 27 Oktober 2024

9 Reasons to Learn Linux

9 Reasons to Learn Linux

In a world where ease of usage and customization dominate the desires of most tech users, it is imperative to learn Linux.

Linux is open-source and allows you to make it work how you want it to. Considering that almost every industry uses Linux in some way, it is the ideal choice of OS right now.

The fact that even supercomputers and organizations like NASA itself rely on Linux for all their operations, speaks enough volumes to back its usefulness.

But does Linux really offer features that make it worth learning over other OSes?

In this article, I list down nine reasons for why it definitely does.

1. The World Runs On Linux

9 Reasons to Learn Linux

Previously, I did provide a glimpse of where Linux is used, but a glimpse was all it was. Linux is everywhere, literally.

Whether it be your smartphones or the CCTV camera in your backyard, almost every digital thing you see runs on Linux or is Linux-based. From the most advanced tech to a potato hardware, all of them can run because of Linux.

Its open-source nature, allows users to use it for whatever they want. With the help of the community, it's easier to solve problems one faces. Furthermore, Linux often requires the bare minimum hardware specifications to function.

2. Security

9 Reasons to Learn Linux

The easiest way to protect your system is not by installing an antivirus, but by hopping on Linux 😉

While our resources against hackers keep improving with time, it is always better to choose an operating system that is more likely to keep your data protected.

When it comes to popular Linux distributions, the source-code is public, and the entire open-source community has eyes on bugs and vulnerabilities.

Of course, that does not mean it is impenetrable. But, it is a superior platform because it receives timely patches and updates, even if a vulnerability has been uncovered. And, with LTS distributions like Ubuntu, you get updates for as long as 12 years (which is impossible with macOS or Windows).

There are also privacy-focused Linux distributions, which go a step beyond and make things crazier. They offer a greater learning curve, but if your priority lies in securing your data, you can make the choice.

Secure Your Online Privacy With These Linux Distributions
Brief: This article shows you the list of best privacy-focused Linux distributions. This article is intended for readers who are extremely concerned about their only privacy. Privacy is a serious and much-debated issue. In this age of cyber espionage and electronic surveillance, privacy becomes a crucial subject. While most of
9 Reasons to Learn Linux

3. Cost of Maintenance and Installation

9 Reasons to Learn Linux

Why pay for an OS when you can get a more reliable one for free? All you need to do is spend some time learning it and save a lot of money in terms of hardware (macOS hardware is expensive), Windows license, antivirus subscriptions, and others.

You also get longer software updates, for the most part, without paying a dime.

Moreover, it is easier to find free and open-source software on Linux, as the software center promotes such utilities more than the proprietary or paid ones. So, you do not need to worry about paying for software (unless you have a commercial requirement) or you depend on a special tool that charges a fee.

Because of this free-of-cost experience, Linux is a must-learn for students and other working professionals using many systems or running outdated hardware.

5. Flexibility For Curious Minds

9 Reasons to Learn Linux

Installing Linux provides you an endless option of distributions, unlike the monotonic nature of other popular operating systems.

Distributions like Ubuntu, Peppermint, and Fedora, each offer a new unique experience. This keeps you fresh and makes sure you always have something to learn in the world of Linux.

If you are someone who is in favor of trying something new, learning Linux is the best thing you can do.

Different desktop environments, different file managers, and various package managers. Anything you are keen to explore, you have endless choices.

6. Reviving Old Computers

9 Reasons to Learn Linux

Who does not want the power of resurrection? While it might not apply to life, computers can be revived and the way to do it is by using Linux.

With most users running Windows, there comes a time when the requirements to run Windows's latest version exceed that of your system.

But, you don't need to throw that computer yet!

Because of Linux's minimal hardware requirements and very efficient desktop environments like Lubuntu, it's easy to run them on old computers.

So, just replacing your operating system with Linux can very well just revive your old computer and save you a hefty amount of money.

7. No Privacy Invasion

9 Reasons to Learn Linux

With your data being collected and being used for various purposes like targeted advertisements and surveys, one often questions their privacy.

Microsoft's Windows is infamous for its choices when it comes to user privacy.

With Linux, it's different. While Ubuntu does collect some usage data (if you enable), you can always opt out of that. Not just Ubuntu, you will not find any hidden data collection mechanisms in any Linux distributions.

This ensures you have control of your data and that there is complete transparency with where your data is being distributed.

8. Career Opportunities

9 Reasons to Learn Linux

While learning Linux is beneficial for personal use-cases, it also helps professionally.

With more need for jobs, now more than ever, it is very important to keep upskilling yourself and keep yourself up to date.

Whether it's system administration, cybersecurity, server hosting, or software development, learning Linux can help you in every aspect of your career. e

These careers don't just cater to your interests but also are usually well-paid and in demand across industries. So, the skills that come with Linux will make sure you stay in the market for a long time.

9. The Community

9 Reasons to Learn Linux

While I have discussed the open source nature of Linux several times in this article, it is for good reason. Linux's biggest selling point is its community support.

With millions of users that work towards making the OS better, it is without a doubt why Linux is as reliable as it is. Whether we talk about its user base, or developer ecosystem, most Linux distributions have a huge community behind it. This can help you learn easily, ask for help, and present a place for you to interact with like-minded people.

The community makes Linux unique.

Wrapping Up

The reasons I listed above are only the tip of the iceberg.

Some may have said that learning Linux is only for geeks (or techies), but that's not true, and you can benefit a lot by getting familiar with it.

💬 Why do you think someone should learn Linux? Let me know your thoughts in the comments below.

Author Info

9 Reasons to Learn Linux

Swayam Sai Das is a student exploring the realms of Linux as an Intern Writer at It's FOSS. He is dedicated, when trying to push ranks in FPS games and enjoys reading literature classics in an attempt of putting on an academic facade.



from It's FOSS https://ift.tt/P8Y0wNR
via IFTTT

Exploring the Lightweight Alpine Linux in Virtual Box

Exploring the Lightweight Alpine Linux in Virtual Box

Alpine Linux is one of the few Linux distributions out there that stands out of the crowd.

First, Alpine is an independent Linux distribution, not a derivative of any other popular option.

Second, it uses OpenRC as the init system. So, if you are someone who is not a fan of systemd, you can surely consider this one.

Third, it uses BusyBox by default, which is an interesting choice.

Now, Alpine is immensely popular as a container distro because of its small form factor. The base docker image is hardly 5 MB, making it an attractive choice.

But it doesn't mean that you can only use Alpine with Docker or it only has to be in the the server format.

In this tutorial, I'll share how you can install Alpine Linux with Xfce desktop in VirtualBox.

Sounds exciting? Let's go.

Step 1: Download Alpine Linux

Alpine Linux provides several options to download. Here, I downloaded the x86_64 Virt ISO that is made for virtual machine setups. It is around 60 MB in size. You may also use the standard edition which is ~200 MB, and an extended ISO, nearly 900 MB in size.

I have used the Virtual Machine edition since I am installing it in a VirtualBox VM.

Step 2: Setup VirtualBox VM with Alpine ISO

Open VirtualBox and click on the “New” button to start creating a New VM.

Exploring the Lightweight Alpine Linux in Virtual Box
Click on New

Now, choose the Guided Mode and Set the following:

  • Name: Alpine Linux
  • ISO: Choose the Downloaded ISO
  • Kernel: Other Linux kernel 5.x
Exploring the Lightweight Alpine Linux in Virtual Box
Name Virtual Machine

Click Next. On the next screen, allocate some RAM to the VM. Usually, 2 GB is enough for Alpine, but if you could, give it 4 GB of RAM. Also, allocate some processors. Here, I have assigned 2 processors. Click Next.

Exploring the Lightweight Alpine Linux in Virtual Box
Allocate RAM and CPU

On the next screen, you need to provide the storage space. You can either go with the requirement or a bit extra for efficiency. 25 GB will be more than sufficient for a test virtual machine. Change according to your need.

Exploring the Lightweight Alpine Linux in Virtual Box
Allocate Disk

Clicking Next will give you an overview of the settings. Click the Finish button here.

Exploring the Lightweight Alpine Linux in Virtual Box
Click on Finish

Now, select the machine, right-click on it and select the Settings option.

Exploring the Lightweight Alpine Linux in Virtual Box
Select Virtual Machine Settings

Select the Display tab and put the display memory to max (128 MB). Click on OK after this.

Exploring the Lightweight Alpine Linux in Virtual Box
Allocate Display Memory

Now, start the VM by double-clicking on its name.

Step 3: Text-based Alpine installation

Alpine installation is text-based. Yeah! It gives the Arch Linux vibes, I know.

When the machine starts, you will be prompted to log in. Just type root and enter. The default root user has no password. You will be ready to install the system now.

Exploring the Lightweight Alpine Linux in Virtual Box
Login as root

Start the text-based installer

Once logged in as root, enter:

setup-alpine

This will start the installer.

Keyboard layout

You need to select the keyboard layout. Here, I have chosen “us”. It will ask to select the variant in US keyboard. I again enter “us” as the option.

Exploring the Lightweight Alpine Linux in Virtual Box
Keyboard Layout

Hostname

Enter a hostname of your choice. The default was localhost. And then press enter.

Exploring the Lightweight Alpine Linux in Virtual Box
Enter Hostname

Interface selection

Installer will ask for the network interface selection. Since, it selected the default for me, I will press Enter key. If you have other interfaces, you can select “?” for help. For VirtualBox, the default is enough.

Exploring the Lightweight Alpine Linux in Virtual Box
Select Network Interface

It now asks to set the IP. I am going with the default DHCP. Also, no further manual settings.

Exploring the Lightweight Alpine Linux in Virtual Box
IP Address Settings

Root password

As I mentioned earlier, the root account has no password. You have to set it up for the security purpose.

You need to type and retype the root password in this step. Needless to say that nothing is displayed on the screen when you type the password. Just type it and press enter.

Exploring the Lightweight Alpine Linux in Virtual Box
Set Root Password

Timezone settings

You need to select the timezone. The default is UTC. Press “?” for listing the available timezones. As you can see, I have set it to Asia and then pressed enter.

Exploring the Lightweight Alpine Linux in Virtual Box
Select Timezone

Subsequently, you have to set the region. Like before, press “?” for listing all the available area in the given timezone. I have selected Kolkata.

Exploring the Lightweight Alpine Linux in Virtual Box
Select Sub-timezone

Proxy settings

If you have any HTTP proxy, enter it at this stage, I had nothing, so I skipped the step by pressing the Enter key.

Exploring the Lightweight Alpine Linux in Virtual Box
Proxy Settings

NTP client

Select which NTP client to run. I am once again going with the default chrony.

Exploring the Lightweight Alpine Linux in Virtual Box
NTP Client

Mirror selection

The next screen is about the mirrors. You can view several lines of mirror list. Press R to view all. Now, you need to press “f” and enter to automatically analyze and save the fastest mirror from the list.

Exploring the Lightweight Alpine Linux in Virtual Box
Select fastest mirror

This will analyze and do the rest for you. Wait for a couple of minutes.

Set up a new user

You will need an additional user besides the root, for normal use cases. You can create it here, right within the installer, to avoid difficulties letter. For this, you need to enter a username (all small letters), full name for the user and type and retype the user password.

Exploring the Lightweight Alpine Linux in Virtual Box
Set up a new user

Some SSH Settings

Next is some SSH related settings, and I have chosen all the default options, by just pressing the enter key.

Exploring the Lightweight Alpine Linux in Virtual Box
SSH Settings

Partitioning the Disk

This step is important, as it decides the installation of the system. You need to partition the disk. It will list the available disk, and you can enter “?” for help.

Then select the disk that needs to be used by name. In my case, it is the SDA, with the storage space. This will ask how to use it. You have several options like “sys”, “data” etc. For normal use cases, you need to select the “sys” option and press enter.

It will then show a warning about erasing the data. Press “y” and enter.

After some time, you will get a notification that the installation is complete.

Exploring the Lightweight Alpine Linux in Virtual Box
Partitioning the Disk

You can either reboot the system here. But I will shut down the system using:

poweroff

Then, remove the attached ISO and start the machine again to avoid booting into the live ISO.

Step 4: Post-install set up

Now, you have installed the base system, but there is no desktop installed. So, you will be logged into the console again. You will now set up a minimal Xfce desktop and LightDM display manager for our Alpine Linux installation.

So, after booting into the system, login as root. Just use the username as root and enter the root password you have set during the installation.

Ensure superuser privileges

You need an editor for editing some config files. Since Alpine is a minimal set up, you need to install an editor first. Install Nano editor using:

apk add nano
💡
In Alpine Linux, you have doas instead of sudo. But that is not used here because you are running as root.

First, make sure that the default user is added to wheel group. For me, it was added automatically. To check, run:

groups <your-username>

This will list the groups your user is currently in. Look for the word “wheel”.

Exploring the Lightweight Alpine Linux in Virtual Box
User in Wheel Group

If not, you can add by using the command:

adduser <your-username> wheel

Now that the user is added to the wheel group. make sure the wheel group has its privileges by checking for the following line in /etc/doas.d/doas.conf

permit persist :wheel
Exploring the Lightweight Alpine Linux in Virtual Box
Superuser privileges for User

If not, edit the file using:

nano /etc/doas.d/doas.conf

Enable community repositories

By default, Alpine Linux does not have the community repository enabled. But you should have this to install more packages. So, edit the repositories file using:

nano /etc/apk/repositories
Exploring the Lightweight Alpine Linux in Virtual Box
Enable Community repositories

Now, uncomment the line that refers to community repositories, save and exit.

Step 5: Install Xfce desktop

Before installing the Xfce desktop, you need to make sure that you have xorg-base set up. For this, Alpine Linux provides a neat way. Run the code below:

setup-xorg-base

This will install the required packages for you.

Install Xfce and LightDM

Now, you need to install the Xfce and related packages. I am going to use the LightDM Desktop Manager. So, run the command below to install.

# apk add xfce4 xfce4-terminal xfce4-screensaver lightdm-gtk-greeter dbus

Once installation is finished, start the dbus (desktop bus) service:

rc-service dbus start

Enable dbus to start on boot:

rc-update add dbus
Exploring the Lightweight Alpine Linux in Virtual Box
Add DBus Service
💡
If dbus is not running, it leads to issues like missing icons and keyboard shortcuts

Enable udev service:

setup-devd udev

Now start the LightDM using:

rc-service lightdm start

If your LightDM GUI has started and prompts a login, log in as root and open a terminal. Next, run the below command to enable LightDM to start up during boot. If not started, run the command in the same prompt.

Exploring the Lightweight Alpine Linux in Virtual Box
Login as root
rc-update add lightdm
Exploring the Lightweight Alpine Linux in Virtual Box
Enable LightDM during system start

Allow Users to shut down and reboot

If you want to allow the users to shut down the machine or reboot the system, you need to have polkit-elogind and elogind installed.

apk add elogind polkit-elogind

Now, reboot the system:

reboot
Exploring the Lightweight Alpine Linux in Virtual Box
Running Alpine Linux

That's the end...

I understand that it is slightly different than the usual way of installing Linux in VirtualBox. But then Alpine Linux is slightly different from most other Linux distributions.

I hope you find this quick tutorial helpful in getting started with Alpine Linux. Please let me know if you have questions or suggestions.



from It's FOSS https://ift.tt/iICUo2P
via IFTTT