Questions tagged [x11]

X11 is Version 11 of the X Window System, commonly used on Linux, BSD, and Unix systems to provide the lower level graphics, input, and window management API's that higher level desktops such as GNOME and KDE build upon.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

Disallow/remove shutdown/restart options on Xfce4

I am using a RHEL8 server system as jumphost - connection to it from the windows-world with tls 1.2/rdp and then Xcfe4 as X11 base for applications in need of X-windows. My questions are about the ...
  • 7,667
0 votes
1 answer
37 views

Watermark for VNC displays

Are there any feasible options for adding a watermark (i.e. diagonal transparent text) to VNC sessions? I did not find such features provided out of the box for the existing open-source VNC servers. ...
  • 239
0 votes
1 answer
725 views

X11 Forwarding on Ubuntu Server

I have a computer running Ubuntu Server 22.04 LTS and wanted to know if it is possible to run GUI apps from it over X11 without having a GUI on the server? I also have programs that I want to run ...
  • 151
0 votes
1 answer
534 views

X11 forwarding on docker container

I'm trying to run GUI apps inside of my docker container and resolve them on the host. I have tried several variations of this command but it always comes back to the same response: Unable to find ...
0 votes
0 answers
155 views

Faking a display on a VM

Can I fake a display with some X11 magic somehow on a headless VM? I had this old machine that was about to croak so I am moving all its code into a VM. It is going well but some small snippet of ...
  • 67
0 votes
0 answers
627 views

How to connect/reboot to PC without monitor or remote access? Accidentally enabled X11 and can't undo it

