Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xforwarding]

The tag has no usage guidance.

1
vote
1answer
27 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 ...
0
votes
0answers
26 views

X11 Forwarding Terminates Without Error

I am trying to execute an application on a remote Solaris 11 machine using Xming and X11 forwarding, however when attempting to connect with X11 forwarding using plink the connection succeeds but ...
2
votes
1answer
72 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 ...
0
votes
2answers
77 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 ...
0
votes
1answer
73 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: ...
-1
votes
1answer
105 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.
1
vote
0answers
75 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,...
1
vote
0answers
164 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 -...
2
votes
1answer
14 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 ...
0
votes
1answer
337 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, ...
3
votes
1answer
231 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 ...
0
votes
0answers
298 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 ...
0
votes
1answer
142 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 ...
0
votes
2answers
2k 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 ...
1
vote
0answers
92 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 ...
0
votes
1answer
412 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
6k 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....
1
vote
1answer
16 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 ...
0
votes
1answer
423 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 ...
0
votes
1answer
3k 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 '...
5
votes
2answers
2k 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)...
0
votes
1answer
203 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 ...
1
vote
1answer
815 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?
2
votes
1answer
283 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 ...
0
votes
1answer
1k 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 ...
0
votes
2answers
211 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 ...
2
votes
2answers
4k 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 ...
1
vote
0answers
39 views

Import/Export running GUI applications between localhost and SSH client running x11 forwarding? [duplicate]

I am running a Centos Linux server which I connect to using Putty/SSH with x11 forwarding enabled and an X11 server (Xming) running on the client machine... I am able to open GUI applications from my ...
3
votes
3answers
6k views

More efficient X-forwarding?

I open GUI remote programs by SSHing with the -X (or -Y) flag, e.g., $ ssh -Y user@host.com Recently, I found there is a much more efficient way to do this with web browsing only: $ ssh -DNNNN ...
3
votes
3answers
283 views

Can I re-direct an existing (entire) gnome-session's display to a remote work station?

So instead of using VNC for example - I could actually run a command on my home-fedora terminal and have my work-fedora existing gnome-session appear at home?
0
votes
2answers
81 views

How to forward ssh X11 from an ssh session to base computer?

I am working from out of town, so I need to connect my computer at campus. Normally, when I am around the campus I can just use my ip of lab computer to forward x11 like; ssh -X acc@lab-computer ~/...
7
votes
3answers
10k views

Is it possible that X11 can be forwarded through a SSH tunnel

I communicate with the server via a ssh tunnel, configured via Putty. Recently, I'm trying to forward the X11 through it, but it doesn't work. Is there any one work this way? Searched with google,...
0
votes
1answer
1k views

SSH: super high cpu usage when X forwarding a browser's embedded video

Two machines, A et B, on a wired LAN with X11 forward running fine. A is a fully configured Arch linux but has a bad screen. B has a much better screen even though an old netbook, so I work on it ...
5
votes
3answers
7k views

ssh and sudo but no $DISPLAY

Usually I do this on ssh for getting a X application using sudo su ssh -X server OKI login xauth list $DISPLAY which returns to me server/unix:10 MIT-MAGIC-COOKIE-1 blablablablabla Then I do ...
1
vote
0answers
99 views

How to Limit the hit-rate of connection for “X-Forwarded-for” IPs?

I have Apache, which is behind the Amazon ELB which forwards the IPs as in "X-Forwarded-for" header. I found some articles around to do the hitrate limitation but i doubt they are all for real IPs, ...
0
votes
1answer
447 views

SSH X forwarding enabled, but no forwarding

In my SSH config file, X forwarding is enabled, and I run ssh with the -X parameter. It gives me first error below but connects in the end. Failed to add the host to the list of known hosts (/home/...
4
votes
1answer
314 views

How to programmatically control X11 forwarded apps?

I'd like to set-up X11 Forwarding to run remote X applications on the server and the X11 client can handle the UX interaction. However, I would like to configure the X11 client or fake it to actual ...
1
vote
0answers
524 views

Scale ssh forwarded graphical interface

I am running gnome on top of archlinux on a samsung ultrabook which display is hidpi. Gnome supports hidpi quite well actually, and apart some applications that ignore the system font settings or the ...
1
vote
1answer
765 views

Open Java programs of a linux machine on Windows with SSH?

I usually use laptop (which has Windows) to ssh to my Linux server and run stuff on it (e.g. Intellij, MATLAB). I wonder if there anyway to open Java programs (again, like Intellij) of a remote ...
3
votes
2answers
333 views

ssh x11 forwarding drag-and-drop

Is it possible to drag-n-drop into x11 forwarded application? For instance, I'm forwarding skype and I'd like to send a file by dropping it into message box. Yes, I know I can work it around. This ...
1
vote
0answers
655 views

How to access Transmission runing behind a NAT from external PC

I have two PCs at two different places. Ons is behind a firewall I cannot (place X) control and the other is at my home. Transmission has a way of adding/ removing torrents using a web interface. ...
4
votes
1answer
552 views

Understanding ssh X11 forwarding

I have a rather odd setup I'm trying to get working. I have an Ubuntu install running in a container (through Proxmox). The host computer is CentOS. Neither server is running an X instance. My host ...
2
votes
0answers
158 views

X forwarding from a mac to Linux fails

I have been having problems recently while trying to ssh into linux servers (Ubuntu 14.04) from my mac (OSX Yosemite 10.10). This used to work fine until my latest update, where I systematically get a ...
3
votes
0answers
511 views

Resources usage in x-forwarding

AFAIK, it's possible to forward X-Window sessions, i.e. a computer ("client") may work as a (dumb?) terminal for another ("server"), displaying the desktop, GUI, etc. (and playing sounds, etc.) This ...
18
votes
1answer
7k views

Can I move a running application to a different X server? [duplicate]

Is there any way to open a graphical program (for instance, gedit) while using X11 forwarding over SSH and transfer the X server connection back to the X server on the SSH host?
0
votes
1answer
113 views

X server locking up when displaying applications from another system

My main display is on Gentoo, using xorg 1.15.1 (maybe I should try 1.16.0). I'm running applications in a RHEL 6.5 VM (using xorg 1.13.0). I ssh into the RHEL virtual machine, launch some heavy (...
2
votes
1answer
32 views

Is it possible to show on open/forwarded session in KDE?

When I need to do some longer computation, I leave my computer unattended and just lock the screen. When I log in later to see how progress is going from a remote computer using ssh, it'd be great if ...
17
votes
2answers
22k views

SSH & ForwardX11 vs ForwardX11Trusted --> beyond my grasp

I am on Ubuntu 14.04 and trying to get my head around ForwardX11 vs ForwardX11Trusted. My default ssh_config contains the following lines: # ForwardX11 no # ForwardX11Trusted yes Further, man ...
1
vote
1answer
822 views

What's a good way to debug issues with X forwarding over ssh where just some applications won't run?

As far as I understand it, X forwarding is usually pretty simple. Once I can run some things like xeyes or gimp over ssh, complex applications like firefox/iceweasel should also be able to run. ...