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
23 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
0answers
21 views

Ideal audio server solution for XServer Remote:WSL/Emuted/chroot/etc

I am trying to find a better way (preferably easier, but at least 'stable') to output audio like a video player to a remote like vnc, X11 forwarding via ssh to a windows client like x410, xming, or ...
0
votes
1answer
48 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
50 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
152 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 -...
2
votes
1answer
200 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
62 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
129 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
505 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 ...
0
votes
1answer
267 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
167 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
180 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
2k 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
38 views

How do I launch a graphical application like Firefox or Google Chrome from ssh?

I have tried ssh -X username@ipaddress, but it opens the graphical application on my remote machine rather than the server.
0
votes
0answers
210 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
116 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 ...
1
vote
3answers
1k 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.04 insider container: mkdir ~/docker-xclock cat > ~/...
0
votes
1answer
854 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
84 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
790 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. ...
4
votes
1answer
3k 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
424 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
148 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
70 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 ...
1
vote
1answer
387 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
100 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
584 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
6k 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
26 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
1k 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
248 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 ...
6
votes
1answer
15k 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
8k 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
54 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
369 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
185 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 ...
1
vote
0answers
77 views

How to redirect X output to file?

I know with linux the server X that manage Ui is a protocol with client server. So the app that use UI didn't directly render thing. It transmit to server X that render it with hardware. So the ...
0
votes
2answers
1k views

X forwarding Raspberry Pi to Ubuntu Gnome (Desktop)

I have installed Ubuntu Mate on Raspberry Pi. Now, I want to X forward from Raspberry Pi to my Linux Ubuntu Gnome. I am able to SSH to Pi (Ubuntu Mate) from my desktop (Ubuntu Gnome). As, I am ...
1
vote
0answers
134 views

Client machine unresponsive when X11 forwarding an application

I am running Ubuntu 16.04 LTS (Desktop version) on my laptop. Performance is more than adequate for my needs: I'm able to open and close windows and surf the Internet just fine. Then I open Terminal ...
4
votes
0answers
3k views

When running any GUI command over SSH: cannot open display: localhost:11.0

Host: Kubuntu Client: Windows 10 with Linux subsystem Goal: I want to be able to ssh into my host machine and export the display for GUIs, such as kwrite or gedit. Problem: I'm trying to SSH from ...
10
votes
1answer
15k 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 ...
1
vote
1answer
844 views

X11 forwarded program does not open in normal window

When I start gedit over a X11 forwarded SSH connection, it does not open in a normal window, as other applications do. Meaning it does not have the regular Microsoft Windows borders, making it very ...
1
vote
1answer
928 views

gnome-terminal not working over X11 (Ubuntu 14.04)

I have two Ubuntu 14.04 servers, both with SSHD and X11 forwarding properly set up: most X11 apps work correctly when I connect with my XServer (MobaXterm 9.4 from Windows). For example, these ...
2
votes
1answer
7k views

X Error of failed request: BadValue (integer parameter out of range for operation)

I was running Ubuntu 16.04 LTS with a msi B150M PRO-VDH. When I try to run remotly a graphic program (xcrysden), I don't get the display in my local machine, and instead I get the following error: ...
13
votes
1answer
22k 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 ...
5
votes
2answers
43k views

X11 errors over SSH [duplicate]

i get following errors when trying to open programs over ssh. $ thunar Thunar: Cannot open display: $ libreoffice Failed to open display $ firefox Error: GDK_BACKEND does not match available ...
0
votes
0answers
2k views

Could not connect to display tower:10.0

Got a tower with /etc/ssh/sshd_config like following: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no when I connect to it with ssh with my laptop with following .ssh/config file Host=* ...
1
vote
1answer
763 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 ...
2
votes
1answer
4k views

ssh X forwarding doesn't work

I have ssh access to two non-local Ubuntu servers. I use an Ubuntu laptop to connect to these servers. Unfortunately X11 forwarding works on one of them, but not on the other. Server1 (running Ubuntu ...