I recently tried setting up an Intel NUC for remote access but it required a display to be connected -- I am using Ubuntu 18.04 (maybe 20.04, I can't check). So I installed the X11 dummy driver ...
  • 13
0 votes
1 answer
187 views

SSH server refuses multiple connections from same client

I have a simple openssh server running in a Alpine Linux 3.15 Docker container, and a client, also running on another Docker container (same version of Alpine of the server) that runs a X server with ...
0 votes
0 answers
58 views

How to configure Linux X dual displays without xorg.conf

Everywhere I look tells me "you don't need xorg.conf now, X figures it all out". So, how can I set up with two separate displays, one for console, one for TV, with no xorg.conf file? I have ...
  • 23
1 vote
1 answer
518 views

X11 forwarding through a jump box

I have a machine that is configured to auto connect to a jump/bastion box when there is an internet connection. I configured its ssh config file as follows: Host tunnel HostName <jump ...
  • 11
0 votes
0 answers
103 views

Detect Windows X server display number from Linux (client of X)

Our team often connect to a Windows server through remote desktop (RDP). Inside RDP, we use Putty (a terminal emulator) to connect to a Linux server. Sometimes we launch X-Win32 (an X server for ...
  • 125
0 votes
1 answer
345 views

No /dev/dri after upgrading to 21.04

Recently upgraded from 20.04 to 21.04, which installed kernel 5.11. Now it fails to start X with correct screen dimensions, due I assume to this in Xorg log: [ 23.307] (EE) open /dev/dri/card0: No ...
  • 23
0 votes
1 answer
3k views

$ xclock PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: XX.XX.XXX.XX:10.0

I getting below error when running xclock command to one RHEL 7 server $ xclock PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: ...
0 votes
1 answer
1k views

x11vnc can not connect to X server of gdm greeter

OS: CentOS 8.3 GDM creates a X server for the greeter, and a different one each user that logs in. I am trying to run x11vnc to enable remote access to the machine, but x11vnc is rejected by the X ...
0 votes
0 answers
149 views

WSL & VcXsrv mouse not functional

I have WSL set up on a WINDOWS 10 PRO machine which I generally use for development. And I have gotten X apps to display properly within the windows WM and everything seemed fine; however, no matter ...
0 votes
1 answer
468 views

SSH X11 forwarding from Linux to Mac stopped working (just hangs)

I've been using my Mac to login to Linux boxes and run X applications for some time. Suddenly, recently, it has stopped working. The failure mode is strange: I don't get the usual "X11 connection ...
  • 1,161
1 vote
0 answers
53 views

Copy file from real home into DynamicUser home

I am working on restricting the permssions of user units in SystemD. One of the things that I want to do is set ProtectHome=yes (or DynamicUser=yes), but the process needs access to the .Xauthority ...
  • 136
0 votes
1 answer
117 views

Why "--nodetach" option is needed for xsel when it is started from systemd unit?

I'm trying to adopt Alexey Samoshkin's approach to copy text from remote tmux session into local clipboard. I'm using xsel instead of xclip, and systemd user service instead of system one. Here is my ...
1 vote
1 answer
462 views

X11 configuration on Ubuntu 18.04. Worked on Ubuntu 16.04

Here is a script which is run in cron for user1 who has sudo privileges export DISPLAY=:0 export XAUTHORITY=/home/user2/.Xauthority scrot -q 30 "/tmp/%Y-%m-%d-%H-%M_screen.jpg" 2&...
  • 361
1 vote
0 answers
248 views

Slurm Error: “If using PrologFlag=Contain for pam_slurm_adopt, either proctrack/cgroup or proctrack/crau_aries is required.”

I'm using the flag x11 (PrologFlags=x11) in my slurm.conf file and jobs with x11 works perfectly, but I am getting this error every time I run a slurm command (e.g. sbatch, srun, sacctmgr): scontrol: ...
3 votes
1 answer
5k views

XRDP same user multiple session

I'm trying to make XRDP work with multiple sessions on my linux mint server. Right now, i can connect only if there are no other session running on the system (I had to disable autologin). I don't ...
2 votes
1 answer
2k views

X11 Forwarding: GUI appears in the remote server instead of client

I have two machines, PC1 and PC2. in PC1 I have Msys2 and Xming installed on Windows 7 while in the second machine PC2 I have Windows 10 with Ubuntu 18.04 on WSL (Windows Subsystem for Linux), Xming ...
  • 123
2 votes
3 answers
5k views

X11 forwarding over ssh only working with sudo

Problem I'm unable to get X11 forwarding over ssh working as a normal user anymore. It worked a few months ago, so something has been inadvertently changed. What I've tried Works with sudo: As far ...
  • 213
0 votes
1 answer
1k views

Forwarding X11 between Windows > Linux Server1 > Linux server2

I got this problem... My machine is a Windows(S1), who needs to connect to a Linux Server(S2) [used like a jumpbox], to connect with Linux Server(S3), which is the target machine. I got Putty and ...
2 votes
0 answers
799 views

HOWTO: setup persistent RDP sessions

In an Ubuntu 16.04 LTS server (with XFCE4), I am running X11vnc as a RDP server so people can connect to it from using Windows Remote Desktop (either from Windows or OSX). My current configuration ...
  • 121
0 votes
0 answers
341 views

Thin Client setup for nomadic developers

I'm supporting a team of ~10 developers. Each developer machine is running Ubuntu 16.04.1 and each developer has their own desktop tower. This setup works well but locks that developer to their desk. ...
  • 249
0 votes
2 answers
617 views

Cluster SSH on KDE fails: cssh error 'bad pad value "3m'

I'm having issues getting clusterssh running on a RHEL7.3 install using KDE. I don't believe this is a Perl issue, as I have forwarded X from a CENTOS7 box that yields the same error (That box has no ...
0 votes
1 answer
1k views

Azure and RHEL - "Can't open display :1"... sometimes

I have an RHEL image on Azure that we launch to perform some specialized tasks. There is not an option to actually keep the service running. However, sometimes on startup, when I attempt to run even ...
  • 141
2 votes
1 answer
2k views

Connect to X Windows with username with spaces

I have an Ubuntu server 16.04.01 LTS, which I want to use as desktop for remote users connecting from thin clients and via RDP from Windows machines. For Ubuntu-local users, this works, I can connect ...
  • 533
0 votes
1 answer
335 views

How to get X11 GUI from AWS EC2 instances through Proxy server

We have wired situation, we have one aws EC2 Redhat7 instance. We connect to that instance with a http proxy and authentication. Now we have to get GUI from the instance to install some GUI based ...
  • 9
1 vote
0 answers
165 views

Google Chrome Does Not Load H264 Decoders when being started with startx on boot

I am trying to launch google chrome via startx on boot with systemd to create an Ubuntu 16.04 browser kiosk. Everything works great, except I am unable to play any videos in the browser. When I log ...
  • 111
2 votes
0 answers
517 views

VNC: one session per user, recoverable

I know how to use VNC as a single user to see what's on the screen (possibly even the login screen, out of the Window Manager). If the vnc server crashes, no big deal, launch it again, restart your ...
  • 183
0 votes
1 answer
11k views

CentOS 7 w/Gnome hangs on boot after Nvidia driver installation?

there is a lot of information available on these topics separately, but I haven't been able to find an answer to what I feel is a really common situation. I have 2 Nvidia GTX 1080s in a server with ...
  • 409
0 votes
1 answer
244 views

X11/X forwarding between two remote machines

Suppose that there are 3 machines, A, B, C. B and C are on the same network, whereas A is remote. Connection between B, C is very fast, but any connection from A to (B or C) is slow. I would like to ...
2 votes
1 answer
3k views

SSH X11 stuck for a long time

I routinely run a bunch of experiments (perl scripts) on my lab machines. The client machine I'm currently running my experiments on runs Ubuntu 14.04.5 LTS. These perl scripts, among other things, ...
  • 121
1 vote
2 answers
22k views

Run X server on startup on CentOS [closed]

How do you run X server on startup in CentOS? This is the command I use to manually start X server - sudo /usr/bin/X :0 &
0 votes
1 answer
14k views

Xrandr error when accessing Debian VM over VNC

I have Debian 8 with XFCE running on vmware virtualization. If I work on the console of vSphere no problems. If I connect over VNC (thighVNC) using "my-hostname:1" I have some problems (I guess the ...
  • 61
5 votes
1 answer
16k views

Are directories with mode `drwxrwxrwt` safe in /tmp on a *nix system?

drwxrwxrwt 2 root root 4096 Aug 20 2015 .font-unix drwxrwxrwt 2 root root 4096 Aug 20 2015 .ICE-unix -rw------- 1 root root 0 Aug 20 2015 ipt.err -rw------- 1 root ...
  • 877
4 votes
0 answers
2k views

ffmpeg with x11grab results in black screen in vlc playback

I've installed ffmpeg on an AWS instance and have been unsuccessfuly trying to record an X session, to which I've connected over x11rdp, with the client being Microsoft Remote Desktop. Here's the ...
0 votes
0 answers
238 views

Run mysql-workbench remotely, no proxy/or tunnel

We are on AWS, with a MySql RDS. The RDS is set up so that only clients that are on the VPC can access it. (Just being VPN'd in is not good enough) So I assume that I could set up a tunnel,proxy, ...
0 votes
1 answer
650 views

How do diagnose laggy X11 applications running via ssh forwarding?

I am running an X11 application on a RHEL machine on my Windows system using Xming and X11 forwarding over SSH. The responsiveness seems terrible. A second between keystrokes and mouse clicks, etc. ...
  • 281
0 votes
1 answer
2k views

GUI on Amazon Linux AMI

I have Amazon Linux AMI 2015.09 and i need to use some GUI application on it. When i tried to install desktop environment i found out that there are no any X11 packages on repos. I tried to use ...
  • 163
3 votes
1 answer
2k views

Vagrant + VirtualBox + X11 on a headless server

I'm trying to run a VirtualBox Ubuntu VM via Vagrant on a headless server. The VM has ubuntu-desktop package installed, however when the machine boots up I can't open X applications. DISPLAY ...
  • 153
1 vote
1 answer
637 views

CentOS 6 - Remote GDM doesn't come up automatically

I have a bunch of systems running different subreleases of CentOS 6, at different update levels. All of these machines have been configured to allow remote graphical sessions via GDM by adding the ...
1 vote
0 answers
294 views

How do I view an X display on a remote host from OSX

I'm running an X server in a under xvfb in an Ubuntu 14.04 Virtualbox VM. The X display is used to run Firefox and Chrome for some Selenium tests. I want to be able to view the contents of this ...
  • 533
0 votes
1 answer
485 views

Weak points of ssh tunnel and x11 server, hack investigation

So, today I've been hacked. It's very puzzling to me how it was done, so I'm looking for experienced people to show weak points in design of my systems. I have two servers. One is VPS with ...
-1 votes
1 answer
959 views

Using xhost, display and startx - confused

I have a client A (192.168.1.1)(vncviewer) accessing Server B (192.168.2.1) (RHEL6) to run a installer. The installation pre-requisite is to set the xhost and DISPLAY properly. Q1) Please correct me ...
  • 363
0 votes
0 answers
2k views

Have GPU Passthrough working both Windows and Linux guests but libGL SDL error linux couldn't find matching glx visual NX x2go freenx

I have GPU Pass-through working with KVM qemu with both Windows 7 and CentOS guest but with Windows I can easily RDP with Remote Desktop mstsc and even run 3D accelerated apps that will make use of ...
  • 463
1 vote
2 answers
2k views

Restrict user changing xscreensaver settings

I would like to know any solutions people came up with restricting a user from changing a system wide configuration of xscreensaver. Part of my job is managing systems which have a requirement that ...
  • 4,550
-1 votes
2 answers
710 views

System missing xorg.conf

I'm having quite a bit of difficulty installing X server on a VM running Debian Wheezy. I basically am just looking to be able to SSH to the box using X11 forwarding. After installing xserver ...
  • 349
-1 votes
2 answers
1k views

Using X11 apps on VPS server, feasible in terms of resources? [closed]

I wanted to run an idea by the experts here. I have a VPS (Debian 7.7, 1GB RAM), which is purely a web server (hosts some important stuff), no desktop installed. But there are some graphical tools I ...