Questions tagged [x-server]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
30 votes
5 answers
74k views

How can I run a program remotely via SSH but display locally

Is it possible for me to SSH to another server in Linux (Ubuntu), run a program there but display it locally? And is it possible for me to SSH to another server in my terminal, and configure it so ...
10 votes
3 answers
7k views

How to mirror my display to a remote XServer?

We have got a big screen in our office connected to an old PC, whose only purpose is to display information generated by software such as Munin, Nagios, etc. It is running Debian with Xfce to be able ...
3 votes
1 answer
2k views

WSL2: Install fonts for Linux GUI app using X server

I'm on Windows 11 and I installed the latest version of WSL (using Ubuntu 20.04.4 LTS). I also enabled GUI apps according to this official guide. I'm trying to run Xfoil, which uses X server windows ...
2 votes
2 answers
5k views

Mapping keys on Linux

I'd like to change layout (mapping) of Lenovo ThinkPad keyboard (which I hate) to be like Acer TravelMate 8000 (which I love). That mainly means: Swap Fn and left Ctrl Tab-left to act like PgUp Fn' +...
17 votes
8 answers
142k views

When I start Ubuntu it enters tty[1-6] instead of my desktop (How do I get to desktop?)

When I start Ubuntu it enters tty[1-6] instead of my desktop. Normally I could get back to the desktop by pressing Ctrl+Alt+F7 but that doesn't work. I tried sudo apt-get install ubuntu-desktop but ...
7 votes
1 answer
8k views

Getting "Warning: Missing charsets in String to FontSet conversion"

I'm using X applications over an SSH connection to some machine. When I run an X app, say, xclock for simplicity, I get a console message saying: Warning: Missing charsets in String to FontSet ...
0 votes
1 answer
3k views

How to fix Ubuntu 10.10 black screen from terminal?

I'm trying to install Ubuntu Desktop 10.10 on an Intel Atom mainboard (Intel D945GCLF2) with CRT that has been running Ubuntu 9.x previously. Both, Desktop live CD / installer and alternate install CD ...
0 votes
0 answers
32 views

How do I restart the X server in Xubuntu? [duplicate]

I have a server whose screen has gone blank. It is running, and I can get into it with SSH, but the main console is dark. I cannot get to a command-line with Ctl-Alt-F1 as usual either. I had luck ...
1 vote
1 answer
354 views

GUI Windows Not Appearing in Auto Startup Script

So I'm working on a Jetson Nano running Ubuntu 18.04. I'd like to create a script that at startup automatically runs, taking a video feed from the connected webcam, and opening up a window to view the ...
35 votes
6 answers
154k views

How to get the display number I was assigned by X

From X(7) man pages DISPLAY NAMES From the user's perspective, every X server has a display name of the form: hostname:displaynumber.screennumber [...] ...
16 votes
4 answers
129k views

How to fix "MobaXterm X11 proxy: Unsupported authorisation protocol"

When connecting from Windows to my Linux box using MobaXterm, I cannot open Linux-GUI applications on the Windows side. On the Windows side, nothing happens. On the Linux box I get this error message: ...
2 votes
0 answers
846 views

Super+L not passed through and getting stuck with VcXsrv

Started using VcXsrv on Win10 in order to run fully fledged linux environment with a window manager. Server is launched with -keyhook option so modifier keys get passed to the clients as well. But ...
0 votes
0 answers
741 views

xclip error can't open display: :0 in pop os

