Skip to main content

Questions tagged [x11-forwarding]

X11-forwarding over ssh is when a user logs in securely to a remote machine, starts X applications on that machine, and is able to view that remote desktop on his local screen.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
71 views

qt.qpa.xcb could not connect to display even with -X when SSH-ing

I'm trying to run QGroundControl on my Jetson Nano (installed with this repo) while ssh'd on it. The goal would be to have the UI of QGC on the client display (my laptop). When running: ssh -X <...
grybouilli's user avatar
-1 votes
0 answers
73 views

GNOME 46+ apps [X11 / Wayland] over SSH on Ubuntu 24.04+: proper setup to eliminate starting delay?

Basically over the years I've gotten used to this just working...and it still does without delay for everything but GNOME apps. Now it takes "a while" (on the order of tens of seconds?) for ...
bvargo's user avatar
  • 575
0 votes
0 answers
255 views

Ubuntu 22.04 vs 20.04, different X11 forwarding behavior, WHY?

Please see my screenshot below: My actions: I have two Linux machines: Ub22cppdev: Ubuntu 22.04, as SSH server, IP=10.22.4.55 . osuse15b: openSUSE 15.5, as SSH client, IP=10.22.4.61 . On osuse15b, ...
Jimm Chen's user avatar
  • 343
0 votes
0 answers
33 views

Call a program through ssh -X but dont display anything

