Error no display environment variable specified linux

Содержание
  1. unixforum.org
  2. Решено: Как задать экран на удаленном компьютере?
  3. Решено: Как задать экран на удаленном компьютере?
  4. Re: Решено: Как задать экран на удаленном компьютере?
  5. Re: Решено: Как задать экран на удаленном компьютере?
  6. Re: Решено: Как задать экран на удаленном компьютере?
  7. Re: Решено: Как задать экран на удаленном компьютере?
  8. Re: Решено: Как задать экран на удаленном компьютере?
  9. Re: Решено: Как задать экран на удаленном компьютере?
  10. Проблема с display и firefox
  11. Error: no DISPLAY environment variable specified #5959
  12. Comments
  13. snshn commented May 13, 2019
  14. AniLeo commented May 13, 2019 •
  15. Megamouse commented May 13, 2019
  16. Megamouse commented May 13, 2019
  17. snshn commented May 13, 2019 •
  18. ghost commented May 13, 2019 •
  19. Leopard1907 commented May 13, 2019
  20. Megamouse commented May 13, 2019 •
  21. Leopard1907 commented May 13, 2019
  22. z0z0z commented May 13, 2019
  23. snshn commented May 14, 2019 •
  24. JohnHolmesII commented May 14, 2019
  25. ghost commented May 14, 2019
  26. Footer
  27. «Error: no DISPLAY environment variable specified» after updating to version 1.4.1 with fish as default shell #571
  28. Comments
  29. zwwi commented Jan 13, 2020
  30. crramirez commented Jan 13, 2020
  31. zwwi commented Jan 13, 2020 •
  32. crramirez commented Jan 13, 2020
  33. zwwi commented Jan 13, 2020
  34. crramirez commented Jan 13, 2020
  35. zwwi commented Jan 13, 2020
  36. crramirez commented Jan 13, 2020
  37. crramirez commented Jan 13, 2020
  38. crramirez commented Jan 15, 2020
  39. crramirez commented Jan 20, 2020
  40. zwwi commented Jan 21, 2020
  41. maple3142 commented Aug 27, 2020
  42. crramirez commented Aug 27, 2020
  43. maple3142 commented Aug 27, 2020
  44. woutGdpr commented Oct 25, 2020
  45. crramirez commented Oct 26, 2020
  46. woutGdpr commented Oct 26, 2020
  47. maple3142 commented Nov 6, 2020
  48. crramirez commented Nov 6, 2020
  49. crramirez commented Nov 6, 2020
  50. maple3142 commented Nov 6, 2020
  51. Thread: Error: no display specified
  52. Error: no display specified
  53. Re: Error: no display specified
  54. Re: Error: no display specified
  55. Re: Error: no display specified
  56. Re: Error: no display specified
  57. Re: Error: no display specified
  58. Re: Error: no display specified
  59. Re: Error: no display specified

unixforum.org

Форум для пользователей UNIX-подобных систем

  • Темы без ответов
  • Активные темы
  • Поиск
  • Статус форума

Решено: Как задать экран на удаленном компьютере?

Модератор: Bizdelnick

Решено: Как задать экран на удаленном компьютере?

Сообщение pavlar » 23.02.2011 09:38

$ firefox
Error: no display specified
alabama@ubuntu:

Как задать экран?

Re: Решено: Как задать экран на удаленном компьютере?

Сообщение Shura » 23.02.2011 11:37

Re: Решено: Как задать экран на удаленном компьютере?

Сообщение pavlar » 23.02.2011 12:35

$ export DISPLAY= :0; firefox
-bash: remote: Нет такого файла или каталога
Error: no display specified

Re: Решено: Как задать экран на удаленном компьютере?

Сообщение eddy » 23.02.2011 12:38

Re: Решено: Как задать экран на удаленном компьютере?

Сообщение pavlar » 23.02.2011 12:44

$ ssh -X alabama@192.168.1.5
alabama@192.168.1.5’s password:
Linux ubuntu 2.6.35-22-generic-pae #33-Ubuntu SMP Sun Sep 19 22:14:14 UTC 2010 i686 GNU/Linux
Ubuntu 10.10

79 packages can be updated.
46 updates are security updates.

Last login: Wed Feb 23 14:42:48 2011 from pol.local
alabama@ubuntu:

$ firefox
Error: no display specified
alabama@ubuntu:

Re: Решено: Как задать экран на удаленном компьютере?

Сообщение eddy » 23.02.2011 12:44

Re: Решено: Как задать экран на удаленном компьютере?

Сообщение pavlar » 23.02.2011 12:48

Источник

Проблема с display и firefox

Приветствую жителей форума, я со своего компьютера захожу на другую машину дабы с неё запустить FF у себя,
но проблема в том, что в консоли у меня пишется, что display не указан

Читайте также:  Как удлинить юсб кабель для принтера

Почитай хоть что-нибудь про Х-ы и роль переменной DISPLAY

