Questions tagged [xforwarding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
949 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 ...
user avatar
  • 1,125
0 votes
0 answers
47 views

Audio problems in Linux when using SSH access

I am using Ubuntu 20.04 desktop, I enabled SSH access, then I tried developing a WebRTC application without GUI on that PC remotely through SSH access. Strangely the audio subsystem looks to cause my ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
  • 323
0 votes
1 answer
49 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, ...
user avatar
  • 145
3 votes
0 answers
160 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. ...
user avatar
  • 31
1 vote
1 answer
56 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 ...
user avatar
  • 33
0 votes
1 answer
111 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 ...
user avatar
  • 1,937
3 votes
1 answer
352 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....
user avatar
  • 341
0 votes
0 answers
300 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 ...
user avatar
1 vote
1 answer
606 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. ...
user avatar
  • 2,175
1 vote
1 answer
375 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 ...
user avatar
3 votes
1 answer
172 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 ...
user avatar
  • 738
1 vote
1 answer
229 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 ...
user avatar
4 votes
0 answers
299 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 ...
user avatar
1 vote
0 answers
224 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 ...
user avatar
  • 1,832
1 vote
1 answer
2k 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 ...
user avatar
1 vote
1 answer
707 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 ...
user avatar
  • 1,644
3 votes
1 answer
836 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 ...
user avatar
  • 1,644
0 votes
1 answer
543 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) ...
user avatar
  • 98
7 votes
1 answer
2k 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 ...
user avatar
  • 4,503
0 votes
0 answers
46 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 avatar
  • 319
0 votes
1 answer
165 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. ...
user avatar
  • 287
1 vote
0 answers
160 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 ...
user avatar
  • 111
1 vote
1 answer
843 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 ...
user avatar
3 votes
1 answer
630 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 ...
user avatar
  • 31
0 votes
2 answers
384 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 ...
user avatar
  • 90.7k
0 votes
1 answer
1k 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: ...
user avatar
2 votes
1 answer
1k 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.
user avatar
  • 90.7k
2 votes
0 answers
644 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,...
user avatar
1 vote
0 answers
904 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 -...
user avatar
2 votes
1 answer
74 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 ...
user avatar
  • 2,643
0 votes
1 answer
863 views

X-Forwarding: Characters are not displayed properly

I am connecting to via SSH and activated x-forwarding [user@client]# ssh -X root@h2795107.stratoserver.net And open a graphical program (like gedit) [user@server]# gedit It opens, however, ...
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 ...
user avatar
0 votes
0 answers
797 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 ...
user avatar
  • 33
0 votes
1 answer
389 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 ...
user avatar
  • 1,191
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 ...
user avatar
  • 2,134
1 vote
0 answers
270 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 ...
user avatar
0 votes
1 answer
803 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 ...
user avatar
  • 113
3 votes
3 answers
8k 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 ...
user avatar
2 votes
1 answer
20k 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....
user avatar
1 vote
1 answer
27 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 ...
user avatar
  • 111
0 votes
1 answer
909 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 ...
user avatar
  • 1
0 votes
1 answer
8k 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 '...
user avatar
  • 103
6 votes
2 answers
8k 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)...
user avatar
  • 6,378
0 votes
1 answer
583 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 ...
user avatar
3 votes
1 answer
2k views

What X Server requirements are associated with X11 forwarding?

For X11 forwarding, do both the local and remote systems have to run an X server? Can I do X11 forwarding if my remote machine is in: runlevel 3, meaning that no X server is running?
user avatar
2 votes
1 answer
489 views

Encrypted Home Directory and SSH (Key-Only-Authentication) breaks X11 forwarding

While installing Ubuntu 16.04 I decided to take the option of encrypting my home directory. I also use ssh key-only authorization, as password logins are disabled for security. I was able to solve ...
user avatar
  • 141
5 votes
3 answers
5k views

X11 forwarding to Mac does not work

I'm running a Ubuntu server in VMWare. And I would like to forward the X11 from the Ubuntu guest to the Mac host. I've installed XQuartz 2.7.9 (xorg-server 1.17.4) on the Mac host. And SSH ...
user avatar
  • 50.9k
0 votes
2 answers
411 views

using Sudo wth Gedit fails from XForwarded server

The centos Server and ubuntu host machine both has gedit installed. Root login to the server is blocked and only a user can login via SSH through rsa keys. When I log in to the server with -X ...
user avatar
3 votes
2 answers
9k views

$HOME readonly: /usr/bin/xauth: timeout in locking authority file /home/fooftp/.Xauthority

I get this message after a annoying timeout: /usr/bin/xauth: timeout in locking authority file /home/fooftp/.Xauthority For some reasons the $HOME directory is not writeable by the user. I want ...
user avatar
  • 1,147