13
submitted 2 months ago by cygnus@lemmy.ca to c/linux@lemmy.ml

cross-posted from: https://lemmy.ca/post/28766034

Sorry if this kind of question isn't allowed here, but I'm at my wit's end. VB randomly started launching on startup about 2 weeks ago (on EndeavourOS) and I can't figure out why. There's no shortcut in ~/config/autostart, it isn't in the KDE startup apps list, and I can't find anything virtualbox-related with systemctl either. There's also no setting in the VB app itself. WTF?

Based on recommendations in that thread, I also checked:

/etc/systemd/system
/etc/default/
vboxautostart.service
KDE "restore session" settings

Any ideas are much appreciated!

you are viewing a single comment's thread
view the rest of the comments
[-] FigMcLargeHuge@sh.itjust.works 4 points 2 months ago

Secondly, I’d attempt to write a bash script to walk a directory tree, cat out files, pipe it through grep and get every instance where VirtualBox is mentioned in a file. Trying the name of proccess, or of the executable too.

Move to the top of the tree you want to search and do something like this:

find . -type f -exec grep -iH "virtualboxexecutable" {} ;

That will give you what you want without the need for a script. -type f makes the find command only search files, and -exec has it run the grep command on any files it returns with -iH giving you case insensitive results showing you the file it's found in. Substitute 'virtualboxexecutable' with whatever the process name is that is being run. If you want to ignore binary files, the add in "| grep -iv "binary file matches" to the command. That will strip out any results where it has searched a binary file.

this post was submitted on 12 Sep 2024
13 points (93.3% liked)

Linux

48366 readers
718 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS