#1323 closed defect (needinfo)
server startup error with no socket-dirs
Reported by: | kc7noa | Owned by: | kc7noa |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | server | Version: | 0.17.x |
Keywords: | Cc: |
Description (last modified by )
This is once posted as fixed .. and yet im getting this in teh log ..
(process:4494): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. xpra main error: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/xpra/scripts/main.py", line 126, in main return run_mode(script_file, err, options, args, mode, defaults) File "/usr/local/lib/python2.7/dist-packages/xpra/scripts/main.py", line 1007, in run_mode return run_server(error_cb, options, mode, script_file, args, current_display) File "/usr/local/lib/python2.7/dist-packages/xpra/scripts/server.py", line 1143, in run_server local_sockets = setup_local_sockets(opts.bind, opts.socket_dir, opts.socket_dirs, display_name, clobber, opts.mmap_group, opts.socket_permissions) File "/usr/local/lib/python2.7/dist-packages/xpra/scripts/server.py", line 434, in setup_local_sockets dotxpra = DotXpra(socket_dir or socket_dirs[0]) IndexError: list index out of range
This is on an Arm, Ubuntu 16.04 kernel 3.8.14
Server has no display
Change History (14)
comment:1 Changed 6 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Antoine Martin to kc7noa |
comment:2 Changed 6 years ago by
sudo python setup.py install
xpra start :100 --start-child=xterm
odroid@odroid:~$ xpra showconfig auth = '' auto-refresh-delay = 0.15 av-sync = True bell = True bind = '~/.xpra/' bind-tcp = [] bind-vsock = [] border = 'auto,5:off' clipboard = 'yes' clipboard-filter-file = '' compression_level = 1 compressors = 'lz4', 'lzo', 'zlib' csc-modules = 'swscale', 'cython' cursors = True daemon = True dbus-control = True dbus-launch = 'dbus-launch --close-stderr' dbus-proxy = True debug = '' delay-tray = False desktop-scaling = 'auto' display = '' displayfd = False download-path = '~/Downloads' dpi = 0 encoding = '' encodings = 'h264', 'vp9', 'vp8', 'mpeg4', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'rgb24', 'rgb32', 'jpeg', 'h265' encryption = '' encryption-keyfile = '' env = '#avoid Ubuntu's global menu, which is a mess and cannot be forwarded:', 'UBUNTU_MENUPROXY=', 'QT_X11_NO_NATIVE_MENUBAR=1', '#fix for MainSoft's MainWin buggy window management:', 'MWNOCAPTURE=true', 'MWNO_RIT=true', 'MWWM=allwm' exec-wrapper = '' exit-ssh = True exit-with-children = False exit-with-client = False fake-xinerama = True file-size-limit = 10 file-transfer = True global-menus = True idle-timeout = 0 input-method = 'none' key-shortcut = 'Meta+Shift+F1:show_menu', 'Meta+Shift+F2:show_start_new_command', 'Meta+Shift+F3:show_bug_report', 'Meta+Shift+F4:quit', 'Meta+Shift+F5:increase_quality', 'Meta+Shift+F6:decrease_quality', 'Meta+Shift+F7:increase_speed', 'Meta+Shift+F8:decrease_speed', 'Meta+Shift+F10:magic_key', 'Meta+Shift+F11:show_session_info', 'Meta+Shift+F12:toggle_debug', 'Meta+Shift+plus:scaleup', 'Meta+Shift+minus:scaledown', 'Meta+Shift+underscore:scaledown', 'Meta+Shift+KP_Add:scaleup', 'Meta+Shift+KP_Subtract:scaledown', 'Meta+Shift+KP_Multiply:scalereset', 'Meta+Shift+bar:scalereset', 'Meta+Shift+question:scalingoff' keyboard-sync = True local-clipboard = 'CLIPBOARD' log-dir = '~/.xpra' log-file = '$DISPLAY.log' lpadmin = '/usr/sbin/lpadmin' lpinfo = '/usr/sbin/lpinfo' max-size = '' mdns = True microphone = 'off' microphone-codec = [] min-quality = 30 min-speed = 30 mmap = True mmap-group = False notifications = True open-command = 'xdg-open' open-files = False opengl = None packet-encoders = 'rencode', 'bencode', 'yaml' password-file = '' pdf-printer = '' pings = False postscript-printer = '' printing = True pulseaudio = True pulseaudio-command = 'pulseaudio --start -n --daemonize=false --system=false --exit-idle-time=-1 --load=module-suspend-on-idle '--load=module-null-sink sink_name="Xpra-Speaker" sink_properties=device.description="Xpra\ Speaker"' '--load=module-null-sink sink_name="Xpra-Microphone" sink_properties=device.description="Xpra\ Microphone"' --load=module-native-protocol-unix --load=module-dbus-protocol --log-level=2 --log-target=stderr' pulseaudio-configure-commands = 'pactl set-default-sink Xpra-Speaker', 'pactl set-default-source Xpra-Microphone.monitor' quality = 0 readonly = False remote-clipboard = 'CLIPBOARD' remote-logging = 'both' remote-xpra = '~/.xpra/run-xpra', '$XDG_RUNTIME_DIR/xpra/run-xpra', 'xpra' resize_display = True server-idle-timeout = 0 session-name = '' shadow-fullscreen = False sharing = False socket-dir = '' socket-dirs (used) = [] <type 'list'> socket-dirs (default) = '~/.xpra' <type 'list'> socket-permissions = '600' sound-source = '' speaker = 'on' speaker-codec = [] speed = 0 ssh = 'ssh -x' start = [] start-after-connect = [] start-child = [] start-child-after-connect = [] start-child-on-connect = [] start-new-commands = False start-on-connect = [] sync-xvfb = 0 system-tray = True tcp-auth = '' tcp-encryption = '' tcp-encryption-keyfile = '' tcp-proxy = '' title = '@title@ on @client-machine@' tray = True tray-icon = '' use-display = False username = 'odroid' video-decoders = 'avcodec2', 'vpx' video-encoders = 'x264', 'vpx' video-scaling = 1 vsock-auth = '' webcam = 'auto' window-close = 'auto' window-icon = '' windows = True wm-name = 'Xpra' xsettings = True xvfb = 'Xvfb +extension Composite -screen 0 5760x2560x24+32 -nolisten tcp -noreset -auth $XAUTHORITY' odroid@odroid:~$
Im also using a Displaylink on /dev/fb1
The display device on dev/fb0 has a defective HDMI output -- non-repairable.
could Xvfb be causing this ? "-screen 0"
I thought this was seen before .... inticket #237 .. but was in different file.
comment:3 Changed 6 years ago by
OK, so the only change in your configuration from the defaults is that you don't have any "socket-dirs" defined.
When running "xpra showconfig" from a terminal, it should get printed out in orange to highlight it.
Please post the output of this command:
python -c "from xpra.platform.paths import get_socket_dirs;print(get_socket_dirs())"
This is what is used to generated "socket-dirs" in your default xpra config. (/etc/xpra/xpra.conf
in v0.17.x).
I assume that you are on this version based on the file offsets, please update the ticket "version" attribute to match if that's the case.
comment:4 Changed 6 years ago by
Version: | trunk → 0.17.x |
---|
odroid@odroid:~/Downloads/xpra-0.17.5$ python -c "from xpra.platform.paths import > > > get_socket_dirs;print(get_socket_dirs())" File "<string>", line 1 from xpra.platform.paths import ^ SyntaxError: invalid syntax odroid@odroid:~/Downloads/xpra-0.17.5$
comment:5 follow-up: 6 Changed 6 years ago by
Summary: | IndexError: list index out of range → server startup error with no socket-dirs |
---|
comment:6 Changed 6 years ago by
ok ... there were some changes in the formatting due to the email client ... moving forward.
odroid@odroid:~$ python -c "from xpra.platform.paths import get_socket_dirs;print(get_socket_dirs())" ['~/.xpra'] odroid@odroid:~$
comment:7 Changed 6 years ago by
odroid@odroid:~/.xpra$ ls :100.log :100.log.old :200.log :200.log.old run-xpra odroid@odroid:~/.xpra$
comment:8 Changed 6 years ago by
kc7noa: so your get_socket_dirs()
returns at least one socket directory ("~/.xpra"), as expected, and this is what should be in your /etc/xpra/xpra.conf
. (please attach the file to this ticket)
comment:9 Changed 6 years ago by
contents of ...
odroid@odroid:/etc/xpra$ ls xorg.conf odroid@odroid:/etc/xpra$
there is no xpra.conf in /etc/xpra/
this is the first few lines of xorg.conf thats in /ext/xpra/
# This xorg configuration file is meant to be used by xpra # to start a dummy X11 server. # For details, please see: # https://xpra.org/Xdummy.html Section "ServerFlags" Option "DontVTSwitch" "true" Option "AllowMouseOpenFail" "true" Option "PciForceNone" "true" Option "AutoEnableDevices" "false" Option "AutoAddDevices" "false" EndSection Section "Device" Identifier "dummy_videocard" Driver "dummy" DacSpeed 600 Option "ConstantDPI" "true" #VideoRam 2048000 #VideoRam 1024000 #VideoRam 384000 VideoRam 256000 #VideoRam 192000 EndSection Section "Monitor" Identifier "d
Should this file be named xpra.conf ?
comment:10 Changed 6 years ago by
Then your installation is borked, there should be an xpra.conf.
(xorg.conf is something else)
comment:11 Changed 6 years ago by
Wow . talk about tired .. i totally missed the fact-- that --- that is my Display config ... awful odd that its in /ect/xpra
Ill search whole drive for xpra.conf
comment:13 Changed 6 years ago by
Resolution: | → needinfo |
---|---|
Status: | new → closed |
comment:14 Changed 16 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1323
Where?
You do not have any socket directories defined, this should not happen - r13859 improves the error (but the error will remain).
Since this is a non standard installation, please include the commands that you've used for installing and the commands that you've used for running the server. "xpra showconfig" wouldn't hurt either.