You are not logged in.
Kinda stupid question, but I can't run apps with another user. When I try to run them from the terminal, after a su [other user] + pass, I get the following message:
[koiti@myhost ~]$ su lucy
Password:
[lucy@myhost koiti]$ firefox
No protocol specified
Error: cannot open display: :0.0Any ideas?
Also, but not related (i guess), I use the dual-head configuration in my xorg.conf, and the issues continues...
I use thunar as my file manager, and custom actions to open my video files in the secondary screen (a 21" TV), adding "DISPLAY=:0.1" before the actual command, but it only works to the first login.
For instance: I turn my computer on, at GDM I log in as "koiti", then switch users, still logged on as "koiti", new login as "lucy" (my wife, hehehe).
The first login (koiti) can use the "DISPLAY=:0.1" variable to open the videos in the secondary screen, because it was the first to log in. If I try to use the same command as "lucy" I get the following error message in terminal:
[lucy@myhost ~]$ DISPLAY=:0.1 vlc
VLC media player 0.8.6i Janus
No protocol specified
Error: Unable to initialize gtk, is DISPLAY set properly?
[lucy@myhost ~]$If I log in as "lucy" when I turn the computer on, i got these messages in the other login.
I guess this is a "permission related" issue, because i can run any app as root.
Any help will be appreciated.
Cheers from Japan.
Offline
Try this:
$ gksudo -u lucy firefoxOffline
As a root perform xhost localhost. I think that will solve your problem
Be yourself, because you are all that you can be
Offline
hi..
i'm sorry...
but i've the same problem...
If i do what SriptDevil says appears the same error message :
No protocol specified
xhost: unable to open display ":0.0"i want perform this command as root:
xmessage -timeout 5 -center Batterybut appears this message error:
No protocol specified
Error: Can't open display: :0.0Offline
Tried both commands, neither worked.
I only need to have (at least) two different profiles for firefox (bookmarks, history, etc.). Is this doable?
Cheers
Offline
I only need to have (at least) two different profiles for firefox (bookmarks, history, etc.). Is this doable?
Offline