Questions tagged [remote]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
514 views

resizing frame by window manage under AnyDesk disassociates emacs buffers' dimensions

I'm trying a new (to me) remote desktop tool AnyDesk (v.5.5.4). I'm attaching to Ubuntu18 system at work from a Ubuntu19 system at home. When I resize an emacs frame with the mouse, the menu bar, ...
1
vote
1answer
18 views

Use variable in reference with remote in Org-table

I have one table called GRADING containing names and points entered by hand, and another table (FOO) containing the grading scheme. Is there a simple formula which allows to lookup the number of ...
0
votes
0answers
13 views

Copy files from share Windows network folders?

CentOS, Emacs 27.2 In local network have Windows machine with name someWindowsHost. This machine share folder \shared\some_windows_folder. And if I want to copy some files from this share folder I ...
3
votes
1answer
81 views

Preview images, and PDFs inside a SSH terminal session or inside emacsclient session via SSH?

I work remotely to Linux servers, writing R scripts with ESS. Rstudio works well if I have a fast and stable GUI-based remote desktop connection to the server. Rstudio server also works OK if I have ...
1
vote
1answer
32 views

Tramp with Dired produces unwanted //DIRED// line

Connected via Tramp to an old remote system, when I list a directory using Dired, I get: /plink:user@example.com:/tmp: total used in directory 549 available 114.7 MiB drwxrwxrwt 3 root ...
3
votes
3answers
71 views

Dired+ doesn’t work on old remote system

When connected to an old remote system with Tramp 2.4.3.27.1, the buffer shows no files. With tramp-verbose set to 6, I looked at the Tramp debug buffer, then found (anonymized): 13:27:21.657267 tramp-...
0
votes
1answer
64 views

Different folder for .emacs (not HOME)

My company's I.T. department has assigned our HOME directory to a network server. With the COVID-19 pandemic we are now using VPN to connect to the company's network. Having to to go through VPN to ...
0
votes
1answer
98 views

Throttle transient-mark-mode highlighting?

When I'm using remote X forwarding to run X toolkit emacs and I press C-SPC and move the cursor around, things get very slow. The emacs profiler says all the time is spent in line-move-visual, but I ...
0
votes
0answers
51 views

Emacs hangs/freezes if vpn connection is lost

Every so often when Emacs is open and I edit some file via tramp and an established vpn connection and this connection is terminated and then reestablished, I cannot get Emacs to continue working. All ...
1
vote
1answer
133 views

gdb over ssh via tramp fails (but gdb-gud works?)

I am running into an issue where the gdb command fails over tramp. The remote host is a simple linux box I am accessing via ssh. Even when I run emacs without my init file it still happens. Emacs 27....
1
vote
1answer
24 views

Tell ESS to use a different R program when on a Tramp remote session

I'm trying to configure ESS to use a different R program path when I'm on a remote session. Now, every time I ssh into the hpc cluster I use, I set the variable inferior-ess-R-program to /weird/path/...
1
vote
1answer
111 views

Org Mode - Use remote table reference in constants

In https://orgmode.org/manual/References.html remote references are mentioned. Also there are constants for a local environment of a table. I would like to retrieve the value for a constant from the ...
0
votes
1answer
56 views

Use tramp to play remote videos on the local

I use tramp to access my phone through termux and locates the Movies directory /ssh:termux:/storage/emulated/0/Movies: total 162M Superbook - In The Beginning - Season 1 Episode 1 - Full ...
0
votes
1answer
179 views

Is it possible to use Emacs to read mail using IMAP without downloading them?

I have found that Emacs + mu4e + offlineimap can deal with reading emails from a remote server. However, in this case, what I understand is that the emails are copied locally. Having mailboxes with ...
0
votes
1answer
172 views

Running Emacs through X2Go, the bidirectional clipboard does not work, even though it works for other programs

Being in home-office due to the Corona outbreak, I am using Emacs and other programs through X2Go. I am also running a terminal through GNU Screen in a MinTTY window, because scrolling the terminal ...
0
votes
1answer
47 views

Automate delete content of remote org mode file!

Linux Mint 19.3 Emacs 26.3 Dired+ I use Google drive. To connect I use rclone. As result I success connect to my google drive. In dired mode I open to.do.org file in Google's drive Edit file and ...
1
vote
2answers
511 views

How to do remote compile on Windows from Linux

