Skip to main content

Questions tagged [xhost]

The tag has no usage guidance.

0 votes
0 answers
2k views

Opening FireFox from CLI causes X error "cannot open display: 0"

When I try to open FireFox in my Linux machine from the CLI, this error shows up: Error: cannot open display: :0 I have tried to set the DISPLAY to a lot of values, :0, :0.0, :1, :1.0, 0... I have ...
Alan Mena's user avatar
2 votes
1 answer
20k views

Terminal in XRDP session. Solve 'Authorization required, but no authorization protocol specified'?

There was a similar question, but it was about Cygwin. My question is RDP. I set up XRDP on a Linux computer and used Windows' Remote Desktop Connection to connect to it. Inside of the RDP window, I ...
Damn Vegetables's user avatar
0 votes
2 answers
10k views

Xorg / X11: How to provide Cookie-based access to X Server using xauth?

I know the risk, I know there is ssh -X, etc etc. What I want is to be able from one remote machine (X client) to connect to my local machine (X server) on a user (cookie) basis. I understood that ...
Adriano_pinaffo's user avatar
1 vote
0 answers
415 views

LXDE doesn't start - fonts missing?

So I have my Raspberry Pi (B+), and want to run LXDE on it. Should be installed. So I run startx, and i get a black screen with a dash in the top left corner. Weird. XINIT tells me XTERM isn't ...
none's user avatar
  • 11
0 votes
1 answer
1k views

Xvnc via systemctl : how to use "xhost +"

I would like to run Xvnc on Fedora 16 as a service. Not vncserver, given that carries the weight of a full window manager, but just Xvnc to start X. I would also like "xhost +" to run on the X ...
macetw's user avatar
  • 170
1 vote
2 answers
2k views

Command to run as root on boot isn't working

I need to run the following command sudo xhost SI:localuser:root every time I start a machine of mine. So I'd like automate this process. I'm using Ubuntu 12.04 LTS for this. I tried put this command ...
GarouDan's user avatar
  • 585
0 votes
2 answers
3k views

Opening emacs through SSH on OS X

[kevin@serverA myFolder]$ emacs sample emacs: Cannot connect to X server <IP Address> Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to ...
Kevin Meredith's user avatar
0 votes
1 answer
955 views

How can I relax the X security constraints for the jenkins daemon?

It works fine on the commandline, when I do xhost + su - jenkins emulator -avd myAVD.avd but emulator -avd myAVD.avd executed by jenkins daemon fails with "SDL init failure: No available ...
user19496's user avatar
  • 1,520
11 votes
3 answers
7k views

Allow only one extra user to access the display

The question is based on the thread. How can you allow only one user to access the display by xhost? sudo xhost masi is not working in my fresh Ubuntu 9.10.
Léo Léopold Hertz 준영's user avatar
1 vote
1 answer
6k views

Running X11 Server on Mac OS X - and connecting from a remote machine

Originally asked on SO - transfer to SU suggested on SO, but transfer made manually. I have a Windows XP laptop, and I can run the Cygwin X11 server on there (script startxwin.bat, IIRC). I also use ...
Jonathan Leffler's user avatar