Linked Questions
31 questions linked to/from Can I launch a graphical program on another user's desktop as root?
14
votes
1
answer
177k
views
X "Can't open display: :0" while DISPLAY variable is correct [duplicate]
I'm not able to start any GUI applications as a root user:
# pgrep -lf Xorg
1590 /usr/bin/Xorg -br -nolisten tcp :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-PNnJzp
# echo $DISPLAY
:0
# xeyes
No ...
2
votes
2
answers
20k
views
X11: Client not authorized when calling with sudo [duplicate]
Possible Duplicate:
Can I launch a graphical program on another user's desktop as root?
I'm trying to do the equivalent of:
$ sudo -u myuser DISPLAY=:1 xterm
However, it give me the ...
1
vote
3
answers
3k
views
Is it possible to display a graphical application on another host/user [duplicate]
We have a small linux cluster ~12 computers and a similar number of users.
Is it possible for a superuser to launch a graphical application - say firefox or even a python script on another machine ...
2
votes
1
answer
2k
views
Udev: running a shellscript that accesses an X display [duplicate]
After getting my 3g-modem to work in Arch Linux I wanted to eliminate some manual labour required in the process. Hence I needed to create an udev rule. After some trial and error I came up with the ...
0
votes
1
answer
2k
views
Error: cannot open display: :0.0 - Red Hat Enterprise Linux Server [duplicate]
I am trying to open up firefox in my Red Hat machine. I am doing,
export DISPLAY=:0.0
and typing,
firefox
I am getting
Error: cannot open display: :0.0
Is there any way to know what packages are ...
4
votes
0
answers
2k
views
How to make "notify-send" work from daemon application [duplicate]
Possible Duplicate:
Can I launch a graphical program on another user's desktop as root?
I wrote a script which starts from init.d .When it finishes I need it to notify-send a message to me (I ...
1
vote
1
answer
967
views
Running remote GUI application over SSH as a standard non-admin user [duplicate]
I'm running a HelpDesk for internal call center employees. All employees have headsets in conjunction with their jobs, and I'm working on a script to remotely launch a minimized Mumble session via ...
1
vote
2
answers
428
views
Program run from udev cannot open a window [duplicate]
I have a script, written in python:
#!/usr/bin/python3
from tkinter import messagebox
variable = messagebox.showinfo('title', 'question')
This python script does nothing else than showing a message ...
1
vote
1
answer
401
views
Acting on a different display when using SSH [duplicate]
I am connecting to a Linux CentOS 2.6 computer via SSH wit the display deported on my screen (using MobaXterm).
It is also possible to access to this computer "physically".
However, I would like a ...
0
votes
1
answer
274
views
X Forwarding over SSH when switching users [duplicate]
How do I forward X when switching users?
I can ssh -X [email protected] and open GUIs just fine. However, then when I sudo su to root, the X11 forwarding seems to stop because the windows ...
119
votes
5
answers
350k
views
Is there a command to list all open displays on a machine?
When SSH'd locally into my computer (don't ask, it's a workaround), I can't start graphical applications without running:
export DISPLAY=:0.0
If I run this first and then run a graphical application, ...
94
votes
3
answers
183k
views
Open a window on a remote X display (why "Cannot open display")?
Once upon a time,
DISPLAY=:0.0 totem /path/to/movie.avi
after ssh 'ing into my desktop from my laptop would cause totem to play movie.avi on my desktop.
Now it gives the error:
No protocol specified
...
25
votes
8
answers
31k
views
Show a notification across all running X displays
Using the command line, I'd like show a notification on every running X display. ( and running console )
Something like:
notify-send-all 'Warning' 'Nuclear launch in 5 minutes, please evacuate'
Is ...
35
votes
4
answers
25k
views
Is there a way to communicate with someone at their desktop?
My wife is sitting at her home desktop, alpha, which is running a recent version of Ubuntu. I am on a bus, using ConnectBot on my G1 phone, and can SSH into alpha from wherever I am.
For complicated ...
21
votes
6
answers
14k
views
Run a dbus program in crontab , how to know about the SESSION id?
I need to run some program within crontab , but how can the program know about dbus session id ? it's only available for programs launched by session managers.