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
0 votes
0 answers
40 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, ...
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@...
0 votes
0 answers
24 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 ...
3 votes
1 answer
11k views

gtk-WARNING **: cannot open display while running command-line-only script

I'm trying to run several compute intensive python scripts on a server (Ubuntu 14.04.5 LTS) via ssh -Y and tmux. This works fine as long as I don't close the ssh connection. If I do close the ...
4 votes
1 answer
7k views

Ubuntu SSH X11 Forwarded Client Very Slow

Running SSH X forwarded session from my Ubuntu 12LTS client to a SLES server results in very slow(seconds per mouse click) GUI app(on the server) performance. Using a windows client from the same LAN ...
0 votes
0 answers
36 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 ...
0 votes
0 answers
64 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....
0 votes
1 answer
1k 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 ...
14 votes
3 answers
48k views

Cannot start firefox on X11 forwarding SSH session

I have installed Ubuntu Desktop 16.04.2 LTS and want to start firefox from my X11 forwarding ssh session but I get the following error message: user@user-Virtual-Machine:~$ firefox Failed to connect ...
31 votes
4 answers
75k views

What is the most simple example to check if X11 forwarding is working?

I have access to a cluster and wanted to use the simplest example to ssh into it with X11 forwarding and see if it works. Currently, I simply log into the cluster: $ ssh -Y user@cluster and the only ...
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 ...
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 ...
0 votes
0 answers
453 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 ...
3 votes
1 answer
863 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 ...
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 ...
8 votes
3 answers
12k views

Can't get Google Chrome to X11 forward but Firefox does

So after much trial and error I have managed to get X11 forwarding work. My desktop in the office is Ubuntu 16.04 LTS and I use XQuartz to ssh in from my MacBook Pro. When I ssh in, I get the ...
0 votes
0 answers
89 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. ...
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 ...
0 votes
1 answer
550 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 ...
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 ...
0 votes
1 answer
6k 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 ...
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 ...
0 votes
0 answers
579 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 ...
3 votes
1 answer
350 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 ...
0 votes
0 answers
139 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 ...
4 votes
1 answer
10k 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 ...
1 vote
1 answer
4k views

X11-Forwarding ubuntu server

I'm trying to enable X11 forwarding from my headless ubuntu server (12.10) to regular ubuntu to forward virt-manager so I can install windows kvm machines. The problem is when I try to open an X ...
1 vote
0 answers
515 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: ...
160 votes
4 answers
134k views

What is the difference between `ssh -Y` (trusted X11 forwarding) and `ssh -X` (untrusted X11 forwarding)?

What is the difference between ssh -Y (trusted X11 forwarding) and ssh -X (untrusted X11 forwarding)? As far as I have understood it, it has something to do with security, but I did not grasp the ...
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 ...
3 votes
3 answers
1k views

Why does "lxsession&" via "ssh -X" make Ubuntu look different even after disconnecting?

I was working with my Raspberry Pi, and I ended up messing up my Ubuntu machine. I ssh -X'd into the Pi from my Ubuntu 14.04 desktop, and was trying to get a graphical session to start on the pi so I ...
0 votes
1 answer
4k views

Remote Ubuntu 12.04 desktop cannot display X on local laptop

I have an Ubuntu 13.04 laptop and an Ubuntu 12.04 desktop. I want to be able to open and see images, windows, and pdf files that are located on the desktop via remote access from my laptop. When I ...
15 votes
1 answer
47k views

LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Failed to execute child process "dbus-launch" (No such file or directory) while x-forwarding

I've set up x-forwarding on an Ubuntu 16.04.3 server and although the forwarding works, every time I start a GUI application it reports the following error in the terminal. (<app-name>:<pid&...
23 votes
2 answers
42k views

Couldn't connect to accessibility bus

When using ssh with X11 forwarding, I am getting various errors and warnings when running gui applications. As an example, any time I am running gitg, I get the following warning: ** (gitg:15904): ...
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 ...
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 ...
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 ...
1 vote
1 answer
1k views

Application running over ssh (X11 forwarding) lagging a lot with local dual monitor

I have 2 machines: - My Desktop (running ubuntu 15.04) - Development machine (running ubuntu 14.04) (both on same LAN) So far, I've been working without any issues using "ssh -X eduardo@devel1" and ...
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 > ~/...
1 vote
1 answer
2k 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 --...
0 votes
0 answers
3k 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 (...
3 votes
3 answers
8k views

Reverse X11 forwarding

I was playing with my phone (that runs a Linux/X stack) last night and I managed to ssh into my desktop and run an application and have it show up on my phone. It was awesome. Today I'd like to sort ...
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: ...
7 votes
2 answers
11k views

ssh -X to open a file manager

I have to machines running Ubuntu 18.10 When ssh -X to another computer ssh -X [email protected] firefox and google-chrome could be opened at the current machine with firefox firefox google-...
5 votes
1 answer
6k 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 ...
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. ...
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 ...
0 votes
0 answers
335 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,...
1 vote
0 answers
447 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 ...
0 votes
0 answers
374 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 ...