Skip to content

Commit 66df3ed

Browse files
committed
Start rfb on ip_addr
1 parent 5e02bfb commit 66df3ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

llmstack/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def start_runner(environment):
140140
detach=True, remove=True, environment=environment,)
141141

142142
# Start runner container if not already running
143+
print('[llmstack-runner] Started LLMStack Runner')
143144
if runner_container.status != 'running':
144145
runner_container.start()
145146

@@ -150,7 +151,7 @@ def start_runner(environment):
150151

151152
def stop_runner():
152153
"""Stop llmstack-runner container"""
153-
print('Stopping LLMStack Runner')
154+
print('\nStopping LLMStack Runner\n')
154155
client = docker.from_env()
155156
runner_container = None
156157
try:

llmstack/common/runner/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def get_display(self, timeout=10, remote_control=False):
9292
# We start noVNC if remote_control is True
9393
if remote_control:
9494
x11vnc_process = subprocess.Popen(['x11vnc', '-display', display['DISPLAY'], '-nopw', '-listen',
95-
'localhost', '-xkb', '-q', '-rfbport', str(display['rfb_port'])], close_fds=True)
95+
f'{self.ip_address}', '-xkb', '-q', '-rfbport', str(display['rfb_port'])], close_fds=True)
9696
display['x11vnc_process'] = x11vnc_process
9797
display['token'] = str(uuid.uuid4())
9898

0 commit comments

Comments
 (0)