How can I configure Emacs, such that I am able to compile files remotely on a Windows machine, while Emacs is running under Linux? I am using tramp via the smb method to edit files on the Windows ...
1
vote
1answer
50 views

Org-mode table recalculation with a remote() formula using calc?

Can I make table2 automatically recalculate a remote() formula when I modify data in table1? I have the below tables and the first table is automatically recalculated when I press TAB (thanks to the "...
0
votes
1answer
72 views

Why does emacs on a remote computing cluster behave differently depending on how the cluster is accessed?

I use SSH to work on a Linux computer cluster, emacs is my preferred text editor there. My local computer is a Windows 10 machine. If I use PuTTY to access the cluster remotely, when I run emacs, it ...
7
votes
1answer
2k views

emacs command-line-default-directory variable is not set correctly

I'm using Emacs on Windows. I also have a VirtualBox VM that I connect to using plink. But then, when I use the eshell, and I do cd <some folder> it tells me No such directory found via CDPATH ...
0
votes
2answers
193 views

Mapping equivalent local files to remote files when using tramp

I have two copies of the same project, one local, one on a remote server, and I am editing a project's file locally, while running an inferior ESS process on the remote server. The remote files get ...
2
votes
2answers
1k views

Tramp hangs in “Waiting for prompts from remote shell”

new emacs user here. I'm trying to get tramp to work but can't figure out what's wrong. I do: M-x councel-tramp select /ssh:myserver But I just get "Waiting for prompts from remote shell" and it ...
0
votes
1answer
53 views

Can not connect to remote MS Windows machine from local MS Windows machine

Windows 10 (64 bit), Emacs 25.1 I want to connect from my local Windows machine to remote Windows machine. But Tramp does not support connecting a remote MS Windows host from a local MS Windows host....
0
votes
0answers
255 views

tramp hanging on remote fish shell despite tramp-remote-shell being /bin/sh

I can't connect via Tramp to a remote machine since switching to using fish as my default shell. However I have the tramp-remote-shell set for "/bin/sh" but this seems to be only used for interactive ...
1
vote
1answer
230 views

How do I use tramp to launch a remote PowerShell?

I'm trying to launch a PowerShell on a remote Windows system using tramp. So far all I've been able to do is start a PowerShell inside Emacs on the local (Windows) machine. What is the connection ...
0
votes
1answer
483 views

Tramp with ssh not asking for password - too many authentication failures

I would like to use tramp to login to a remote server via SSH. It used to work effortlessly, but somehow it does not even ask me for a password any longer and tries wildly to login with I guess keys ...
0
votes
1answer
622 views

How to access (remote) MS Windows shared directory or files in Emacs25 running on Ubuntu 18.04

My question has already been asked here. However, the solution provided there didn't work for me. Through Ubuntu "Files" I am able to access the samba share with smb://DOMAIN;USER@IP_ADDRESS/...
9
votes
2answers
2k views

Use sudo while editing over SSH?

I'm using the C-x C-f option to use SSH to edit a file. The file I'm editing requires my SSH user to use sudo. When I start editing the file it says read-only. How can I remotely edit files ...
1
vote
2answers
539 views

Tramp: Cannot Save File

I am new to tramp and I am trying to edit a file stored in a remote server. I connect to the file through C-x C-f /ssh:username@host:path_to_file/myfile.m. And on my init.el I have the options: (setq ...
1
vote
0answers
61 views

Folder navigation on remote windows machine can't see folders with spaces

I've been trying to navigate folder structures on a remote Windows machine with Cygwin installed, but I can't seem to navigate to folders which contain a space in them. Emacs claims that "File no ...
4
votes
2answers
595 views

How to eliminate excessive filesystem accesses that are slow over sshfs?

I am trying to make Emacs work faster over sshfs. It is currently quite slow in opening files, saving files, and sometimes when starting editing. I used sshfs's debugging mode to track the ...
3
votes
1answer
454 views

Fix compilation mode paths when compiling in container or remotely

Recently the scenario of editing project source code locally but building the project remotely on another machine (for example inside a Docker container or an Amazon Web Services host) is becoming ...
1
vote
2answers
195 views

Tramp remote login with a \ qualified username (escape problems)

I have a remote server I log in to from the command line using either: ssh 'GROUP\user'@host.edu or ssh GROUP\\user@host.edu and it works fine; I've even set up my SSH keys. But I can't figure ...
0
votes
2answers
1k views

Remote machine: Your terminal lacks the ability to clear the screen or position the cursor

Linux Mint 18.1 (64 bit) Xfce, Emacs 25.3 If I want to connect(via ssh) to remote Linux macnine I do next step: Open terminal ssh -oStrictHostKeyChecking=no mylogin@192.xxx.xxx.16 As result I ...
1
vote
1answer
178 views

Tramp FTP cant connect. tramp-file-name-handler: Host name must not match method “ftp”

I am trying to connect ftp using tramp I am using C-x C-f /ftp:username@subdomain.hostname.com I get an error message in the mini buffer: tramp-file-name-handler: Host name must not match method "...
20
votes
2answers
7k views

Tramp mode is much slower than using terminal to ssh

I am using the Macports flavor of Emacs on OSX Yosemite, and have looked through every thread here on Tramp being slow without any solution. Tramp is usable, but there is about a 100ms delay between ...
2
votes
0answers
3k views

ssh - Pseudo-terminal will not be allocated because stdin is not a terminal

Windows 10 (64 bit), Emacs 25.1 If I want to remote connect by ssh to UNIX machine (Ubuntu) from my local machine (Windows 10) I do the next step: Run cmd Execute the next command ssh -...
0
votes
0answers
92 views

lines are mixed up when running emacs remotely

When I ssh onto a remote server, and then open emacs on that server, and attempt to edit, I often experience many issues with the display. For example, when I move my cursor around the file using C-...
2
votes
0answers
41 views

Emacs how to run a command that requires a default editor remotely from with local Emacs? [duplicate]

I frequently use TRAMP to edit files on a remote machine but I also want to use Emacs for remote configuration and management. On any system there are some commands that run with the VISUAL and ...
0
votes
1answer
351 views

Connect to remote Windows machine: Network error: Connection timed out

Windows 10 (64 bit), Emacs 25.1 When I want to connect to remote Windows machine (via VPN) I use the next steps: Start application OpenVPN and success connect Start msc (Remote Desktop Connection) ...
2
votes
1answer
275 views

How to rsync/fetch/download the folder open with ssh/tramp

I work in a folder on the server, peyote2 in this case. I can edit files there etc, we all know that. However I have there a pdb file (RNA 3D structure) that to view I have to download it to my ...
4
votes
1answer
1k views

Directory tracking in remote shell buffer

I use the shell command via C-u M-x shell to open a shell on a remote server by giving as default directory the path to the remote server (e.g /user@myserver.com:/home/user) (which should have the ...
4
votes
1answer
2k views

Magit equivalent of 'git remote add origin git@github.com:user/project.git'?

For those who are trying to determine how to do this here is the answer. Yes the answer is in the docs! I missed it on the first pass. Then looked at questions such as the below, trying b u and ...
1
vote
1answer
1k views

Identify remote directories and open files through tramp from emacs terminal

Emacs terminal (from multi-term) can automatically detect a folder path. So performing C-x C-f from a local directory, automatically provides the path to that directory to open any relevant files. ...
0
votes
0answers
180 views

How can I get the same emacs experience on any computer?

I really enjoy my emacs config (the autocomplete and indentation settings, the use of things like jedi and tern etc.) Most of the time I use emacs at home on my personal macbook pro laptop but I am ...
2
votes
1answer
683 views

How can I use Emacs in a SSH sever that I logged in through emacs terminal?

I really like the emacs terminal but each time I use it to log into my server. I don't know how to use emacs to edit files on the server. Or it is not possible to do it? I can only edit files on ...
1
vote
1answer
218 views

Ediff directories with remote path (and Prelude?)

I need to compare from time to time the contents (source code) of a remote directory with a local one. And I would like to mark for hiding those files/subdirs that are identical (that is, use the =h ...
2
votes
1answer
359 views

TRAMP doesn't know some of the remote commands

I'm using my local emacs to edit files on a remote cluster. Therefore I added: [[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return to my remote .zshrc and I can edit ...
2
votes
1answer
1k views

Forwarding emacs server TCP connection works, but cannot create local frame

I'm trying to connect to a remote Emacs server. I created the server with server-use-tcp set to t so a connection file was created. I inspected the connection file and found out that it contains the ...
5
votes
2answers
1k views

Python remote debugging?

How do I debug remote python/twisted code from within Emacs? The closest I got with an internet search was Geben, if I understand correctly, but it has not been maintained for a few years now.