Questions tagged [xhost]

11 questions
10
votes
3 answers

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 준영
  • 5,686
  • 12
  • 68
  • 115
2
votes
1 answer

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 a remote machine - it happens to be a Solaris 10…
Jonathan Leffler
  • 5,003
  • 1
  • 30
  • 37
1
vote
0 answers

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 installed, so I installed it. But I didnt get any…
none
  • 11
  • 4
1
vote
2 answers

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 on my file /etc/rc.local but it isn't working,…
GarouDan
  • 585
  • 3
  • 7
  • 19
1
vote
0 answers

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 opened the terminal, and typed sudo nautilus to…
Damn Vegetables
  • 3,622
  • 16
  • 46
  • 78
0
votes
1 answer

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 session. Here's what I have in my systemctl script so…
macetw
  • 170
  • 11
0
votes
2 answers

Opening emacs through SSH on OS X

[kevin@serverA myFolder]$ emacs sample emacs: Cannot connect to X server Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. I did run…
Kevin Meredith
  • 375
  • 1
  • 4
  • 14
0
votes
1 answer

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 video device" How can I relax the X security…
user19496
  • 1,490
  • 3
  • 13
  • 22
0
votes
0 answers

can't open display and xhost issue

I create a vncserver at a serverA vncserver :20 I succeed to use vncviewer access serverA (IP_of_serverA:20.0) At another serverB, I hope export the display to serverA:20.0 At serverA setenv DISPLAY IP_of_serverA:20.0 xhost + access control…
0
votes
0 answers

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 also tried setting DISPLAY to my IP followed by…
Alan Mena
  • 1
  • 1
0
votes
2 answers

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 any session using my cookie in ~/.Xauthority will be…
Adriano_pinaffo
  • 322
  • 1
  • 5
  • 23