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
1
vote
1answer
594 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 ...
1
vote
0answers
16 views

Problems with visualization software DAWN running on Xming window in WSL1 on Win10

I have a WSL1 Ubuntu 20.04 terminal installed on a Win10 laptop. For my work, I need to use the visualization soft DAWN written by CERN (disclaimer: I am not at CERN nor am I a tech-savy person): ...
0
votes
0answers
76 views

Firefox display not working on x11vnc

I am trying to connect firefox to my vnc server. I run this command on first window : x11vnc -display :0 -noxrecord -noxfixes -noxdamage -forever -passwd 123456 -noshm -create On second window : ...
0
votes
0answers
17 views

X11forwarding issues:docker mounted .Xauthority volume does not match host .Xauth after sometime

I have an image that I start like so: docker run --name container -it --privileged --volume "$HOME/.Xauthority:/root/.Xauthority:rw" --network=host --env="DISPLAY" --env="...
1
vote
1answer
95 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 ...
0
votes
0answers
619 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 (...
0
votes
1answer
157 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: ...
0
votes
0answers
568 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. ...
0
votes
0answers
87 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
0answers
149 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
0answers
99 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 ...
0
votes
0answers
138 views

Starting VPN breaks X11 forwarding. How to do X11 forwarding with VPN running?

I use the x2x tool to use keyboard & mouse of PC (A) to control PC (B). All within my local network. I issue a command like this on PC (A): ssh -X 192.168.0.10 x2x -buttonblock -west -to :0 Which ...
0
votes
0answers
443 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 ...
2
votes
0answers
86 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 ...
1
vote
0answers
192 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. ...
1
vote
2answers
527 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
145 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 ...
1
vote
1answer
1k 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 -...
3
votes
1answer
2k 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
1answer
253 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 ...
1
vote
0answers
444 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 ...
2
votes
2answers
4k 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 ...
1
vote
1answer
466 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 ...
0
votes
1answer
545 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 ...
3
votes
2answers
235 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 ...
2
votes
0answers
6k 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 ...
0
votes
0answers
402 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:...
0
votes
0answers
257 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 ...
5
votes
3answers
6k 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 > ~/...
0
votes
1answer
2k 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 ...
1
vote
0answers
164 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
0answers
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. ...
6
votes
2answers
5k 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-...
1
vote
2answers
647 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/...
1
vote
0answers
184 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: ...
1
vote
0answers
107 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 ...
2
votes
1answer
577 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 ...
0
votes
0answers
126 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 ...
2
votes
1answer
777 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 ...
7
votes
2answers
9k 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
0answers
28 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 ...
3
votes
0answers
1k 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 * ...
1
vote
1answer
2k 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 ...
2
votes
0answers
395 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 ...
8
votes
1answer
27k 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&...
3
votes
1answer
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 ...
1
vote
0answers
56 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. ...
3
votes
1answer
386 views

X11 forwarding works only with sudo permission

I have an ubuntu 17.10 system(let's call it A). I want to use it from remote machines(B,C...). I have tried logging in from windows through putty and MobaXTerm and from other ubuntu machines through ...
1
vote
0answers
210 views

How to set a fixed localhost address for X11 forwarding?

I have a remote ubuntu server that is used by multiple users for development. We use PyCharm connected to the server as a remote interpreter. In order to use X11 forwarding in PyCharm you have to ...