Questions tagged [x11forwarding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
183 votes
12 answers
244k views

What does "Warning: untrusted X11 forwarding setup failed: xauth key data not generated" mean when ssh'ing with -X?

When I use ssh -X on my Mac (running OS X 10.6.7) to connect to my Ubuntu (11.04) box, I get the following warning: Warning: untrusted X11 forwarding setup failed: xauth key data not generated ...
Daryl Spitzer's user avatar
33 votes
1 answer
33k views

How can I set -X (X11Forwarding) in my ~/.ssh/config file for a specific host?

So if I'm VPN'ing in from home, I want all of those connections to have -X specified. I already have the keys copied and an entry in ~/.config with the ip and userid so all I have to do is go: ssh wk ...
user447607's user avatar
16 votes
2 answers
116k views

Can't Open Display - X11 Forwarding - Cent OS

Trying to access X11 my CentOS 6 x32 small Linode VPS through SSH Putty/Xming (enabled X11 forwarding on options). My windows machine is not the problem since it works with others CentOS Servers. ...
jacktrades's user avatar
14 votes
5 answers
52k views

SSH X11 not working

I have a home and work computer, the home computer has a static IP address. If I ssh from my work computer to my home computer, the ssh connection works but X11 applications are not displayed. In my ...
azat's user avatar
  • 491
13 votes
2 answers
9k views

Remote offscreen rendering

My research lab recently added a server that has a beefy NVIDIA graphics card, which we would like to use to do scientific computations. Since it isn't a workstation, we'll have to run our jobs ...
redmoskito's user avatar
8 votes
4 answers
95k views

XMing "can't open display" error

Attempting to run XMing, the remote host is Ubuntu, going through Putty. Have spent hours carefully double-checking all settings, reviewing XMing's troubleshooting guide, etc. Rather than continuing ...
David's user avatar
  • 195
7 votes
4 answers
5k views

Detach X11 app and reattach on another?

Given a setup of a headless Linux box running on a network, but having Xorg installed, and having various other machines on the network capable of using SSH with X-forwarding to connect to that box, ...
MidnightLightning's user avatar
7 votes
3 answers
19k views

How can I enable X11 forwarding to a Debian server box?

I want to connect to a server with SSH (a Debian installation in a VMware image). On that server I want to call gitk a repository viewer for git. What do I need to do to make this work?
Peter Stuifzand's user avatar
6 votes
2 answers
16k views

SSH X11 forwarding is extremely slow over VPN

I'm using an VPN (with OpenVPN) to keep access between my home and work computers, and today I tried to ssh-forward an app which is GUI-only, and I found this to be terribly slow. I've used SSH X11 ...
Roberto Santalla's user avatar
6 votes
4 answers
8k views

Will a remote X-Windows session run faster if I install a better video card in the remote server?

I don't know much about X-Windows. Sometimes I run a remote X-windows session to an HP DL380 host from my MacBook Pro on the same LAN. I'm using X11 forwarding with the ssh -X option. The X-Windows ...
Nathan Farrington's user avatar
6 votes
3 answers
7k views

Setting up xpra for client use in OS X

I've been trying to get xpra to run on OS X for the last few days to connect to my Ubuntu server. Note that there's a GUI for it called shifter, but that (at least on OS X) is still far too buggy. ...
Jonathan's user avatar
  • 301
6 votes
3 answers
829 views

SSH - How to turn on X forwarding on normal connection

I know I can connect to a host and use window apps via running ssh -X <host>. But what if I'm already connected via normal ssh e.g., ssh <host>. Is there a way to turn X forwarding on ...
Greg_the_Ant's user avatar
6 votes
1 answer
4k views

X11 Forwarding works on Windows with Xming and Putty, but not with ssh command line

I have a micro Amazon instance the I want to use for testing and everything is going fine until the title. If I set up all the info in PuTTy, open it up and run 'xclock', all runs perfectly and it ...
seaders's user avatar
  • 161
4 votes
3 answers
2k views

Forward already-running X-window-system applications through SSH

I know that it is possible to forward the windows of an X-windows-system application to a client's desktop via SSH when you start the application in a SSH terminal session which has X-forwarding ...
aef's user avatar
  • 1,755
4 votes
1 answer
637 views

How (not) to setup lightweight WM for occasional server management?

I'm working with our admin team to firm up all the requirements of the dev team before creating some system images. One of the things we ended up needing is a lightweight GUI setup. Knowing that the ...
That Realtor Programmer Guy's user avatar
4 votes
1 answer
6k views

How to properly setup X forwarding on (Ubuntu) linux?

From my desktop, I can get to my wife's machine on the lan using: ssh -X [email protected]. Both systems are running the desktop flavour of Ubuntu 9.10-64bit. But here is the problem: When I try to run ...
Stéphane's user avatar
  • 456
4 votes
1 answer
6k views

SSH X11 Forwarding XInputExtension missing

When trying to open a GUI-program on a SSH-Session with X11-Forwarding (both client and server have X11Forwarding activated) I get this error: Xlib: extension "XInputExtension" missing on display ":...
markus's user avatar
  • 185
3 votes
5 answers
51k views

Trying to get X11 over SSH working: Connection refused by server

Using Cygwin/X11 Launch command in local Xterm for SSH: xterm -e ssh -Y -v -l MyUser myserver.mydomain.com & After logging in, I've run setenv DISPLAY myclient.mydomain.com:0.0 When I try to ...
Luciano's user avatar
  • 131
3 votes
8 answers
828 views

Terminal server for Linux

What are the features of graphical terminal servers and technologies available for Linux? is it open source/free how well does it scale management (?) what's the network usage, susceptibility to ...
Hubert Kario's user avatar
  • 6,401
3 votes
5 answers
24k views

X11 from ssh on Mac OSX to Linux server doesn't work --- Gtk-WARNING **: cannot open display

I installed a program wireshark on my remote linux box and I'm trying to run it with X11 from my mac computer using SSH. Here's my terminal... macosx$ echo $DISPLAY /tmp/launch-f4w6k6/:0 macosx$ ssh ...
user avatar
3 votes
1 answer
462 views

How to tell if an ssh session is using x forwarding (if it was run with -X or -Y)

For a given ssh session, is there a way to tell if it has x-forwarding enabled? I.e. you don't know if the session was established with ssh username@address or with ssh -X username@address.
DilithiumMatrix's user avatar
3 votes
1 answer
11k views

Install x windows on Centos not working

I'm trying to install x-windows on a remote CentOS 5.3 box. Here's what I did so far: $ yum groupinstall "X Window System" "GNOME Desktop Environment" $ echo PATH=$PATH:/etc/X11 $ xinit I had no ...
user avatar
3 votes
1 answer
544 views

Can I spy on an X-session if I am logged in as root?

If I were logged into a remote machine as root with ssh -X, how would I go about viewing a particular X11 session that another logged in user was using? (that includes solutions such as remotely ...
chrism2671's user avatar
  • 2,629
2 votes
3 answers
4k views

Unable to install X11 server on RHEL6

I am tring to install X11 server on a RHEL6 server yum groupinstall "X Window System" "Desktop" "Fonts" but I am getting the following error: Error Downloading Packages: libart_lgpl-2.3.20-5.1....
Mokus's user avatar
  • 422
2 votes
1 answer
2k views

x11 forwarding not working

I'm having trouble getting x11 forwarding when I ssh into a linux machine from a MAC operating Mojave. When I do ssh -X username@serveraddress, I get the following error appearing after I successfully ...
user_h's user avatar
  • 21
2 votes
2 answers
20k views

SSH X11 forwarding does not work. Why?

This is a debugging question. When you ask for clarification please make sure it is not already covered below. I have 4 machines: Z, A, N, and M. To get to A you have to log into Z first. To get to ...
Ole Tange's user avatar
  • 3,106
2 votes
3 answers
6k views

X11 forwarding over ssh only working with sudo

Problem I'm unable to get X11 forwarding over ssh working as a normal user anymore. It worked a few months ago, so something has been inadvertently changed. What I've tried Works with sudo: As far ...
jmilloy's user avatar
  • 233
2 votes
1 answer
4k views

SSH X11 stuck for a long time

I routinely run a bunch of experiments (perl scripts) on my lab machines. The client machine I'm currently running my experiments on runs Ubuntu 14.04.5 LTS. These perl scripts, among other things, ...
aspen100's user avatar
  • 121
2 votes
0 answers
4k views

Start remote XFCE session on second TTY via SSH and X forwarding

I don't know very much about ssh and X forwarding (yet) and I am able to run a few graphical apps on the host machine and forward them to my client by using the -X option on ssh. What I really want to ...
arielnmz's user avatar
  • 433
1 vote
2 answers
8k views

X11 forwarding over ssh applications very slow to start

I have a server that is extremely slow (takes 3-5 minutes) at starting X11 applications over a forwarded X11 link. I have tried connecting to it with 2-3 different machines with different operating ...
CrazyCasta's user avatar
1 vote
3 answers
12k views

how to make fast SSH X11 forwarding (specifically, making firefox context menu show up quickly)

Remote Firefox over SSH is pretty usable until you try a right click to make context menu show up. It takes about 5 seconds for the context menu to appear. It seems it takes many round trips. ssh -c ...
RamyenHead's user avatar
1 vote
2 answers
922 views

ssh -X How to return a remote forwarded X application to localhost

I'm using Mac OS X 10.6.4 I'm opening an ssh session to a remote system running Ubuntu 10.0.4 Desktop I open a remote VPN connection to a remote network Then: ssh -X user@host screen -S openvas ...
caleban's user avatar
  • 1,126
1 vote
3 answers
4k views

Forwarding X11 with one hop without X-server installed

problem I want to run X-applications remotely on a machine C from my client A. The only way to connect to this machine is by using machine B (firewall) as a hop: A --> B --> C So far, simple ssh ...
christophwu's user avatar
1 vote
2 answers
3k views

How to start remote Xorg/gnome via ssh & Xforwarding, then close ssh but without shutting down Xorg/gnome?

Question: I have a Linux server where I connect to via ssh. It works fine, and also, X-forwarding works fine (in the local network). Now I wanted to run a server program under wine. because it's a ...
Quandary's user avatar
  • 1,024
1 vote
3 answers
135 views

Origin of Firefox traffic when running on a remote machine

When I connect to a remote host: desktop$ ssh -X user@remote and start firefox: remote$ firefox & I expect firefox to be run on remote and also all traffic should be sent to internet using ...
mito's user avatar
  • 95
1 vote
1 answer
618 views

X11 configuration on Ubuntu 18.04. Worked on Ubuntu 16.04

Here is a script which is run in cron for user1 who has sudo privileges export DISPLAY=:0 export XAUTHORITY=/home/user2/.Xauthority scrot -q 30 "/tmp/%Y-%m-%d-%H-%M_screen.jpg" 2&...
Sunny's user avatar
  • 381
1 vote
1 answer
1k views

How to test X11 Forwarding?

I am trying to enable X11 forwarding so that I can run Firefox from the remote host. The remote host is a Vagrant VM running Ubuntu 12.04. The local host is Mac OS X 10.10. I think I have everything ...
Andrew's user avatar
  • 3,563
1 vote
9 answers
2k views

X11 tunnelling through SSH from Fedora 3 server to Windows Vista client fails to work

Okay, I've tried using Xming and PuTTY, as well as Cygwin/X and Cygwin ssh, and it is not working. I've been able to run X applications locally, so it's not a client-side X problem. I've connected ...
MiffTheFox's user avatar
1 vote
0 answers
2k views

X11 forwarding through WSL

I would like to connect to a remove linux machine via ssh from my windows machine, and forward the x11 server from that machine to mine to be able to view small interactive windows like those ...
ShinyDemon's user avatar
1 vote
1 answer
1k views

X11 forwarding through a jump box

I have a machine that is configured to auto connect to a jump/bastion box when there is an internet connection. I configured its ssh config file as follows: Host tunnel HostName <jump ...
inzel's user avatar
  • 11
1 vote
0 answers
305 views

SSH forwarding - x server display remote program on local machine

Two debian machines Debian 10 Kali Linux 2020 rolling lak:~# sudo ssh -XC [email protected] works to forward specific programs like firefox, nautilus connected via ethernet lan Things noticed ...
t09's user avatar
  • 21
1 vote
0 answers
565 views

x11 forwarding: Server has no GPU - and no swrast_dri.so

I am trying to set up my server so that I can use Chromium remotely, which I need to put away some of the silly IP restrictions... Therefore, I need to utilize X11 forwarding and - apparently? - need ...
Ingwie Phoenix's user avatar
1 vote
0 answers
318 views

How do I view an X display on a remote host from OSX

I'm running an X server in a under xvfb in an Ubuntu 14.04 Virtualbox VM. The X display is used to run Firefox and Chrome for some Selenium tests. I want to be able to view the contents of this ...
Cera's user avatar
  • 553
1 vote
1 answer
332 views

amazon EC2 x11 problems

We are trying to set up a virtual development / research cloud environment for our students. Students need to be able to log-in, launch python IDE, and plot some graphs for their homework. We are ...
denten's user avatar
  • 111
1 vote
1 answer
438 views

How to use WeirdX applet instead of X11 for remote connections in Mac OS X?

When I am away, I've got an Apple PowerBook set up to use X11 forwarding with SSH to connect to a remote iMac client in my room for server administration. Whenever I start X client programs on the ...
hpy's user avatar
  • 855
0 votes
3 answers
3k views

Using X11 over SSH from a Mac

So here's my situation: I work for my school as a tech. One of our servers has a firewall problem and isn't accepting connections from outside the network. I tried to SSH into one of the servers that ...
Jake Petroules's user avatar
0 votes
1 answer
816 views

How do diagnose laggy X11 applications running via ssh forwarding?

I am running an X11 application on a RHEL machine on my Windows system using Xming and X11 forwarding over SSH. The responsiveness seems terrible. A second between keystrokes and mouse clicks, etc. ...
GregH's user avatar
  • 291
0 votes
1 answer
1k views

How does ssh work when client and host are on the same machine?

I illustrate my question with the help of docker containers but this example is orthogonal to the rest of the problem. In fact any program that allows the use of bridge interfaces and ssh would do. I ...
lord.garbage's user avatar
0 votes
5 answers
3k views

Centos 6 x2go dependancy issues when trying to run yum update

I have tried to update x2goserver to the latest version on my CentOS server however I am getting a dependency issues now. From what I can tell it is looking for xorg-x11-fonts-core package. This ...
dgibbs's user avatar
  • 661
0 votes
1 answer
612 views

X11Forwarding on MacOSX (Leopard/Snow Leopard)

I have some remote boxes, which are a bunch of Mac Mini's. I access them now through SSH, and it fits my needs to do the maintenance. In the past, I used X11Forwarding with Linux boxes, when I was ...
Shyam's user avatar
  • 264