Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
20 views

X11Forwarding and reach to directory through 'file://$HOME'

I read from ubuntu wiki ssh Disable Forwarding By default, you can tunnel network connections through an SSH session. For example, you could connect over the Internet to your PC, tunnel a remote ...
2
votes
1answer
269 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
1answer
111 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
55 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
33 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 ...
0
votes
1answer
104 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
56 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
116 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 ...
2
votes
1answer
826 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
25 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 ...
2
votes
0answers
765 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
300 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 ...
1
vote
0answers
85 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 ...
4
votes
1answer
6k 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
4k 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
50 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
250 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
112 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
44 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
671 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
85 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 ...
1
vote
0answers
1k 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 ...
6
votes
1answer
5k 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
606 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
640 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
4k 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: ...
7
votes
1answer
9k 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
41k 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
1k 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
571 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 ...
1
vote
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 ...
0
votes
2answers
195 views

Configuring Ubuntu as internal network router

I am configuring an internal network using Virtual Box and 4 Virtual Machines. I have configured all the interfaces and messed a bit with IP Forwarding and IP Masquerade on Host which would be the ...
2
votes
1answer
18k views

How can I resolve x11 problem with Putty if I have this error? PuTTY X11 proxy: Unsupported authorisation protocol

On my client PC I'm running Windows 10 and I have installed XMing and Xming Fonts. I am running Putty and I have configured it to enable X11 Forwarding. I have tried leaving the X display location ...
1
vote
1answer
364 views

Mitigating CVE-2016-3115 By Disabling X11Forwarding

I want to mitigate CVE-2016-3115. The report from OpenSSH states that the vulnerability exists when X11Forwarding is enabled. It shows as enabled in my /etc/ssh/sshd_config, but I don't know why. It'...
2
votes
1answer
4k views

Running a GUI application on windows from an ubuntu server

I don't understand a lot about ssh so some help would be great. I want to be able to use the scipy stack and in particular the spyder ide on a windows or osx machine while connected via ssh to my ...
2
votes
1answer
4k views

Unable to forward X11 graphics from Centos on Vagrant

On my real machine (Ubuntu 14.04.3 LTS) I deployed a Vagrant virtual machine and tried to forward X11 graphics from VM to real machine. For this I added in Vagrantfile such configurations: Vagrant....
2
votes
1answer
4k views

Can't Forward X11 from ubuntu 14.04

I'm trying to forward x11 traffic through ssh tunnel from my ubuntu 14.04 to another ubuntu machine in my lan, i connect to ubuntu ssh server using ssh -X myuser@172.16.31.2 ,it connects but when i ...
1
vote
1answer
3k views

How to X11 forwarding through ssh in 15.10

Since I am on Ubuntu, I'll try to have X11 forwarding through ssh on a remote desktop. But unfortunately it does not work. Before I do this : ssh -X username@hostname and then for example : gedit ...
3
votes
2answers
579 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 ...
1
vote
1answer
1k views

Unable to run applications with GUI through x11 forwarding

I have Ubuntu server 14.04 on which i want to run applications with GUI. I have Xauth installed and i have edited the files ssh_config and sshd_config to allow X11 forwarding. On my PC I have Windows ...
0
votes
2answers
970 views

How To Disable PulseAudio Remote Sound

I have been running my music player (Clementine) headless on a file server that is plugged into my stereo. I open the player up on my workstation via ssh X11 forwarding (ssh -f -X me@fileserver '...
1
vote
0answers
670 views

Eclipse over X11 forwarding is not showing all icons/assets

I have a virt running RHEL5 which has Eclipse installed on it. I'm using SSH -Y to start eclipse on my Ubuntu host. My problem is that not all assets in Eclipse seem to be shown. Some of the menus ...
4
votes
1answer
2k views

How to run libreoffice via ssh with x11-forwarding

I am trying to launch loffice or localc via an established ssh connection (ForwardX11 enabled). It does however fail to show the loffice gui / splashscreen on the computer from where I run my ssh ...
0
votes
2answers
623 views

Easiest/Best way to forward Ubuntu desktop to windows?

I already have PuTTY and Xming working, so I can forward individual apps. But I'd really like to be able to simply forward the entire unity desktop. I've seen advice pointing me at VNC, but while I ...
7
votes
1answer
1k views

gedit top menu invisible when started from terminal and using x11-Forwarding

Given: I'm using export $(dbus-launch) in my /etc/bash.bashrc file as I'm normally running under a non-admin user and need to su - admin to do anything dangerous. Normal behaviour: Go to dash, open ...
3
votes
1answer
6k views

After install Google Chrome in EC2 won't open from Ubuntu Server 14.04 LTS (HVM) command line [duplicate]

I have installed Google Chrome with following command line: $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - $ sudo sh -c 'echo "deb http://dl.google.com/...
2
votes
1answer
462 views

How can I override the title of an X11 window running across an SSH tunnel?

I am SSH'ing into a server which has a copy of Firefox installed on it that I need to run. I can SSH in and run Firefox, and it will run remotely as expected. However, I need to frequently have two ...
7
votes
2answers
15k views

X11 forwarding in SSH

How to run X11 GUI applications from a remote server using SSH? For example: my first desktop 192.168.1.1 my second desktop IP 192.168.1.12 I 'm sshing from my first desktop to the second and i ...
20
votes
1answer
34k 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
1answer
5k views

X11 Forwarding to OSX [closed]

I've successfully installed and enabled X11 forwarding.. according to these instructions. http://forrestbao.blogspot.com/2008/01/connecting-your-remote-linux-desktop.html I first tried to connect ...