Contact Us
If you still have questions or prefer to get help directly from an agent, please submit a request.
Popular topics: Multilogin X, Multilogin 6,
-
Retrieving the token Using the automation token in a workspace Retrieving profile, folder, and workspace IDs Retrieving the user ID Selenium automation example Playwright automation example Puppeteer automation example Logging in to Multilogin automatically Setting up automatic cookie collection Auto-launching the agent Exporting proxy details from profiles Converting external proxy lists into API-ready JSON files Automation FAQHow to fix agent connection issues How to fix startup issues in Multilogin How to fix profile launch or proxy connection issues How to fix Mimic launch issues on Linux How to enable web camera in Multilogin profiles How to fix website loading issues in Multilogin My app or profile is slow: how to fix performance issues How to unlock a locked profile How to find missing profiles How to access restricted websites How to fix small Stealthfox window resolution on Windows How to fix connection issues in restricted regions How to fix Multilogin issues on macOS How to disconnect and reconnect the agent How to reinstall app components How to send logs to support How to fix "Failed to get profile data" error How to fix "Access denied" error How to fix “ERR_CONNECTION_RESET” error How to fix Stealthfox issues on Windows How to fix “Wrong proxy data” error Account banned: what should I do?
-
Common errors and solutions in Multilogin 6 Can't launch profiles in Multilogin 6 Multilogin 6 browser profile shows "Error" in status How to fix Stealthfox issues on Windows JavaScript error when switching to dark mode in Multilogin 6 Error: Failed to get IP data: can't connect through proxy Error: Javax.crypto.badpaddingexception: pad block corrupted Status: Update in progress...Loading (1) of 2 components How to fix "Fingerprint composition failed" error How to fix "Mimic/Stealthfox executable is not found" error How to fix "Downloading Mimic browser" error
Auto-launching the agent
Written by Bruno Moraes
Updated on November 4th, 2024
Table of contents
If you need the agent to be launched automatically every time you restart your device, run the scripts below.
The agent needs a display in order to work. If your system doesn’t have one, use a virtual display. Example:
xvfb-run mlx
Windows
import os
import subprocess
def connect_agent():
username = os.getlogin()
exe_path = f'C:\\Users\\USERNAME\\AppData\\Local\\MLX\\agent.exe'
agent_connection = subprocess.run([exe_path])
assert agent_connection.returncode == 0
if agent_connection.returncode == 0:
print("Agent connected")
else:
print(f"Failed to connect agent. Error {agent_connection.returncode}")
if __name__ == "__main__":
connect_agent()
macOS
import subprocess
def connect_agent():
agent_connection = subprocess.Popen(['open', '/Applications/Multilogin X.app/'])
agent_connection.wait()
return_code = agent_connection.returncode
if return_code == 0:
print("Agent connected")
else:
print(f"Failed to connect agent. Error {return_code}")
connect_agent()
Linux
You can start the agent by calling:
/opt/mlx/agent.bin
Or simply:
mlx