Я читал, попробовал вот как здесь написано — ноль результатов (читал не только там, но всё равно не работает).

Показывай команды которые даешь на обеих системах.

И возможно ssh -X решит твои проблемы без понимания сути процессов.

со своего компьютера захожу на другую машину

Приветствую жителей форума, я со своего компьютера захожу на другую машину дабы с неё запустить FF у себя, но проблема в том, что в консоли у меня пишется, что display не указан

дык укажи. И пробросить его не забудь, дабы иксы с одной машины, работали на другой.

-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.

X11 forwarding should be enabled with caution. Users with the ability to bypass file permissions on the remote host (for the user’s X authorization database) can access the local X11 display through the forwarded connection. An attacker may then be able to perform activities such as keystroke monitoring.

For this reason, X11 forwarding is subjected to X11 SECURITY extension restrictions by default. Please refer to the ssh -Y option and the ForwardX11Trusted directive in ssh_config(5) for more information.

И пробросить его не забудь, дабы иксы с одной машины, работали на другой.

Источник

Error: no DISPLAY environment variable specified #5959

Comments

snshn commented May 13, 2019

  • RPCS3 Version
    0.0.6-8066-9c346c92
  • What I did
    Started the .AppImage, tried to click on «Quickstart» link within the «Welcome to RPCS3» dialog window.
  • Operating system
    Ubuntu 18.04.2 LTS
  • Last few log lines:
  • General result
    Web browser doesn’t get opened

The text was updated successfully, but these errors were encountered:

AniLeo commented May 13, 2019 •

Reproduced on same OS and rpcs3-v0.0.6-8094-22f61caf_linux64.AppImage

Megamouse commented May 13, 2019

can you guys click the patreon link in the «About» window ?

Megamouse commented May 13, 2019

And how about «Check compatibility» in the game list?

snshn commented May 13, 2019 •

None of those blue links work for me, same error in the console.

RPCS3: Fatal Error ‘s window with «How-to-ask-for-Support» link, and all the links in the «Welcome» dialog.

I’m sorry, I can’t seem to find a way to test «Check compatibility» within game list, don’t really have any games, just interested in the UI and the software you’re working on.

ghost commented May 13, 2019 •

Same here with rpcs3-v0.0.6-8094-22f61caf_linux64.AppImage. Ubuntu 19.04.

EDIT: Got a segfault dialog playing and noticed the same issue there with the github link.

Leopard1907 commented May 13, 2019

Linux Mint 19.1 ( Ubuntu 18.04 based )

Behaviour: Installing game updates then exiting from emulator triggers that behaviour. Result is ; update didn’t applied ( at least according to GUI ) at all.

Behaviour: Dowloading compability database also triggers same behaviour. In both cases ; segfault message is only visible when exiting emulator.

Megamouse commented May 13, 2019 •

No one tested the «Check game compatibility» for a game yet

Leopard1907 commented May 13, 2019

«Check game compatibility» works without problems for me.

Same goes for links at » About Rpcs3 » section.

Things doesn’t work ( but no segfaults ) :

1-) Open install folder
2-) Open custom config folder

There is zero response but there are no errors either.

z0z0z commented May 13, 2019

Are you guys running in Wayland?

It would explain DISPLAY not being set, and Qt having problems choosing a browser to open in.

snshn commented May 14, 2019 •

Not me, just plain default installation of Ubuntu Desktop x86_64 18.04.2 LTS + latest updates, which uses gnome-shell under Xorg.

JohnHolmesII commented May 14, 2019

That is only about default; someone could still be using wayland if they choose to.
More relevant, I just tried the check game compat and got the same error.

ghost commented May 14, 2019

Xorg here as well.

© 2022 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

«Error: no DISPLAY environment variable specified» after updating to version 1.4.1 with fish as default shell #571

Comments

zwwi commented Jan 13, 2020

Describe the bug
See above, cannot open any GUI. I tried both X410 and VcXsrv.

I updated pengwin to 1.4.1. There was no problem before updating.

The text was updated successfully, but these errors were encountered:

crramirez commented Jan 13, 2020

Please put me in context.

  • When do you see the message? At startup? After executing a command?
  • What user are you using, the default one or root

zwwi commented Jan 13, 2020 •

@crramirez , thank you for your prompt reply:

Pengwin can be started without any problem. Then, starting, e.g., firefox from the terminal I got that message.

I used the default user.

After setting the display in .bashrc by export DISPLAY=$(awk ‘/nameserver / ‘ /etc/resolv.conf 2>/dev/null):0 then firefox can be started from bash. But this was not needed in the previous version.

crramirez commented Jan 13, 2020

Could you please execute bash -x /etc/profile.d/00-pengwin.sh and send me the result. You can send it to contact@whitewaterfoundry.com as well

zwwi commented Jan 13, 2020

here is the result of execute bash -x /etc/profile.d/00-pengwin.sh :

