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
1 answer
42 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 ...
user avatar
  • 1
0 votes
0 answers
39 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 ...
user avatar
  • 111
0 votes
1 answer
205 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 ...
user avatar
0 votes
0 answers
41 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 ...
user avatar
0 votes
0 answers
133 views

meshlab: Fatal IO error: client killed

I am using Ubuntu 16.04. I am unable to launch meshlab from MobaXterm while it work fine when I run directly from computer. This is the error message I get: Current Plugins Dir is: /usr/lib/meshlab/...
user avatar
1 vote
0 answers
256 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: ...
user avatar
  • 11
1 vote
1 answer
2k 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 ...
user avatar
1 vote
1 answer
740 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 ...
user avatar
  • 123
0 votes
0 answers
2k 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 (...
user avatar
  • 71
0 votes
1 answer
538 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 root@example.com Then I get the following error: ...
user avatar
  • 1
2 votes
0 answers
1k 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. ...
user avatar
0 votes
0 answers
224 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,...
user avatar
1 vote
0 answers
297 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 ...
user avatar
0 votes
0 answers
223 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 ...
user avatar
0 votes
0 answers
478 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 ...
user avatar
3 votes
1 answer
183 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 ...
user avatar
  • 727
1 vote
0 answers
287 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. ...
user avatar
  • 165
1 vote
2 answers
1k 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 ...
user avatar
5 votes
1 answer
7k 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 ...
user avatar
  • 463
0 votes
1 answer
231 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 ...
user avatar
  • 176
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 -...
user avatar
5 votes
1 answer
4k 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 ...
user avatar
3 votes
1 answer
511 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 ...
user avatar
2 votes
0 answers
540 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 ...
user avatar
3 votes
2 answers
9k 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 ...
user avatar
  • 211
1 vote
1 answer
555 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 ...
user avatar
0 votes
1 answer
820 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 ...
user avatar
  • 101
3 votes
2 answers
325 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 ...
user avatar
4 votes
1 answer
8k 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 ...
user avatar
0 votes
0 answers
486 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:...
user avatar
0 votes
0 answers
353 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 ...
user avatar
  • 1,822
6 votes
3 answers
10k 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 > ~/...
user avatar
  • 90.7k
0 votes
1 answer
3k 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 ...
user avatar
  • 103
1 vote
0 answers
227 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
  • 23
0 votes
0 answers
1k views

X11 connection rejected because of wrong authentication

I recently installed fbprophet via conda on python. Whenever I am trying to import it, my ipython environment crashes with follwowing error. X11 connection rejected because of wrong authentication. ...
user avatar
7 votes
2 answers
8k views

ssh -X to open a file manager

I have to machines running Ubuntu 18.10 When ssh -X to another computer ssh -X assistant@pc.local firefox and google-chrome could be opened at the current machine with firefox firefox google-...
user avatar
  • 1,560
1 vote
2 answers
827 views

Adding redshift in systemd - works with xhost +

I can run redshift from a command line, but can't get it working in systemd. The steps in a similar question didn't do the trick for me. Ubuntu 16.04. My redshift.service: $ cat /etc/systemd/system/...
user avatar
  • 11
1 vote
0 answers
247 views

Display problems with remote connection

I encounter display problems while connecting to my server with x11vnc. I manage to get a connection and display Gdm but when I login, I get this awfull screen, I suppose it's a problem with Gnome: ...
user avatar
  • 111
1 vote
0 answers
139 views

Window decorations missing on X11 forwarding

I'm connecting to my NVIDIA TX2 device running Ubuntu 16.04 LTS with ssh -X user@my.device. This works fine and I can open for example gedit. Now the problem is that window decorations are missing so ...
user avatar
  • 1,155
2 votes
1 answer
737 views

Forward X session over SSH for an already-running program?

I know how to forward X sessions to my local computer, and I know how to run GUIs to start on the remote machine using export DISPLAY=:0.0. However, let's say I have a bittorrent client, like ...
user avatar
  • 475
0 votes
0 answers
150 views

Using 16.04 but cant get remote X11 on putty

I'm trying to ssh -X to user@192.168.0.163 but it hangs after I put in the username/password. Been all over the forums but nothing has worked. Here are sshd_configs: Server side: # Package ...
user avatar
2 votes
1 answer
1k views

I don't need a display, still "X11 connection rejected because of wrong authentication." error

I have a very simple problem, I have two users on a remote machine, user1 has administrative privileges and user2 does not. When I ssh from a local machine to the remote machine and login to user1 and ...
user avatar
  • 249
7 votes
2 answers
10k 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 ...
user avatar
  • 193
0 votes
0 answers
36 views

What are good coding editors that can run without a GPU?

I have a VM with Ubuntu, which I use mainly for testing code written with my usual tools in Windows. I connect to the VM with ssh and use X11 forwarding. I'm used to VS Code and Sublime Text, but as ...
user avatar
  • 133
3 votes
0 answers
2k views

X11 Forwarding for non-root user not working

Cross-Posted Environmental Details Relevant bits of server's /etc/ssh/sshd_config: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no Relevant bits of client's $HOME/.ssh/config: Host * ...
user avatar
1 vote
1 answer
3k views

Changing DISPLAY value

I have been trying to run some graphics on my local client while I am connected through SSH to another server. Previously export DISPLAY=:10 would allow xeyes to run on my monitor, but sometimes it ...
user avatar
  • 11
2 votes
0 answers
562 views

Granting X11 xauth permessions to a non sudoer

I have several non-sudoers on an Ubuntu machine that needs to access to X11 forwarding. However, I can't seem to find a workaround to pass X11 connection rejected because of wrong authentication error ...
user avatar
  • 1,051
12 votes
1 answer
34k 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&...
user avatar
  • 1,028
3 votes
1 answer
10k 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 ...
user avatar
  • 31
1 vote
0 answers
61 views

Showing a Windows application in an Ubuntu window

My host machine is Ubuntu. It is always painful to run a virtual host to use MS office or the other windows applications. I don't mind about the cost of machines but the convenience is my top variety. ...
user avatar
  • 327