Questions tagged [xforwarding]

For questions about forwarding X11 connections over SSH transport.

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

Launching Blender with x-forwarding fails

I am trying to run Blender 3.6.5 in a remote server using x-forwarding. The server as installed the base x11 and mesa packages, as well as freetype package. user@server:~$ sudo apt install -y ...
goe's user avatar
  • 101
0 votes
0 answers
19 views

Typing into android-studio over X Forwarding sends text into the console instead

I am running android-studio from the command line on another machine on my home network. I am connecting to that machine using: ssh -C -X machine-name.local Keypresses do not seem to be registered ...
Nate's user avatar
  • 144
1 vote
0 answers
152 views

How can I run GUI applications in an X-forwarded GNOME Terminal instance?

I usually work in an X-forwarded GNOME Terminal session, which I launch like this: local-machine$ ssh -X remote-machine gnome-terminal I do this instead of running SSH in my local terminal because it ...
Kerrick Staley's user avatar
0 votes
1 answer
112 views

Why 'xauth list' doesn't show a TCP socket after ssh-X

I have a very little experience in linux, but these days, I was trying to understand a bit more about ssh and X forwarding. I use an SBC (orange pi zero 2) as a home server under debian. I usually ssh ...
Pif's user avatar
  • 1
6 votes
1 answer
2k views

Failed to start chromium on a X-forwarded ssh connection

When I tried to start chromium, I had error messages : $ chromium X11 connection rejected because of wrong authentication. [10139:10139:0321/173002.675673:ERROR:ozone_platform_x11.cc(234)] Missing X ...
Philippe's user avatar
  • 1,425
0 votes
1 answer
77 views

ssh -X doesn't make X11 work

If I ssh -X from my ubuntu machine into my work linux computer and then try to run emacs I get: X11 connection rejected because of wrong authentication. Is there any way to fix that without being ...
Simd's user avatar
  • 325
0 votes
1 answer
189 views

RFC: ssh -X to run a java app on login via SHELL variable, security and other issues?

I have a java application (not applet) which I run via a script which contains just this: #!/bin/sh /usr/bin/java -classpath /A/B.jar:/X/Y.jar MyApp.Go -p 1 -p 2 -p 3 This app, during initialisation, ...
bliako's user avatar
  • 165
3 votes
0 answers
528 views

X11 forwarding in nested SSH connection

I am aware that X11 forwarding is a pretty hot topic. I have not found the solution to my problem anywhere though, even by searching and following the suggestions of several threads on StackExchange. ...
elgicse's user avatar
  • 31
1 vote
1 answer
176 views

X forwarding is interrupted while ssh stays connected

From my main host[A] (with a screen), I ssh into a relay computer[B] (with -X) from where I log into the target machine[C] (again with -X) and X forwarding seems to work well for a while. After ...
Testix's user avatar
  • 73
0 votes
1 answer
311 views

why does forwarding X11 over reverse ssh tunnel not work properly

I have a host which I want to access through reverse ssh and I also want to forward X11. So I did this on the remote host: ssh -X -R 43022:localhost:22 usr@myhost -p 2222 and I can connect fine with ...
stdcerr's user avatar
  • 2,059
3 votes
1 answer
2k views

X11 forwarding, how to force audio to the host?

i am connecting from a laptop: $ uname -a Linux fedora 5.11.18-200.fc33.x86_64 #1 SMP Mon May 3 15:05:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux to a single-board-computer: $ uname -a Linux mobian 5....
scjorge's user avatar
  • 351
0 votes
0 answers
538 views

How To: X11 Forwarding

I am following this article but the gedit isn't posting. I am trying to get firefox to display on a remote server to my laptop. [orca@orcacomputers ~]$ firefox X11 connection rejected because of wrong ...
mister mcdoogle's user avatar
2 votes
1 answer
2k views

Why is my cursor so huge when using X11 forwarding?

I work on a Windows machine using Cygwin. Locally, my cursor renders just fine at the expected size: But when I connect to my remote machine, the cursor is huge: In this example I'm running xterm. ...
Zhro's user avatar
  • 2,669
1 vote
1 answer
862 views

Running SDL code in SSH

I have a C program using SDL on my linux PC, when I try to launch this program from my windows pc with ssh it give me an error : no protocol specified and no available device. I have try to start SSH ...
Frink Léo's user avatar
2 votes
1 answer
304 views

speed differences in x forwarding

We're dealing with three linux systems: a "server" (actually a workstation that is also used as desktop PC) running ubuntu 18.04. an old client (laptop with sandy-bridge cpu, no dedicated ...
pseyfert's user avatar
  • 868
1 vote
1 answer
424 views

Does X11 forwarding create a "new" X11 session?

I've been using X11 forwarding to forward clipboard contents from remote servers. When I tried to use X11 forwarding from one GUI linux computer to another, I noticed something peculiar. Let's say ...
Peeyush Kushwaha's user avatar
6 votes
0 answers
1k views

X11 unable to open display after re-logging into a tmux session

I have a desktop at work that I use as a "tmux server." I ssh -Y u@Work_Desktop from home into the Work Desktop then ssh -Y u@Work_Server into another server at work. I run x applications ...
Michael Ehrlichman's user avatar
1 vote
3 answers
17k views

