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 Retrieving the automation token Retrieving profile, folder, and workspace IDs Retrieving the user ID Running Multilogin in a Docker container Setting up automatic cookie collection Selenium automation example Playwright automation example Puppeteer automation example Logging in to Multilogin automatically Auto-launching the agent Getting started with Postman Creating a profile with Postman Starting a profile with Postman Stopping a profile with Postman Updating a profile with Postman Creating a quick profile with Postman Automation FAQ
-
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 Unable to start Multilogin Unable to start a profile Error: Fingerprint composition failed Connection error due to non-Latin characters in Windows username Error: Mimic/Stealthfox executable is not found Error installing Multilogin on macOS Browser profile shows "Error" in status Common errors and solutions
Auto-launching the agent
![](https://secure.gravatar.com/avatar/8d3308f3c1321b537128f4b4d1b042a9.png?s=96&d=blank)
Written by Bruno Moraes
Updated on May 23rd, 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
On Windows
import os
import subprocess
def connect_agent():
username = os.getlogin()
exe_path = f'c:\\Users\\{username}\\AppData\\Local\\Multilogin X\\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()
On macOS
import subprocess
def connect_agent():
agent_connection = subprocess.Popen(['open', '/Applications/mlx.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()
On Linux
You can start the agent by calling:
/opt/mlx/agent.bin
Or simply:
mlx