>> xclip Error: Can't open display: :0 $DISPLAY variable seems be correct but tried below command to set $DISPLAY properly and it didn't work. export DISPLAY=$(cat /etc/resolv.conf | grep ...
0 votes
2 answers
1k views

No mouse/keyboard input on Linux | Update: nouveau?

I was trying to install current drivers for my NVIDIA so software can use the power of GPU. sudo apt install nvidia-driver nvidia-cuda-toolkit I've ended up with 520.* drivers and CUDA 11.8 so I was ...
0 votes
1 answer
5k views

Ubuntu how to start x server but not the GUI desktop

I am planning to keep the server running in text mode, but the client can ssh -X to the server and run GUI applications. How to start X server but not to the GUI desktop.
0 votes
0 answers
996 views

Second monitor on Linux not recognized

I have a dual monitor Linux system. In the past, I had a much lessor, no-name graphics card and was able to get this to work. However, when I switched to AMD Radeon, it (Linux/Drivers/Mesa?) does not ...
1 vote
0 answers
707 views

How to run a GPU program over SSH

I'm using Intel QSV accelerating, and the program runs well on a local Ubuntu desktop. When I run the program on a remote machine(the same os, with no monitor connnected) via ssh, it cannot find gpu ...
0 votes
0 answers
131 views

How to automatically set autoscroll on bluetooth mouse in Linux

I'm running Linux Mint 20.3 and I created a .xsessionrc file to set autoscroll settings on all connected mice. However, I am using a Logitech M590 bluetooth mouse which connects too late to be ...
2 votes
0 answers
4k views

Application on remote computer * requested access to the x server

Using MobaXtrem to connect from my windows machine to an Ubuntu v16 remote server. I sometimes leave the connection active in the background while I'm away or working on other stuff. For the second ...
1 vote
0 answers
2k views

How to find out what killed my desktop environment (and possibly X Server)?

I ran into a problem this morning. I have a computer that is used for machine learning and nothing else. I use python to run tensorflow to train some models that I made. The problem is that I couldn'...
0 votes
1 answer
797 views

cannot open display from macos client with openvpn

I am trying to connect to a redhat server from a macos client, using ssh and openvpn. Command line commands work fine (eg vim), but displays dont get displayed, eg while running firefox or gvim, and I ...
2 votes
1 answer
448 views

How does WSL manage GUI apps? Why do some work when others don't?

I have WSL + Ubuntu installed on my windows machine, with a few utilities installed. The following commands open up a GUI when executed from within my Ubuntu terminal: code . (opens up a vscode ...
4 votes
1 answer
8k views

How to add fonts to VcXsrv X-Server?

I can't find any documentation on how to add new fonts to VcXsrv. I found this but this is for a different program (Xming) and though I followed all the steps the fonts still doesn't show up in the X-...
1 vote
0 answers
73 views

How to increase number of Xv adaptor ports?

The number of xv video ports is to low for my use cases e. g. xvinfo reports: X-Video Extension version 2.2 screen #0 Adaptor #0: "GLAMOR Textured Video" number of ports: 16 port ...
0 votes
1 answer
1k views

xrandr set a new virtual monitor: X Error of failed request

I'm trying to set a new virtual monitor with xrandr and I get the following errors: $xrandr --setmonitor VIRTUAL1 1366/256x768/144+0+1080 none X Error of failed request: BadValue (integer parameter ...
1 vote
2 answers
5k views

How to startX as non-root user inside the rc.local?

I am trying to start startx as non-root user in my Ubuntu-server 16.04(Linux nanopim1 3.4.113-sun8i #16 SMP PREEMPT Tue Jun 13 14:15:57 CEST 2017 armv7l armv7l armv7l GNU/Linux) with openbox installed ...
4 votes
2 answers
7k views

How start a single program within a new xserver instance in full screen mode?

I'd like to run a program in full screen mode without the overhead of a desktop environment but simply on a xserver instance. This is fairly easy by running: startx <program> Trouble is that ...
0 votes
1 answer
2k views

Where to put autostart scrips to run after x display server has been started?

I'm using manjaro linux with dwm (dynamic window manager) and I need to run some some commands that will only work after the x display server has been started. Lightdm is being used to login. example ...
1 vote
2 answers
664 views

Is there a way in Linux to have two different users log into the same graphical session?

What I am trying to do: I have a machine that is treated as an appliance, it has multiple graphical applications open, and these must not be closed at any time. HumanA might turn on the system, launch ...
2 votes
0 answers
316 views

Why does xserver require a physical screen?

I was searching for a solution to run a graphical application without a physical screen. The application is showing multiple hardware accelerated video streams with gstramer-vaapi. I dont want to ...
1 vote
1 answer
4k views

Getting Emacs to work with GUI in WSL

I'm new here and I don't really get this stuff, so I'll try to provide all the relevant details but if something important is missing please tell me. I have Windows Subsystem for Linux (WSL2) setup on ...
50 votes
2 answers
56k views

difference between x servers in windows

I'm using Windows 10 Insider Preview with Windows subsystem for Linux enabled I'm wondering what's the true differences between VcXsrv and Xming to view windows from Ubuntu in windows I know the ...
2 votes
2 answers
5k views

Permissions messed up on X server

I followed the tutorial at http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/ and was able to successfully run Firefox. However, after restarting, I can't start X for my user, from the ...
0 votes
2 answers
1k views

Text mode at startup + startx?

I'm trying to boot my Trisquel GNU/Linux distro directly from text mode, as I don't want to load the GUI if it's not necessary. I would like to work in tty1 until I type startx, which would start all ...
0 votes
1 answer
3k views

How could I fix this errror message at VcXsrv ? Trying to use WSL 2 using graphical apps under VcXsrv Xserver

I have installed Ubuntu 20.04 LTS at Windows 10 Professional build 19041.329 and would like to run graphical apps at X server. Did a install of Docker Desktop and did a test and it's working fine. But ...
0 votes
1 answer
170 views

How can I setup the Cygwin X server as a service?

I've read the Cygwin/X user's guide; I've installed Cygwin, the X-related packages, and am able to run X and apps on X. However - that's all manual. I need to invoke startxwin and need to call xhost +...
0 votes
1 answer
388 views

How to access IMM on IBM X3650 M3 from outside of LAN

I just bought an IBM X3650 M3 and want to configure IMM on it. I connected the server's IMM port and can access the IMM module from any computer within my LAN (computers connected to the same router/...
3 votes
0 answers
2k views

Why is delay with VcXsrv so much slower than Xming when X11 forwarding

I was beating my head against the wall trying to figure out why opening an application through X11 forwarding was taking so long. To open the simplest app like xclock was taking ~20 seconds for the ...
3 votes
2 answers
5k views

WSL: QT application fails to start

I have compiled a simple QT Quick application (using Ruby-Qml, but I don't think this matters) on Ubuntu (18.04) via WSL on Windows 10 v1903 and get the following error when launching with Xming. ...
1 vote
0 answers
406 views

How to open a program in different Xephyr Displays?

I have two Xephyr displays created through PyVirtualDisplay, when I try to open xterm in both of them it works just fine, but many other programs will open twice on the same display. So if I do this: ...
2 votes
1 answer
9k views

WSL 2, GUI Applications using XServer [duplicate]

I've seen this question before, but none of the solutions are working for me. I know the steps that are mentioned everywhere to get GUI applications working for WSL 2 on the Windows 10 Pro Insider ...
1 vote
1 answer
1k views

switch to x server window using alt tab program switcher

For x server (Cygwin X server hosted on windows platform) the alt-tab program switcher does not work. The x server window (in my case gvim) does not show up in the list of windows when using alt-tab. ...
1 vote
0 answers
137 views

Launching a program on startup with systemd on Ubuntu

I'd like to run a Java backend program on startup (in fact it may be on user login) with systemd, which would use X server to create a render window in memory. The render window is created by VTK to ...
4 votes
2 answers
4k views

Disable screen turn off

I want to watch a movie with my laptop how I can disable with xmonad that it turn off the screen if vlc or some other app is running is running. Is there some functions what I can used to prevent this?...
0 votes
0 answers
128 views

Passing the only GPU through to a VM

I would like to use a Windows 10 VM on a Linux host. If there is only one graphics processor (i.e. a graphics card but no integrated graphics) how can I pass this through to the VM? I would rather ...
2 votes
0 answers
784 views

Tiny UI on ubuntu with wsl

I installed ubuntu on windows using WSL (windows subsystem for linux). I was able to install vscode and firefox via app-get install but when I launch them, they have very tiny UI and fonts. I am using ...
3 votes
2 answers
2k views

Can I share clipboard content between nested X servers?

I'm using Xnest to run a nested X server inside my main X server. But their clipboards (selections) are independent, so I cannot easily copy text from one to another. Is there a way to do so?
8 votes
2 answers
263k views

How can I export DISPLAY from a Linux terminal to a Windows PC?

Exporting display from a Linux terminal to a Linux desktop is easy; you do the following: On 192.168.90.121 (localPC): xhost + 192.168.10.164 On 192.168.10.164 (remotePC): export DISPLAY=192.168....
5 votes
1 answer
3k views

Linux Subsystem for Windows: Atom and Visual Studio Code close immediately

There is a couple of guides out there on how to get GUI applications running in Linux Subsystem for Windows (WSL). I tried to follow a handful of them, but each of them had something in common: Both ...
1 vote
1 answer
527 views

How to initiate multiple X login sessions at system startup?

I have Linux Mint 17.2 KDE. I have several user accounts. I often use them at the same time for different tasks. My use case is like this: Login as user1. Start program A. Ctl+Alt+L --> "Switch users"...