How to specify `$DISPLAY` when ssh with X forwarding

When I ssh -X to a server, I will be assigned a $DISPLAY value, usually localhost:x.0 where x is the lowest number unused by all the users starting from 10. (e.g., if no other user uses $DISPLAY, then ...
doraemon's user avatar
  • 421
1 vote
0 answers
508 views

How to run multiple instances of virt-manager?

I set up X-Forwarding from my SSH client on Windows with the goal to manage my virtual machines using the virt-manager GUI. I don't think there is a way to do so natively from Windows. Now I noticed ...
vic's user avatar
  • 2,092
1 vote
1 answer
4k views

How do I speedup X11 forwarding through SSH?

I've been using X11 forwarding to "seamlessly" work on two machines at the same time and it's been working great. The one issue that I'm having is that the connection can be quite slow for some ...
Aaron de Windt's user avatar
1 vote
1 answer
1k views

SSH X11 forwarding - Issues with copying, DISPLAY and the "@" symbol

I'm using ssh -X user@ip to connect to an SSH server (on the LAN, 100mbit/s connection). It works well, but there's three issues: After some time (can't tell when exactly, a felt hour or so) when I ...
confetti's user avatar
  • 1,942
9 votes
1 answer
3k views

"This application is not responding" nonsense with X11 forwarding

I have a server running XFCE on debian and a client running gnome3 on arch, and I want to control GUI applications running on server from client using X11 forwarding. ssh -X user@server on the client ...
confetti's user avatar
  • 1,942
0 votes
1 answer
844 views

Bypass X forwarding to sommelier during XRDP session (via xorg) on Crostini

On my Pixelbook, I'm using XRDP to RD into an xorg session of XFCE. It works pretty well except that certain Linux apps called upon within the remote desktop session launch in Chrome OS (DISPLAY=:0) ...
seamux's user avatar
  • 148
7 votes
2 answers
20k views

No xauth program; cannot forward X11

I got the following error message when I use ssh -v -Y. The server OS is mojave. Does anybody know what is wrong? debug1: No xauth program. Warning: No xauth data; using fake authentication data for ...
user1424739's user avatar
9 votes
1 answer
3k views

SSH X forwarding too slow

I have the following setup: internet host_1 --> router_1 <----------> router_2 <-- host_2 Both host_1 and host_2 run Ubuntu 18.04. From host_2, I ...
BowPark's user avatar
  • 4,895
0 votes
0 answers
47 views

Saved file changes in editor lost when disconnected using X forwarding over SSH

I have a very strange problem on a debian stable server: There is a file opened in a text editor on the remote machine using X11 forwarding over SSH. The file changes were supposedly saved to disk ...
user's user avatar
  • 339
0 votes
1 answer
275 views

oneko: Error and exit

I'm working on a Raspberry Pi Zero W running Raspbian GNU/Linux 10 (buster). Other X11 applications like xlogo, xclock, xosview, and even xeyes works perfectly well, but I have no luck running oneko. ...
nalzok's user avatar
  • 369
1 vote
0 answers
352 views

X Error of failed request on SSH

I'm trying to use xforwarding to run a program on my machine, however I get the error X Error of failed request: GLXUnsupportedPrivateRequest Major opcode of failed request: 149 (GLX) Minor ...
Blubber's user avatar
  • 111
0 votes
1 answer
1k views

Forwarding desktop notifications over SSH

I have two computers, a desktop and a laptop, both running Debian Stretch. Desktop notifications works on the laptop, and I believe it works (the attached monitor is broken, so I can't check, and ...
Henrik supports the community's user avatar
3 votes
1 answer
945 views

How to use system tray with X11 forwarding?

I'm using X11 forwarding to use GUI apps from my headless remote server. Everything was fine until I needed to use a program that needs system tray. Program needs a system tray to work correctly ...
Josh's user avatar
  • 31
0 votes
2 answers
578 views

How can I find the mapping on `$DISPLAY` after `ssh -X`?

On machine B, I remote access machine C $ ssh -X t@C $ echo $DISPLAY localhost:10.0 How can I find/verify the mapping of $DISPLAY on C to $DISPLAY on B? Can it be done by the following command ...
Tim's user avatar
  • 101k
1 vote
1 answer
2k views

Render Linux VM applications on Windows Host Xserver

I have a Ubuntu VM on VirtualBox running in headless mode. Host is a Windows 10 machine. I want to be able to render Ubuntu's applications on Windows using XServer. Currently, I tried this: ...
Bhopesh Bassi's user avatar
2 votes
1 answer
2k views

Is SSH X forwarding an example of remote port forwarding?

Is SSH X forwarding an example of remote port forwarding? I feel like so. How can SSH X forwarding be done in terms of SSH remote port forwarding command? Thanks.
Tim's user avatar
  • 101k
2 votes
0 answers
958 views

ssh X forwarding: GUI window opens on remote

I am running dolphin (KDE's file manager) over SSH as follows: [abhishek@brixpro ~]$ ssh -Y optiplex [abhishek@optiplex ~]$ dolphin . The dolphin window opens on the local machine (brixpro). However,...
Abhishek Anand's user avatar
1 vote
0 answers
1k views

No eyes in xeyes over ssh

I have two devices — one a Mid-2009 MacBook, the other a 2008-2009 HP Pavilion — each running Fedora 29. The HP will eventually become headless, but for now, both machines are running KDE. I can ssh -...
Sciolism Apparently's user avatar
2 votes
1 answer
84 views

Simple audio forewarding scheme

laptop(1) - wifi router(2) - wifi enabled PC(3) - speakers(4) (1) is a portable laptop, running some graphical interface. It has ssh access to (3) set up. (3) is an old machine, and thus running ...
Vorac's user avatar
  • 3,057
0 votes
1 answer
978 views

X-Forwarding: Characters are not displayed properly

I am connecting to via SSH and activated x-forwarding [user@client]# ssh -X [email protected] And open a graphical program (like gedit) [user@server]# gedit It opens, however, ...
Simon_Prewo's user avatar
4 votes
1 answer
1k views

Can I forward X11 over ssh on an rented host without forwarding support

I have a GUI program which has all necessary libraries to run on a rented Ubuntu host, but the host itself rejects attempt to set up X forwarding during the ssh connection using -X. strace shows the ...
simpleuser's user avatar
0 votes
0 answers
1k views

ssh X11 fowarding doesn't work: Error: cannot open display: :5

I have connected my Workstation (Windows PC) via ssh with X11forwarding to a remote PC(CentOS Linux release 7.5.1804 ). The ssh connection works fine, but when I' try to open firefox or some other ...
seb2704's user avatar
  • 133
0 votes
1 answer
522 views

NoMachine behind a NAT

My provider uses a NAT network. I would like to expose a NoMachine server over the WAN (like I do with TeamViewer). When starting the server, I only get a list of private IP addresses, which are not ...
antonio's user avatar
  • 1,443
3 votes
2 answers
6k views

Why do I need XDMCP to start a remote X session over SSH?

I'm trying to set up a remote desktop connection to access my desktop PC from my laptop (both running Trisquel) over wifi. I've tried VNC and it was terribly slow, so I'm looking at alternative ...
Time4Tea's user avatar
  • 2,328
1 vote
0 answers
339 views

macOS terminal -> ssh centOS with X Forward -> qemu Debian - keyboard/mouse are not behaving correctly

My situation: I am using a Macbook with High Sierra and it's default terminal application + XQuartz I am connected to the remote server running CentOS 7 that acts as a hypervisor I am trying to ...
CorellianAle's user avatar
0 votes
1 answer
1k views

Apache Logs - X-Forwarded-for together with Virtualhost not logging

I'm using Apache/2.4.27 Within the VirtualHost I'm forwarding the remote client IP header from the Loadbalancer with: RemoteIPHeader X-Forwarded-For Which is needed by the application served by ...
DaWe4444's user avatar
  • 113
3 votes
4 answers
13k views

How can I launch gnome-terminal remotely on my headless server? (fails to launch over X11 forwarding)

I have a headless VM (running Ubuntu server 17.04) that I use SSH to access. I'm comfortable with the basics of X11 forwarding, and I can forward xterm and friends just fine. XFCE terminal also ...
Nicholas Clark's user avatar
2 votes
1 answer
23k views

X11 forwarding and .Xauthority file

I've looked around for an answer to this question off and on for the past few weeks, but none of the solutions I've seen have worked for me. I've tried deleting the .Xauthority file in both locations....
luminessence's user avatar
1 vote
1 answer
53 views

Xforwarding and vnc speed, for pdf

Xforwarding over ssh only forwards rendering commands, so xforwarding a pdf document over ssh should be a lot less information (probably an order of magnitude) then sending a screenshot of an already ...
Yasha's user avatar
  • 111
0 votes
1 answer
1k views

When attempting to open an application over X11 forwarding over SSH, why is a local instance of the application opening? [duplicate]

I'm using SSH to access a jump-box, essentially. I have two machines. The "local" machine, the one I'm physically seated in front of, is running Fedora 25. The "server" is running Cent OS 7. It sits ...
ads103's user avatar
  • 1
0 votes
1 answer
9k views

VirtualBox over X Forwarding

My local machine is Fedora laptop. My remote server is FreeBSD 11.0 (located across the room). The objective is to have VirtualBox forwarded over SSH. If I plug a monitor into the remote server, run '...
OnNIX's user avatar
  • 103
8 votes
2 answers
11k views

How do X clients know that they will need to connect to TCP port 6000+<display number>?

When I request X forwarding from SSH server, then SSH server sets a $DISPLAY variable with value localhost:10.0. In addition, it starts to listen on 127.0.0.1 port 6010(and also ::1 port 6010 for IPv6)...
Martin's user avatar
  • 7,496
0 votes
1 answer
848 views

Run app on X11 on server without forwarding [duplicate]

The problem I am using an application that is computationally intensive and requires X11 to run. I want to run it on a remote server (that is obviously running X11). I don't need to forward X11, I ...
JonasVautherin's user avatar