bioinfo Linux - Networking 2 10-02-2004 09:26 AM matlab on remote linux server... I tried to find some useful log entries both on machine where SSH server is running and machine where SSH client is running with find /var/log/ -mmin -5 -type f command, Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Now it gives the error: No protocol specified Cannot open display: I reinstalled Debian squeeze when it went stable on both computers, and I guess I broke the config. this contact form
Departing from airport before visa is valid, but arriving when it is How does Gandalf end up on the roof of Isengard? The Ubuntu guys must be messing around with defaults again. –Zoredache Jul 13 '11 at 19:50 1 @DerfK, in my system "X11Forwarding yes" was there already still I am getting was used. In this case, which host's IP will be considered for opening sites?mine or accessed?
In any case, doing things as root if you don't have to is generally a bad idea. –Faheem Mitha Jan 10 '14 at 11:47 4 Also try using ssh -Y 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 cookies stored in ~/.Xauthority.) Getting the values of the variables Here are a few ways to obtain the values of DISPLAY and XAUTHORITY: You can systematically start a screen session from Enable X11 forwarding While doing ssh use the option -X to enable X11 forwarding. $ ssh [email protected] -X Enable trusted X11 forwarding, by using the -Y option, $ ssh [email protected] -Y
The 127.0.0.1 entry pointing to the actual hostname is necessary; in fact the order seems to be also relevant (put last & it won't work...) [[email protected] /etc]$ cat hosts # Do You have to figure out the PID of a process that's connected to the display you want to work on, then get the environment variables from /proc/$pid/environ (eval export $(
Should I report it? This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. While your code may be a little cleaner in principle since you're only extracting information about the display you're interested in, I don't see anything wrong with a simple merge in Check that you have the correct DISPLAY set, and that the server machine is reachable from your client (it should be, after all you're probably logged in to the server and
As root, you can either do "xhost +" (unsafe, allows ANYONE to start remote windows on your machine), or "xhost
Yes, I can open xterm on my local machine –Fabian Sep 16 '11 at 18:28 add a comment| 6 Answers 6 active oldest votes up vote 6 down vote If ssh Here is what I found online : If you use ssh -X remotemachine the remote machine is treated as an untrusted client. Error Can't Open Display Linux Select the "Remote" tab and in the "Style" window select one of the options other than "Remote login disabled." If that doesn't do it for you, try the next suggestion. Error Can't Open Display Localhost 10.0 Putty google xauth howto comes up with a lot of references Link thib June 25, 2010, 11:53 am Unless the network environment is entirely controlled, xhost is a very bad idea .
Debian even does this by default as part of the login process (in /etc/X11/Xsession.d/35x11-common_xhost-local). weblink NOTES: To invoke terminal in RHEL, you should use command /usr/bin/gnome-terminal & Here is how the file /etc/gdm/custom.conf looks after modifications: # GDM configuration storage [daemon] [security] DisallowTCP=false AllowRemoteRoot=true [xdmcp] Enable=true That's not my problem. I've been stuck by that problem for some time... Cannot Open Display Ubuntu
DistroLubuntu Re: getting "can't open display" when using ssh http://ubuntuforums.org/showpost.php...4&postcount=11 oops, apparently I was doing DISPLAY=:0 when i needed to do export DISPLAY=:0 marking thread as solved. DistroLubuntu getting "can't open display" when using ssh I'm used to ssh-ing to my other box, and running GUI apps after setting DISPLAY=:0 The X server is on the box i'm To be able to connections from the external box you need to edit the file /etc/gdm/custom.conf. navigate here This article explains the configuration changes required to allow remote access to a Red Hat Enterprise Linux system (RHEL) using the X Display Manager Control Protocol (XDMCP) or GDM (GUI login).
If you are doing that, I wonder how you are handing the sound. Error Can T Open Display Mac What episode of Star Trek is this creature on? The easiest way to check if this is the problem is to use the -y flag with ssh.
Not the answer you're looking for? Why do some banks have more than one routing number in the US? If you have problems the first thing to do is to see the value of the variable DISPLAY on the client. I also changed the /etc/X11/xinit/xserverrc file to: exec /usr/bin/X11/X i.e.
Can I use GTK themes?2How to set remote computer to allow running Matlab through ssh and x11 forwarding0OS X 10.7 with XQuartz can't X11Forward to remote Ubuntu 10.048X11 forwarding stops working Output of strace xterm is following: # strace xterm execve("/usr/bin/xterm", ["xterm"], [/* 16 vars */]) = 0 brk(0) = 0x9e50000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, This attempt fails because in recent releases of SUSE Linux the X server does not listen to TCP/IP sockets by default, for security reasons. Upon logging into KDE and did 'ps -ef | grep Xorg' , I found "-nolisten tcp" arg.
ssh -X works fine. DistroLubuntu Re: getting "can't open display" when using ssh I tried xhost + Didn't work. Then connect to the remote machine with the -X option.