This Feb. 1, 2018 photo shows the entrance to a traditional underground Berber home that's been turned into a museum. The home is near Matmata, a town in southern Tunisia known both for its Berber inhabitants and as a setting for the filming of the original Star Wars. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows Masoud Berachad, the owner of the Hotel Sidi Driss, which served as Luke Skywalker's home in the original Star Wars. The hotel is in Matmata, a town in southern Tunisia known both for its Berber inhabitants and as a setting for the filming of Star Wars. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows the high desert landscape near Matmata, a town in southern Tunisia known both for its Berber inhabitants and as a setting for the filming of the original Star Wars. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows the interior of a bar decorated with Star Wars-related photographs inside the Hotel Sidi Driss. The hotel served as Luke Skywalker's home in the original Star Wars. The hotel is in Matmata, a town in southern Tunisia known both for its Berber inhabitants and as a setting for the filming of Star Wars. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows Mahboub Theouibi, a woman who lived in a traditional underground Berber home that's been turned into a museum. The home is near Matmata, a town in southern Tunisia known both for its Berber inhabitants and as a setting for the filming of the original Star Wars. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows an old Berber cave home in Tamezret that has been turned into a museum that showcases Berber history and arts. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo a road marker on a highway passing through a massive salt lake in southern Tunisia called Chott el Djerid. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows vendors inside an abandoned Star Wars film location in the Sahara Desert near Tozeur in southern Tunisia. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows a boat-like structure with a Tunisian flag flying on it as it sits on a massive salt lake in southern Tunisia called Chott el Djerid. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows a traditional underground Berber home that's been turned into a museum. The home is near Matmata, a town in southern Tunisia known both for its Berber inhabitants and as a setting for the filming of the original Star Wars. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows a 4-by-4 vehicle taking tourists down a sand dune to visit an abandoned Star Wars film location in the Sahara Desert near Tozeur in southern Tunisia. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

This Feb. 1, 2018 photo shows the inside of an abandoned Star Wars film location in the Sahara Desert near Tozeur in southern Tunisia at dusk. Southern Tunisia is a remote and otherworldly region that extends into the dunes of the Sahara Desert. (Cain Burdeau via AP) Cain Burdeau

MATMATA, Tunisia — There’s a reason the original “Star Wars” movie was filmed here in the deserts of southern Tunisia. This stark, remote landscape looks like another planet.

One of Tunisia’s vast desert regions is even called Tataouine, like Luke Skywalker’s home planet, Tattoine.

And the underground home where Luke Skywalker first appeared living with his uncle and aunt is a real hotel in the town of Matmata, one of various desert locations used in the movies.

“It looks just like the film,” said Lorenzo Bresciani, one of two young touring Italian professional tennis players who recently visited the Hotel Sidi Driss. “When you see it on the film, you say, ‘OK.’ But when you are here, it has another effect.”

Hotel owner Masoud Berachad says visitors have dropped off since Tunisia’s democratic revolution in 2011 and since terror attacks killed tourists in 2015.

Still, “Star Wars” fans keep the hotel in business. “They come and take so many pictures,” Berachad said. “You can see how happy they are. They can stay here for hours and hours.”

Aside from tourism, though, jobs here are scarce. Matmata’s population is dwindling as people leave for a more modern life elsewhere.

The Berbers

Before becoming a hotel in 1969, the “Star Wars” dwelling was a traditional home used by indigenous Berbers. The Berbers played a major role in the history of North Africa and Europe after forming powerful alliances with Romans and Arabs. Remember the Jawas from “Star Wars,” the hooded fellows who trade in scrap metal and capture C-3PO and R2-D2? Their dark cloaks and pointed hoods resemble the garments of traditional Berbers, as does Obi-Wan Kenobi in his cloak.

The Berbers’ underground dwellings, like the Matmata house, were carved from sandstone to offer shelter from heat and a place to hide from enemies. Few people live that way today, but some dwellings have been preserved as museums, including one owned by Mahboub Theouibi, whose family moved into a modern house about 25 years ago.

Like most of the dwellings, theirs was built with a central courtyard open to the sky. “Brothers lived in the same room, cousins in another,” she said. “Each room had a purpose.” She pointed to a small room accessible only by ladder, where the family stored food, and a stone for milling grains. “Everything was made by hand,” she said.

She remembered her life there fondly, despite hardships like carrying water by camel from a spring far away and the daily search for food.

It’s a long journey across wide-open plateaus to this desert terrain. Long, straight highways pass industrial cities such as oil-rich Gabes and phosphate-producing Gafsa. Vendors by the roadside sell tea boiled in fire-warmed pots, pastries and beautiful ceramics. Stacks of jerry cans hold cheap gas smuggled in from neighboring Algeria and Libya. In lonely-looking and half-finished towns along the way, the only businesses seem to be coffee shops filled with men smoking hookahs and playing cards.

A jumble of walls and stone homes mark a Berber town on a hill called Tamezret. Here Mongi Bouras, a 50-year-old Berber artisan, has meticulously turned an old cave home into a museum to showcase his people’s history.

His museum is filled with his gorgeous traditional artwork, all handmade: dresses, quilts, carpets, mannequins adorned in traditional clothing. It’s also full of tools and objects that would have been found in a Berber home, like pestles and the two-handled jars called amphorae.

He said animistic, Jewish, Christian and Muslim symbols became part of Berber crafts and patterns, and his work reflects that: In his laboriously woven garments and carpets there is a Star of David, a Christian cross, an Islamic crescent moon and naturalistic representations.

The low doorways, he said, forced visitors to bow out of courtesy. In one room, he lifted a colorful carpet to reveal a wooden door in the floor. This used to be the entrance to a 1-kilometer-deep tunnel once used by inhabitants to get water, their path lit by oil lamps. “The sign of the smoke from olive oil is still there,” he said.

AN ABANDONED FILM SET

Farther on, the Sahara gets closer. The horizons stretch longer. Traffic is sparse. Mountain profiles etch the landscape.

Out of nowhere, a town appears: Douz. A restaurant menu lists camel’s milk, lamb’s head and grilled fish trucked in from the Mediterranean. Another city on the edge of the Sahara, Tozeur, is busy with shops, lit-up mosques, cafes, markets, traffic.

Then, just outside Tozeur, a bizarre sight appears over the top of a sand dune: an abandoned film set from another “Star Wars” location, a place called Mos Espa in the films. Vendors sell crafts and pushy boys try to get tourists to pose for photographs atop camels or with long-eared desert foxes.

As the sun falls, the dunes and desert take on strange shapes and colors. It’s as if they truly belong on another planet.