In ~/.profile: case $DISPLAY in :*) screen -S local -d -m;; esac Then, in the ssh session: screen -d -r local You could also save the values of DISPLAY and XAUTHORITY Should I report it? To copy cookies when you log into your desktop X session, add the following lines to ~/.xprofile or ~/.profile (or some other script that is read when you log in): case What is the most someone can lose the popular vote by but still win the electoral college? navigate here
I adjusted the firewall settings using the utility Firewall Configuration, found in the System > Administration menu. How does Gandalf end up on the roof of Isengard? You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. If port 177 (UDP) or port 6000 (TCP) are blocked you need to fix this first.
share|improve this answer answered Oct 22 '12 at 7:59 Joril 1,39611726 1 This helped me out on my minimal debian installation, thank you very much! –binOr Jan 16 '13 at Possible cause #2: the X server isn't listening A DISPLAY setting is used which causes the X client application to attempt to use TCP/IP sockets rather than Unix sockets. I will be posting instruction guides, how-to, troubleshooting tips and tricks on Linux, database, hardware, security and web. Please visit this page to clear all LQ-related cookies.
I approve wholeheartedly. Error Can't Open Display Localhost Do we know Ford's old name? even i update gtk2 and all depended lib. To find out if this is the case, see if the X server is started with the -nolisten tcp argument, and if so, remove it.
This site is not affiliated with Linus Torvalds or The Open Group in any way. Part of sshd_config: X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes Any advice? Error Can't Open Display Linux ssh -X works fine. Error Can't Open Display Localhost 10.0 Putty If it is not set at all or set incorrectly you need to fix that, for example export DISPLAY=10.10.10.1:0.0 The second step to check is whether X11 server itself is accessible
the forwarding was not happening. check over here sudo apt-get install xauth solved the issue. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed sources: what is the difference between ssh -Y and ssh -X cygwin/X warning: could not open X display share|improve this answer edited Oct 17 '14 at 10:41 answered Oct 17 '14 Cannot Open Display Ubuntu
How to capture disk usage percentage of a partition as an integer? Start a coup online without the government intervening Does an Eldritch Knight's war magic allow Extra Attacks? Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search his comment is here Also, the XO.hosts file was updated to to include all three Linux machines with no change in behavior.
This setup use to work. Error Can T Open Display Mac asked 5 years ago viewed 93851 times active 1 month ago Linked 3 Xlib: No protocol specified 5 Remotely control an xorg session 5 How to access X display from a Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.
I would like to run an X application like this: # export DISPLAY=10.1.60.59:0 xeyes Error: Can't open display: 10.1.60.59:0 # xlogo Error: Can't open display: 10.1.60.59:0 On your xserver, you have Actually, the resolution of "localhost" wasn't! In addition, it creates the $DISPLAY variable which points to this proxy and calls the xauth to install a proxy key which authenticates to this X-server proxy on remote machine: # X11uselocalhost It needs the address of the display, which is typically :0 when you're logged in locally or :10, :11, etc.
You'll need to modify /etc/lightdm/lightdm.conf under [SeatDefaults], add: xserver-allow-tcp=true then reboot (recommended) or sudo service lightdm restart which may lose your working desktop session. To solve this, be sure that you set the DISPLAY variable correctly in the environment (with setenv or export depending on your shell. _X11TransSocketINETConnect: Can't connect: errno = 101 xterm Xt I want the command to be executed on the host, not the client. weblink I was getting this issue when I upgraded my Mac to OS X Mountain Lion.
Answer: You can fix the "cannot open display" error by following the xhost procedure mentioned in this article. 1. I just need to use -X when ssh to my server. –user1872384 Jan 14 at 14:31 add a comment| up vote 1 down vote Here's what worked for me, also after Adv Reply Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to share|improve this answer edited Dec 29 '15 at 16:32 answered Jul 22 '13 at 11:44 Kyle Kelley 1314 1 Using XQuartz I was unable to use the -Y flag. "X11
What is the meaning of ''cry oneself"? I hadn't thought of it. The full text of the error or warning message cannot be safely formatted in this environment. This is harder to automate.
Can a president win the electoral college and lose the popular vote Departing from airport before visa is valid, but arriving when it is How do you enchant items with Lapis Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest