Sample Header Ad - 728x90

How to use evince to open PDF accessed through remote ssh?

0 votes
1 answer
1034 views
It is extremely likely this question comes from a major misunderstanding, but I will explain what I am trying to do/have done. I am also not fully sure this is a Linux/Unix issue. My goal is to view a pdf on a remote computer that I am accessing with ssh -X. For context, I am doing this on Windows 11 Powershell. (EDIT) This is on my local laptop using Windows 11 Powershell. I want this display to be on my local laptop and the pdf is on the remote computer which uses Linux. I installed WSL while trying to figure this out, but I don't think I've used it for anything. I started with using evince Filename.pdf as I've done on my school's lab computers, but it gives me Cannot parse arguments: Cannot open display: I've tried setting a display with export DISPLAY='IP:0.0' because some StackExchange comments said to try that. I called xhost + a bunch. I don't know what that does, but comments said do that. My question is simply how to use Evince to open this PDF file. I'm not specifically tied to Evince. I just want to view the PDF and I'm unsure of the process. It's worth mentioning that I have sudo permissions.
Asked by lingStudent (1 rep)
Jun 26, 2023, 04:10 PM
Last activity: Jun 26, 2023, 08:01 PM