f1sz
Posts: 1
Joined: Fri Jan 18, 2019 8:19 am

Disable "Welcome to Raspberry Pi" setup wizard at system start

Fri Jan 18, 2019 8:24 am

Hello,
Is it possible the "Welcome to Raspberry Pi" setup wizard window at the system start?

I configure raspberry through SSH, and I don't want to plug mouse & keyboard every time, when I deploy new rPI. I've to set all settings (locale, keyboard settings, wifi region etc.) through raspi-config, but the window is still displaying.

Image

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Disable "Welcome to Raspberry Pi" setup wizard at system start

Fri Jan 18, 2019 8:41 am

I've asked Simon to do this before. He wouldn't agree to it.

It's 100% illogical to ask for WiFi and ssh things when WiFi & ssh are already configured - but we have to live with it.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

jtommi
Posts: 1
Joined: Sat Feb 02, 2019 9:42 am

Re: Disable "Welcome to Raspberry Pi" setup wizard at system start

Sat Feb 02, 2019 10:43 am

Found the solution.
I took this filewatcher script from super : https://superuser.com/a/959040
I rewrote it a bit to look like this : https://gist.github.com/jtommi/3dcd9781 ... 7f2063241d

With this filewatcher I found that when you press Done on the last step, it deletes a file.
That file is /etc/xdg/autostart/piwiz.desktop
So if you want to get rid of it :

Code: Select all

sudo rm /etc/xdg/autostart/piwiz.desktop
sudo reboot now
If you want to immediately kill it without reboot :

Code: Select all

sudo kill $(ps aux | grep '[p]iwiz' | awk '{print $2}')

User avatar
n0rt0x
Posts: 4
Joined: Fri Feb 22, 2019 7:39 pm

Re: Disable "Welcome to Raspberry Pi" setup wizard at system start

Tue Feb 26, 2019 12:55 pm

Is there a way to manually launch this program at a later date in case you accidentally clicked it away?
Have you tried turning it off and on again? ;)

globiboulga666
Posts: 40
Joined: Sun Jun 17, 2018 6:38 pm

Re: Disable "Welcome to Raspberry Pi" setup wizard at system start

Sun Apr 07, 2019 9:20 pm

Hi,

I had the same problem, keeping this thing opening again at each start despite it's already configured is really frustrating. Why not just add a checkbox "do not show again" ?
Once checked, and clicked on "Cancel", a message saying "you can manually run this tool by typing sudo piwiz in a terminal." before closing the app.

User avatar
sapnho
Posts: 216
Joined: Sun Sep 14, 2014 3:49 pm
Location: Frankfurt am Main
Contact: Website

Re: Disable "Welcome to Raspberry Pi" setup wizard at system start

Thu May 16, 2019 3:52 pm

Thanks so much @jtommi ! Exactly what I was looking for.
www.TheDigitalPictureFrame.com
Build a really great digital picture frame with the Raspberry Pi.
With lots of great tips from this forum.

User avatar
Wazburi
Posts: 17
Joined: Wed Jan 06, 2016 4:22 am
Location: Appalachia

Re: Or Re-Enable "Welcome to Raspberry Pi" setup wizard at system start

Fri Jul 19, 2019 7:04 pm

jtommi wrote: So if you want to get rid of it :
Code: Select all

sudo rm /etc/xdg/autostart/piwiz.desktop
sudo reboot now

This information also helped me re-enable the piwiz configuration wizard after I clicked the "Cancel" button which also removes the wizard from the startup desktop permanently. -- (I use the 2019-07-10 image of Raspbian.)

If you want to restore the piwiz.desktop startup file from a newly flashed sd card in a USB card reader to your not-yet-configured Pi startup screen, the steps in terminal go like this:

Code: Select all

cd /media/pi/rootfs/etc/xdg/autostart
This changes the current directory to the location of piwiz.desktop in a NEWly flashed SD card in a USB port.

Code: Select all

sudo cp piwiz.desktop /etc/xdg/autostart/piwiz.desktop
This command copies the piwiz.desktop file from new external card to the internal card needing the piwiz start-up configuration window again.

You can shutdown or reboot the Pi as many times as you want and the piwiz wizard window will continue to appear until you complete the configuration process and press the "Done" button,
Or until you press the "Cancel" button
Or until you manually remove the piwiz.desktop file with a terminal command.

Here is a screen capture of a file manager folder in a newly flashed Raspbian SD card , viewing the directory of a second SD card in a USB port. The original piwiz.desktop file is beautifully adorned with the Raspberry Pi icon. Nice!
piwiz-origin.jpg
piwiz-origin.jpg (36.2 KiB) Viewed 1450 times
My friends call me "Word Salad"
  • All Hail Raspberry Pi !

Return to “Raspbian”