Questions tagged [remote]
The remote tag has no usage guidance.
70
questions
0
votes
1
answer
31
views
How do I resume editing file using ssh on a remote server after I lost my internet connection
I am using emacs on a remote server in which I use ssh to connect to. My internet is sometimes unstable and admist working on the file my connection will break and the file I am working on will be ...
0
votes
0
answers
32
views
How to use connection-local-set-profiles to set inferior-ess-r-program when on using ESS over TRAMP?
This is a similar question to this other that remains unanswered.
I am doing some work in the R language with the ess package on emacs on a remote computer to which I connect via tramp/ssh. The remote ...
0
votes
0
answers
62
views
With tramp, how to use a remote-shell that contains spaces in the path?
I'm using Linux and I'm trying to tramp into a Windows machine.
I'm trying to set the remote-shell option of tramp because tramp's default of /bin/sh doesn't work for a Windows remote host. I'd like ...
0
votes
0
answers
42
views
Using tramp with "RemoteCommand"
I would like to tramp into a compute node of an HPC cluster.
That requires an ssh connection to a login node and then using srun to request an interactive session.
If using a terminal, all I need is ...
0
votes
1
answer
21
views
ctrl + pgdn doesn't work with ssh
my .emacs.d/init.el has this :
(global-set-key (kbd "C-<prior>") 'backward-page)
(global-set-key (kbd "C-<next>") 'forward-page)
It works fine on my machine but when ...
0
votes
0
answers
57
views
How to automatically convert between remote and local file names?
I have /local/laptop/dir mounted in my Docker container at /container/path. In Emacs tramp terms, it is /docker:container-id:/container/path. This also comes up when the user ssh to a remote system ...
0
votes
0
answers
245
views
Run pre-commit hooks when using magit, poetry, and tramp
This is an emacs & magit version of the following question, with an added twist.
https://stackoverflow.com/questions/72839263/access-python-interpreter-in-vscode-version-controll-when-using-pre-...
0
votes
2
answers
65
views
Right Control key problem when using Emacs remotely - Emacs thinks it's `C-M-`
I'm doing some remote work using Azure & Bastion to access a customer site. The problem is that in this context, with Emacs, my right Ctrl key doesn't work normally.
What it's doing instead is ...
0
votes
1
answer
64
views
org-table, fetch a specific cell from all tables in a file
Summary of the problem
Hey guys, I am currently keeping track of the stocks I buy and sell in org mode using tables. I have N different tables in a given file, each table representing a transaction. ...
2
votes
1
answer
185
views
Tramp ignores remote paths, no matter what
I run Emacs 27.1 in a Windows 10 environment, and I use tramp via plinkx for remote editing.
I don't have diff installed locally, and I don't have the privileges to do it, so I'd like to avail of the ...
3
votes
1
answer
367
views
How can I set the ls program dired uses only for local directories
I have set the ls program dired uses via
(setq insert-directory-program "gls"))
(so that I can specify --group-directories-first in dired-listing-switches).
Trouble is when I browse a ...
1
vote
0
answers
175
views
How to speed up tramp with ivy
I use ivy for file and buffer completion.
As soon as I have one (dired) buffer which gets its content via tramp from a (slow) remote server all buffer and file selection commands become very slow even ...
1
vote
1
answer
194
views
Load right version of Git while connecting to remote
I am currently working on a remote using Lmod for handling modules. I want to use Magit with the repositories on this remote, but the default system version of Git is 1.x.
However, Git 2.18 is ...
1
vote
1
answer
175
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
1
answer
42
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 ...
1
vote
1
answer
42
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:[email protected]:/tmp:
total used in directory 549 available 114.7 MiB
drwxrwxrwt 3 root ...
3
votes
3
answers
117
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-...
1
vote
1
answer
569
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 ...
1
vote
1
answer
542
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
1
answer
116
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/...
2
votes
1
answer
550
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
1
answer
123
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
1
answer
403
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 ...
3
votes
1
answer
354
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 ...
0
votes
1
answer
173
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
1
answer
1k
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, ...
0
votes
1
answer
287
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
1
answer
78
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
1
answer
140
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
1
answer
151
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 ...
3
votes
2
answers
2k
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
0
answers
429
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
1
answer
408
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
1
answer
870
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
1
answer
1k
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/...
1
vote
0
answers
75
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
2
answers
893
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 ...
0
votes
2
answers
2k
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 [email protected]
As result I ...
1
vote
1
answer
214
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:[email protected]
I get an error message in the mini buffer:
tramp-file-name-handler: Host name must not match method "...
1
vote
2
answers
691
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 ...
2
votes
0
answers
4k
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 -...
12
votes
2
answers
3k
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
0
answers
133
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
0
answers
42
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
1
answer
81
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
1
answer
387
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
1
answer
386
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 ...
3
votes
1
answer
805
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 ...
4
votes
1
answer
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 /[email protected]:/home/user) (which should have the ...
4
votes
1
answer
2k
views
Magit equivalent of 'git remote add origin [email protected]: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 ...