xpra icon
Bug tracker and wiki

Opened 4 years ago

Closed 4 years ago

#1082 closed defect (fixed)

Unable to launch xterm while specifying color arguments

Reported by: J. Max Mena Owned by: J. Max Mena
Priority: trivial Milestone: 0.17
Component: server Version: trunk
Keywords: Cc:

Description

This seems fairly trivial, but I'm filing a ticket anyways since it could be indicative of a larger problem.

Attempting to launch an Xterm with color arguments xterm -bg black -cr white -fg white via --start-child="xterm -bg black -fg black -cr white", via the control interface, via dbus, or via the "run command" dialogue fails.

The control channel returns:

server returned error code 127
  failed to start new child command ('xterm -bg black -cr white -fg white',)

the dbus channel (via d-feet) returns:

'g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.xpra.server.control_command.ControlError: Traceback (most recent call last):\n  File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in _message_cb\n    retval = candidate_method(self, *args, **keywords)\n  File "/usr/lib64/python2.7/site-packages/xpra/server/dbus/dbus_server.py", line 122, in StartChild\n    self.server.do_control_command_start(False, ns(command))\n  File "/usr/lib64/python2.7/site-packages/xpra/server/server_base.py", line 1265, in do_control_command_start\n    raise ControlError("failed to start new child command %s" % str(args))\nControlError: failed to start new child command (\'xterm -bg black -cr white -fg white\',)\n (36)'

Attempting to add it as a start child prints the following error during startup:

2016-01-08 09:46:40,869 Error spawning child 'xterm -bg black -cr white -fg white': [Errno 2] No such file or directory

Using the "run command" dialogue prints the following error serverside:

2016-01-08 09:48:41,181 Error spawning child 'xterm -bg black -cr white -fg white': [Errno 2] No such file or directory

However, attempting to run just xterm via all the options works fine. Somehow adding color arguments to xterm fails, but only through Xpra. Launching an xterm with xterm works fine.


Both the server and the client are Fedora 23 trunk r11617.

The server is started with dbus-launch xpra start :13 --bind-tcp=0.0.0.0:2200 --start-new-commands=yes --start-child=xterm

And, the client is attached with xpra attach tcp:$IP:2200

Change History (2)

comment:1 Changed 4 years ago by Antoine Martin

Owner: changed from Antoine Martin to J. Max Mena

This should be fixed in r11618, will backport.

@maxmylyn: please close if this works for you.

comment:2 Changed 4 years ago by J. Max Mena

Resolution: fixed
Status: newclosed

Confirmed fixed. Closing.

Note: See TracTickets for help on using tickets.