Remove greeter virus when customizing Ubuntu 18.04
1 Attachment(s)
Has anyone found a reliable way of removing the greeter virus in Ubuntu 18.04? (see annoying-greeter attachment). Everything I have found on-line doesn't work. I even created a script to get run as part of a ubiquity/success_command
# # sed -i 's/Exec=/#Exec=/' /usr/share/applications/gnome-initial-setup.desktop sed -i 's/Exec=/#Exec=/' /usr/share/gdm/greeter/applications/gnome-initial-setup.desktop sed -i 's/Exec=/#Exec=/' /usr/share/ubuntu-wayland/applications/gnome-initial-setup.desktop sed -i 's/Exec=/#Exec=/' /usr/share/ubuntu/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=KDE;/' /usr/share/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=KDE;/' /usr/share/gdm/greeter/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=KDE;/' /usr/share/ubuntu-wayland/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=KDE;/' /usr/share/ubuntu/applications/gnome-initial-setup.desktop and __still__ this virus comes back. Has anyone found a reliable way to nuke it when building a custom ISO from a "live" disk? |
Do you mean this? https://askubuntu.com/questions/1044...efault-greeter
|
Quote:
|
If you don't mind me saying so, here's why your post may not have received much attention:
. The welcome screen isn't a greeter. More about greeters: https://wiki.archlinux.org/index.php/LightDM#Greeter . The welcome screen isn't a virus, no matter your opinion of it. Many people won't be opening your post because they think it's to do with virus detection. In fact, the welcome screen allows you to turn off some of the default data collection. . "Everything I have found on-line doesn't work" provides no information at all on what you have actually tried. Folk aren't going to spend time researching alternative solutions for you if there's the possibility you're going to just turn around and say "Oh no, that was one of the things I tried". In addition, this makes it appear that you have tried everything and that, unless someone has very specific knowledge, there's nothing that can be done. For example, have you looked at this thread? https://askubuntu.com/questions/1028...welcome-screen |
Quote:
Only someone who actually succeeded will be of any use. I've been to every link on the first 3 pages of results for Google, Ask and Bing. I've even added this: set +e # # Try to get rid of that virus known as the Ubuntu greeter # sed -i 's/Exec=/#Exec=/' /usr/share/applications/gnome-initial-setup.desktop sed -i 's/Exec=/#Exec=/' /usr/share/gdm/greeter/applications/gnome-initial-setup.desktop sed -i 's/Exec=/#Exec=/' /usr/share/ubuntu-wayland/applications/gnome-initial-setup.desktop sed -i 's/Exec=/#Exec=/' /usr/share/ubuntu/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=NONE;/' /usr/share/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=NONE;/' /usr/share/gdm/greeter/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=NONE;/' /usr/share/ubuntu-wayland/applications/gnome-initial-setup.desktop sed -i 's/OnlyShowIn=GNOME;/OnlyShowIn=NONE;/' /usr/share/ubuntu/applications/gnome-initial-setup.desktop set -e To a script run on Ubitquity success. Upon success of my install, I've even tried to trigger the uninstall of gnome-initial-setup. The thing is a virus. So far the only person I've found who had _any_ success, built their own ISO from scratch and put in a kickstart rule to block the initial installation of this package. Once it is there, seems like there are not enough antibiotics in the programming world to get rid of it. So, yes, I expected an extremely limited response. There might be 3 people in the world who have successfully gotten rid of this when building a custom ISO from a live disc. I have no doubt that most everything I found in those links worked at some point, but the virus has adapted. It refuses to be killed. |
I installed ubuntu several times and I can't remember if that was an issue at all. I think that's why you won't find a solution (because it is not a problem at all - therefore noone wanted to solve it). And it is still neither a greeter nor a virus, but a what's new information.
You need to learn the boot process (of ubuntu) and check what is running and especially how the initial [first] boot was configured. This sed is not the right approach I think. |
Quote:
|
if that was the biggest problem in my life ...
|
Quote:
|
i find your attitude a little lacking here; if someone had ever been in the exact same situation, don't you think they would've come forward already? we're trying to help you as best we can, but you seem to be holding that against us as a lack of understanding or ability, even though you don't have anything better to offer either.
anyhow, here's a thought: very likely this welcome screen has a checkbox at the end that has to be either checked or unchecked to avoid seeing this every time after login. the program then usually stores an empty file somewhere, or adds a configuration option to an existing file, or something similar, that signifies "user has seen the welcome screen and doesn't want it anymore" - maybe you can manually add that to the .iso itself and thus avoid the problem. |
1 Attachment(s)
Quote:
As the link in one of the earlier responses shows, many, many people have this exact problem. Every time a functioning solution gets posted publicly it appears Canonical upgrades the virus to be resistant to the change. Just look at how many places they now hide the exact same file so the virus can continue to replicate itself. Code:
sed -i 's/Exec=/#Exec=/' /usr/share/applications/gnome-initial-setup.desktop No, if someone defeated this they won't post it publicly here because every time that has happened the virus appears to get upgraded. It would be a private message, once they are certain I don't work for Canonical. Quote:
I am liking the "look for the change" idea. Perhaps over the holiday I will look for a script which will build a list of all file names (not paths, names) sorted by last modified timestamp. I could then create two accounts, Test5 and Test6, run the script to get the top 100 latest files. Log into Test5 and click my way through the Virus, log out, run the script again. Sure, there will be some dry-fires, but, one of them should have been tweaked as a result. Not as good as complete removal of this virus (see attachment) but visually, almost as good. |
that is nonsense. I have now a working ubuntu 16.04 desktop and there is no such file at all (gnome-initial-setup.desktop).
By the way a desktop file cannot be a virus and cannot replicate itself. Furthermore you do not need to edit them, but replace the file pointed by Exec=. (copy /bin/true over it for example - when you prepare your installation image). |
Quote:
Furthermore a .desktop file can replicate itself as much as it likes if via no other means than the target of Exec= |
[Solved] Remove greeter virus
Quote:
Code:
# When building .deb package which installs under a user it creates you can hide this virus in the following manner: postinst Code:
# Remove annoying gnome greeter virus if it exists postrm Code:
# Restore annoying gnome greeter virus if it exists Renaming this file appears to leave Gnome greeter fully functional without any harmful side effects. Now we can start the clock to see how long it takes developers at Canonical to adapt this virus so it can recover from the missing tour file. |
Please use [CODE] tags in all the appropriate posts from you (see my sig for HOWTO) ;)
|
All times are GMT -5. The time now is 03:36 PM. |