I have to run this program I need to launch through ssh that absolutely needs a gui to run but I have no use for the visual output (it wont launch if I start it from an ssh session, I need to start it ...
Vincent L.'s user avatar
0 votes
0 answers
48 views

Why does google chrome show the FILE CHOOSER on the CONSOLE even when DISPLAY X11 FORWARDING is on?

I have ssh'ed from machine1 to another machine (machine2) machine1:$ ssh -X user@machine2 machine2: gedit and I run gedit and I open the file chooser. Both gedit and the file chooser respect the ...
Ralph Yozzo's user avatar
0 votes
0 answers
92 views

X11-vnc with Dummy driver - Screen size too small

I am runnning Ubuntu in a headless mode, and want to display the desktop remotely. I found a configuration for the X Windows Dummy Driver and used the following: /etc/X11/xorg.conf.d# more dummy....
Albert E. Whale's user avatar
0 votes
1 answer
2k views

How can I access my Ubuntu machine running X11/Xorg from Windows 10?

I have a laptop running Windows 10 (or Windows 11). I can ssh into my Ubuntu computer with ssh [email protected], but I'd like to either (a) use a GUI app from Windows or (b) use the entire ...
cocomac's user avatar
  • 3,534
1 vote
2 answers
2k views

xrandr --listproviders not showing any graphics cards

I would like to be able to have xrandr recognize my two RTX 3070 Nvidia Graphics Cards. However, xrandr does not return anything. xrandr --listproviders Providers: number : 0 I am using nvidia-prime ...
jameszp's user avatar
  • 45
0 votes
0 answers
4k views

X11 Forwarding not working on Ubuntu 22.04

I've read numerous similar questions but many are outdated and nothing seems to work. I have an homePC <remotehome> and a laptop <locallaptop>, both running Ubuntu 22.04. I'm away from ...
atianalisi's user avatar
0 votes
0 answers
505 views

Start ubuntu desktop over ssh

On Winows 11 I ave PuTTY and Xming. I want to run an Ubuntu desktop session in a window. (I'm sure I used to do this with Solaris.) I can ssh -Y into Ubuntu and xeyes and xclock work. $ echo $DISPLAY ...
Richard Barraclough's user avatar
0 votes
1 answer
1k views

How to set up a remote server with GUI over SSH?

I have installed Ubuntu Server 22.04.1 LTS on a PC that I intend to use as a media server and compute node. Atop Ubuntu server, I have installed the default gnome desktop. I am able connect to this ...
HaveSomeCyanide 's user avatar
0 votes
0 answers
101 views

Can ssh -X render a opengl 4+ window?

I would like to render a GUI of open3d and it is written in OpenGL 4.1. The GUI renders well on the remote machine from desktop and glxinfo tells me I and OpenGL version of 4.6 for Ubuntu 20.04. ...
user5302's user avatar
  • 101
2 votes
1 answer
1k views

snap firefox over ssh X11-forwarding doesn't use X user's pulseaudio daemon

I run multiple instances of applications, including firefox, under different user accounts, all displaying to the same X server. In the past, as the X user I just did the equivalent of: ssh -X user2@...
jhnc's user avatar
  • 153
1 vote
1 answer
4k views

X11 Forwarding over SSH to use xterm

I am trying to connect from an Ubuntu 22.04 LTS (source) to another Ubuntu 22.04 LTS (destination) to use xterm (in destination). When trying to connect, i do ssh -X ubuntu@destination, and when i run ...
nano_dorado's user avatar
0 votes
1 answer
620 views

Can't start a gnome session over ssh

I have a Raspberry Pi with Ubuntu 22.04 running on it. I want to start a gnome session over my PC which also runs on Ubuntu. I setup my OpenSSH configs for the client (PC) and the server (Pi) to ...
RedBox's user avatar
  • 101
0 votes
1 answer
2k views

Unable to X11 tunnel via ssh to Ubuntu 22.04.1 server

I have a Ubuntu 22.04.1 server that was originally installed without a graphical environment. I added XFce4 and Gnome via apt. xauth is installed (and re-installed). When I ssh -X (or -Y) into it from ...
Jackie Meese's user avatar
0 votes
1 answer
8k views

x11vnc systemd service failure

Using Ubuntu 22.04 LTS and after fresh installation, I am trying to set up x11vnc service to be executed on server boot (systemd). Currently, I can start the x11vnc manually in the server and am able ...
jim59's user avatar
  • 1
0 votes
0 answers
691 views

SSH tunneling (jump host) combined with X11 forwarding in Remmina

I recently installed Remmina and want to use SSH tunneling ("jump host") combined with X11 forwarding. I'm not entirely sure if my wording is right. I'll explain how I do it manually in the ...
AlexLee's user avatar
  • 151
2 votes
1 answer
2k views

only some apps work with X11 forwarding to XcXsrv from an Ubuntu 22.04 Virtualbox guest

I have a Windows 10 host running Virtualbox with an Ubuntu 22.04 guest installed. It uses NAT networking with port 22 forwarding to the guest. I then have VcXsrv X Server v1.20.14.0 installed on ...
Steve Maring's user avatar
0 votes
0 answers
144 views

Multiuser access to a home server

We want to configure a powerfull home machine (32 GB RAM, Core i7-10700K, RTX 3090 GPU) so that 3 users can connect to it from their laptops (optionaly also with UHD monitor) and simulaneously run ...
Martin Zeman's user avatar
1 vote
0 answers
567 views

Error while running 'glxinfo' on a headless remote server

I am using a remote headles server and with x11 forwarding. I want to forward the display to my local machine. But while running 'glxinfo', I am having the following error: X Error of failed request: ...
s1996's user avatar
  • 11
3 votes
1 answer
4k views

How to install an X11 server without running a desktop environment

I'm running Ubuntu Server 20.04.2 LTS and would like to be able to serve X11 applications over SSH without a desktop environment running on the server. I'm able to configure X11 forwarding and run ...
jstwinkles's user avatar
1 vote
1 answer
2k views

X11 Forwarding Display is always :0

I've been trying for a few hours now to get X11 forwarding working from a remote host. I know it used to work and the host was physically moved and has not worked since. I am unsure if that is ...
brenzo's user avatar
  • 123
1 vote
1 answer
3k views

How do you install a VM with GUI via ssh on Ubuntu Server

I'm trying to install Windows 10 with virt-install on my Ubuntu Server LTS 20.04. I'm not really an expert on virtualization, but I try installing with: $ virt-install --name=windows10 --vcpus=4 --...
Aephir's user avatar
  • 19
0 votes
0 answers
4k views

How can I enable X11-Forwarding (ssh -X) support in remmina for ssh?

I can connect to a remote server with ssh in remmina. When I try to open a X applicaton like lxterminal, I get following error: Unable to init server: Could not connect: Connection refused (...
TheName's user avatar
  • 71
0 votes
1 answer
1k views

What does "Too many recursive configuration includes" mean when trying to connect to a ssh server?

The current problem is when I try to connect to a ssh server (from a university I am currently attending) with the following (example) command: ssh -Y [email protected] Then I get the following error: ...
EricH's user avatar
  • 1
2 votes
0 answers
2k views

X2Go Client Black Screen connecting to Ubuntu using Session Type Connect to local desktop

I've been using X2Go for a while now to connect from Windows10 to remote Ubuntu server. I've been using the X2Go Session Type "Connect to local desktop". Everything was working last night. ...
user3731622's user avatar
0 votes
0 answers
352 views

How to configure X11 Forwarding so no one else on the same remote machine can display to my server?

Due to COVID my colleages and I work on the same remote Ubuntu machine in the office. We each respectively run VcXsrv on our local machines at home and SSH into the remote Ubuntu machine. Occasionally,...
Southern.Cross's user avatar
1 vote
0 answers
455 views

Multiple X11 forwardings on ubuntu and jupyter-notebook

I have installed jupyter-notebook on an ubuntu 18.04; let us call it Server A. The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live ...
Muhammad's user avatar
0 votes
0 answers
398 views

ForwardingX11 Issue, XAUTH and Display setting

I've been trying to get ssh with gui using ForwardingX11 in the /etc/ssh/ssh_config file on Ubuntu 18.04 but every guide I try tells me the same thing change the ForwardingX11 to yes and then restart ...
WesternWarrior's user avatar
0 votes
0 answers
615 views

X11 Forwarding between two machines does *not* send launched app to client but launches on server

I have been puzzled by this for some time, and keep wondering if I overlooked something simple. Consider a simple case of two Linux machines. To keep it simple, have both be the same distro and ...
Dirk Eddelbuettel's user avatar
3 votes
1 answer
376 views

Can you keep a gui application running with ssh x11 forwarding after closing the ssh connection?

There is an electron app I want to run in a remote machine, and it works through an ssh -X connection. The thing is that I would like that application to continue running even after I close the ...
metichi's user avatar
  • 907
1 vote
0 answers
392 views

X11 over remote Docker container stops working after resetting VPN

I'm running on ubuntu 18.04, with a "operator" machine VPN'ed into a network that has the "Test" machine. The test machine runs a Docker container that has a GUI application that I forward over X11. ...
mugetsu's user avatar
  • 175
1 vote
2 answers
2k views

pkexec authentication fails over ssh X11 forwarding, why?

Connecting from an Ubuntu 18.04 computer to a headless Lubuntu 18.04 computer using X11 forwarding. It works great for apps that don't require root privileges: lxterminal, leafpad, etc. I can run ...
Organic Marble's user avatar
6 votes
1 answer
14k views

X11 connection rejected because of wrong authentication when using sudo

I have a headless server and a desktop client, both running XUbuntu 20.04. I log in to the server using 'ssh -X servername' Graphical applications work fine from the server as a normal user, and ...
ColinB's user avatar
  • 523
0 votes
1 answer
421 views

How to get screen back on ssh server after X forwarding

I have two physical computers with Ubuntu Bionic 18.04 LTS. Let's call the one with ssh server server, the one with the ssh client client. They have each have their own physical screen. One screen is ...
Clèm's user avatar
  • 206
1 vote
1 answer
2k views

WSL: Unable to X forward GUI from remote server

I am trying to use Windows subsystem for Linux to access my Linux workstation at work. I am a very novice user and am not able to get GUI X forwarding to work. I am able to SSH into the machine with -...
Terranees's user avatar
5 votes
1 answer
7k views

X11 forwarding through WSL connection

I have the following setup: My work computer is running Ubuntu 18.04, with the following /etc/ssh/sshd_config: # $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ # This is the sshd ...
Mate de Vita's user avatar
3 votes
1 answer
907 views

How to stop emacs resizing its initial frame?

This is an annoying problem I've been having for a couple years. I have ubuntu 16.04 installed on an intel PC, and also 18.04 installed on a Windows box under WSL 1. In both cases I am connecting to ...
Leon Avery's user avatar
2 votes
0 answers
689 views

X11 forwarding not working

I'm having a puzzling issue with X11. I am running Ubuntu 19.10 on a desktop, from which I can ssh to Server A where X11 forwarding works nicely (i.e. X11 on my client side works), but on the other ...
danny_met's user avatar
4 votes
2 answers
16k views

x11 Forwarding: Google Chrome and Chromium browsers grey out, other apps show OK

At my work where we use X11 servers and in a lab environment, Google Chrome and Chromium Browser display as a grey panel when forwarded through SSH X11. This is happening on Ubuntu 16.04 & 18.04 ...
Tmanok's user avatar
  • 241
1 vote
1 answer
632 views

Ubuntu 18.04 X forwarding to MobaXterm is broken

When launching IntelliJ IDEA locally on Ubuntu 18.04 laptop it works well. However, when launching it from a Windows 10 machine in the same network via X forwarding of MobaXterm, it produces the ...
Serge Rogatch's user avatar
0 votes
1 answer
1k views

Android Emulator output not forwarded thru SSH X11 forwarding

I have managed to setup Android Studio with AVD and KVM on a host computer myserver. From a client computer I now do ssh me@myserver -X and launch the andriod studio so that the UI is displayed on my ...
Selaron's user avatar
  • 101
3 votes
2 answers
1k views

How to remotely use a computer from another computer over the local network?

I have two monitors and two computers on the same network, one of the computers is less beefy then the other, the monitors are identical. What I'm wondering is, how can I display the X11 Ubuntu GNOME ...
01AutoMonkey's user avatar
4 votes
1 answer
11k views

Error "libGL error: No matching fbConfigs or visuals found" & "libGL error: failed to load driver: swrast" in Ubuntu 18.04. Ubuntu or XQuartz issue?

When I ssh -X into my Ubuntu 18.04 desktop from my Mac OSX computer, I am able to get in. However, when I try to run firefox or rstudio, I get libGL error: No matching fbConfigs or visuals found ...
user321627's user avatar
0 votes
0 answers
604 views

x11vnc quits when I try to connect

I'm starting it like this: x11vnc -display :0 -usepw -listen 127.0.0.1 Then when I connect from my computer, this happens: 8/08/2019 00:31:43 Got connection from client 127.0.0.1 28/08/2019 00:31:...
Guerlando OCs's user avatar
0 votes
0 answers
437 views

DISPLAY variable changed after restart for remote debugging

I am trying to remotely debug a Qt application. Yesterday everything was fine. the result of echo $DISPLAY was something like localhost:10 and I could see the remote application window in my local ...
Dumbo's user avatar
  • 1,912
6 votes
3 answers
17k views

Is it possible to run Docker container and show its graphical application window on host?

I have created the simpliest (minimal working example) Dockerfile to run graphical application on my Ubuntu 16.04 LTS host system with 19.10 insider container: mkdir ~/docker-xclock cat > ~/...
N0rbert's user avatar
  • 101k
0 votes
2 answers
9k views

Ubuntu +Xming on Windows WSL: Can open GUI from ssh + command, but not during SSH session [closed]

Quick solution to the question On the host machine, do not put any DISPLAY= statement there. If exist, the remote host will try to render GUI on its own display port; On the client machine, do ...
llinfeng's user avatar
  • 109
0 votes
1 answer
5k views

X11 Forwarding over ssh - Could not find ':' in DISPLAY: needs-to-be-defined

my computer is windows 10, I installed a ubuntu 18.04 by virtualbox. I want to run a python program in ubuntu from my windows and with graphical output. However after running the program, it always ...
xirururu's user avatar
  • 103