where I have replaced the actual ip address by my_ipv4_address .

crramirez commented Jan 13, 2020

Looks good, so my next question. Is you default shell bash? Something is avoiding this script to set DISPLAY correctly

zwwi commented Jan 13, 2020

The default shell is fish, set by using pengwin-setup before the update.

crramirez commented Jan 13, 2020

Ok, let us make some tests with fish and zsh. Thank you for reporting

crramirez commented Jan 13, 2020

Looks like WSL is not reading /etc/environment anymore. The script /etc/profile.d/00-pengwin.sh must be translated into fish and be included in pengwin-base.

This will take time. If someone can help it will be wonderful

crramirez commented Jan 15, 2020

crramirez commented Jan 20, 2020

We are having problems with the pengwin-base.deb. Meanwhile please execute this script:

sudo wget -O /etc/fish/conf.d/00-pengwin.fish https://raw.githubusercontent.com/WhitewaterFoundry/pengwin-base/development/fish_conf.d/00-pengwin.fish

zwwi commented Jan 21, 2020

maple3142 commented Aug 27, 2020

I am having the same problem on zsh, but sourcing /etc/profile.d/00-pengwin.sh works.

crramirez commented Aug 27, 2020

Hmm, it should happen automatically. We will check. Thanks for reporting.

maple3142 commented Aug 27, 2020

I think it is /etc/profile.d not working at all for non bash shell. For example, 02-x410.sh , fcitx.sh won’t be run as expected.

woutGdpr commented Oct 25, 2020

Hi, i have a wsl on my windows computer. im trying to run a script that would get cookies from a website. Wsl is headless so i dit run Xvfb :99 -ac -screen scrn 1028x1024x24 &> /dev/null before running my python server. In my geckodriver.log i get this message:
1603637350760 geckodriver INFO Listening on 127.0.0.1:58875
1603637350763 mozrunner::runner INFO Running command: «/usr/bin/firefox» «—marionette» «-foreground» «-no-remote» «-profile» «/tmp/rust_mozprofileaRFiMo»
Error: no DISPLAY environment variable specified

Any idea how to fix this?

Thanks in advance

crramirez commented Oct 26, 2020

Did you try to define the DISPLAY variable after running Xvfb with the same display number like : export DISPLAY=:99 ?

woutGdpr commented Oct 26, 2020

Thanks a lot Carlos! worked for me

maple3142 commented Nov 6, 2020

I found that even in bash, /etc/profile.d doesn’t work at all. What should I do to make /etc/profile.d work?

at 17:33:33 > echo $DISPLAY

at 17:33:36 > bash maple3142@MAPLE:

$ echo $DISPLAY maple3142@MAPLE:

crramirez commented Nov 6, 2020

I will make a full test with zsh to identify what is happening with 00-pengwin.sh

crramirez commented Nov 6, 2020

I made a test with zsh as the default shell and it is working. Could you check if you have this:

I tested 02-x410.sh and it is working as well. You can try to reinstall it with pengwin-setup in case that you have an older version

maple3142 commented Nov 6, 2020

Ok, it seems to be working when launching as login shell, but it is quite slow when executing all the scripts:

at 21:17:45 > time zsh -i -c exit zsh -i -c exit 0.03s user 0.03s system 94% cpu 0.062 total

at 21:17:49 > time zsh —login -i -c exit zsh —login -i -c exit 0.10s user 0.07s system 3% cpu 4.289 total

Источник

Thread: Error: no display specified

Thread Tools
Display

Error: no display specified

when i write in terminal «xdg-open http://www.google.it» or «gnome-open http://www.google.it» for example, it returns the error:

Error: no display specified

how can i solve this problem?

i understand that it’s about the DISPLAY variable (i have it setted to :0.0)

sorry for my bad english

Re: Error: no display specified

See if that makes a difference.

Is your browser open when you do this?

Re: Error: no display specified

See if that makes a difference.

Is your browser open when you do this?

firefox is open. why?

Re: Error: no display specified

i tried also with firefox closed. it’s always the same

Re: Error: no display specified

Are you trying to do this from a terminal emulator (like Gnome-terminal) or from TTY?

Doing it from terminal emulators running inside your desktop should work, but if you try to do it from TTY you’ll need to set the display variable in that TTY first, otherwise it will try to launch the command inside that TTY..

Re: Error: no display specified

Are you trying to do this from a terminal emulator (like Gnome-terminal) or from TTY?

Doing it from terminal emulators running inside your desktop should work, but if you try to do it from TTY you’ll need to set the display variable in that TTY first, otherwise it will try to launch the command inside that TTY..

i do it in Gnome-Terminal

Re: Error: no display specified

Hello. I’m trying to launch X-Window apps from the console (tty) and get the same error. How do I set the $DISPLAY variable in order to do this?

Re: Error: no display specified

You could try DISPLAY=:0 before your command.

Источник

КомпСовет