You are not logged in.

#1 2015-02-10 01:55:20

Odysseus
Member
Registered: 2009-02-15
Posts: 141

[Solved] gvfs-mount with sftp:// reports "unable to spawn ssh program"

I have two arch installs for my laptop and desktop, both of which are running sshd, and both have the same sshd_config and ssh_config (as verified by md5sum). I can use ssh, scp, and sftp in either direction without issue.  Gvfs-mount works fine on the desktop, but fails on the laptop:

$ gvfs-mount sftp://192.168.1.10
Error mounting location: Unable to spawn SSH program

My googling of that error only results in hits for the source code of gvfs, and I get lost in the source trying to hunt down what would cause that error to occur.  Is there a session management thing I have to enable? I run vanilla GNOME with GDM on the desktop, but I use a custom .xinitrc file with startx on the laptop:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

xset r rate 200
xset -dpms s off
xbindkeys
. ~/.fehbg
conky -q &
metacity &
#Required for usb/cdrom/etc mounting in thunar
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 
xfce4-panel

EDIT:

Executing startxfce4 in .xinitrc doesn't fix the issue, either.

Last edited by Odysseus (2015-02-18 09:59:59)


I'm the type to fling myself headlong through the magical wardrobe, and then incinerate the ornate mahogany portal behind me with a Molotov cocktail.

Offline

#2 2015-02-18 10:04:12

Odysseus
Member
Registered: 2009-02-15
Posts: 141

Re: [Solved] gvfs-mount with sftp:// reports "unable to spawn ssh program"

I tried running wayland today with weston, and I couldn't run weston-terminal due to an error about opening a pty. Turns out I still had lines in my fstab about /dev/pts, and most importantly, it was setting the wrong permissions.  I commented all that out, rebooted, and now both weston-terminal and gvfs-mount work properly.


I'm the type to fling myself headlong through the magical wardrobe, and then incinerate the ornate mahogany portal behind me with a Molotov cocktail.

Offline

Board footer

Powered by FluxBB