Home > no protocol > error no protocol specified

Error No Protocol Specified

Contents

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack no protocol specified xterm xt error can't open display Overflow the company Business Learn more about hiring developers or posting ads with us Unix xlib no protocol specified error can't open display & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for

No Protocol Specified Cannot Open Display

users of Linux, FreeBSD and other Un*x-like operating systems. 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

Xlib No Protocol Specified Xming

rise to the top Error `No protocol specified` when running from remote machine via ssh up vote 3 down vote favorite 4 I have a script, simply to run my Graphical (GUI) Application, as below. #cat gui.sh #!/bin/bash ./gui -display 127.0.0.1:0.0 When I run it from local machine (./gui.sh) it runs perfectly fine. But when I am trying to run it from remote machine via ssh, I got following error. [root@localhost]# ssh -f no protocol specified unable to open display 192.168.3.77 "cd /root/Desktop/GUI/ && "./gui.sh"" No protocol specified gdm: cannot connect to X server 192.168.3.77:0.0 [root@localhost]# I don't know, which protocol it is asking or am I missing anything? I tried directly by starting the application, without script [ssh -f 192.168.3.77 "cd /root/Desktop/GUI/ && "./gui""], but the result is same. I have tried various combinations like ssh -Y, ssh -fY and more but the result is same! Secondly for my application, there is a must condition that, we have to first go into the directory where the program is located. Any Solutions? ssh x11 share|improve this question edited Aug 7 '13 at 22:44 Gilles 371k696751126 asked Aug 7 '13 at 6:35 Tejas 1,59021432 add a comment| 5 Answers 5 active oldest votes up vote 3 down vote The meaning of the option -display 127.0.0.1:0.0 depends on that gui program, but it's highly likely that it means “display on the X display 127.0.0.1:0.0”. This is the first local X display, accessed over TCP. This is almost certainly wrong for two reasons. First, the local X display should be :0, not 127.0.0.1:0, because including an IP address causes the traffic to go through TCP instead of local access. Going through TCP may not work depending on whether the X server accepts TCP connections. Even if it does, you lose the optimizatio

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix

No Protocol Specified Oracle Install

& Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a no protocol specified failed to open the x11 display question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: no protocol specified xhost unable to open display Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to resolve 'No protocol specified' for su user up vote 2 down vote favorite I am trying to user an alternate user (non-admin) http://unix.stackexchange.com/questions/85782/error-no-protocol-specified-when-running-from-remote-machine-via-ssh to execute graphical software on my system. This alternate user has been named and given a UID and GID to match a remote system user of the same name. The UID is 500 so I believe that makes the user a 'non-login' user. Starting from Ubuntu logged into my main account, I open a terminal and su to the alternate user. I then attempt to execute the command to start the application and receive 'No protocol specified'. Is this because of the UID<1000, because of the su or http://unix.stackexchange.com/questions/209746/how-to-resolve-no-protocol-specified-for-su-user because of the non-admin of the user? How can I get this user to execute the application with a GUI? ubuntu gui not-root-user share|improve this question asked Jun 15 '15 at 9:11 J Collins 203312 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted The problem is not occurring because of the UID of the user. 500 is just fine as a UID, and that UID doesn't make it a 'non-login' user except in the eyes of the default settings of some few display managers. The error message No protocol specified sounds like an application-specific error message, and an unhelpful one at that, but I am going to guess that the error is that the application is unable to contact your X11 display because it does not have permission to do so because it's running as a different user. Applications need a "magic cookie" (secret token) in order to talk to the X11 server so that other processes on the system running under other users cannot intrude on your display, create windows, and snoop your keystrokes. The other system user does not have access to this magic cookie because the permissions are set so that it is only accessible to the user who started the desktop environment (which is as it should be). Try this, running as your original user, to copy the X11 cookie to the other account: su - -c "unset XAUTHORITY; xauth add $(xauth list)" then run your application. You may also need to unset XAUTHORITY in that shell too. That

Du siehst YouTube auf Deutsch. Du kannst diese Einstellung unten ändern. Learn more You're viewing YouTube in German. You can change this preference below. Schließen Ja, ich möchte sie behalten Rückgängig machen Schließen Dieses Video https://www.youtube.com/watch?v=ue7D6K9cFys ist nicht verfügbar. WiedergabelisteWarteschlangeWiedergabelisteWarteschlange Alle entfernenBeenden Wird geladen... Wiedergabeliste Warteschlange __count__/__total__ No Protocol Specified Error Solved | Step by Step Solution Tech Paata AbonnierenAbonniertAbo beenden1818 Wird geladen... Wird geladen... Wird verarbeitet... http://www.devarticles.in/linux/getting-a-way-around-the-no-protocol-specified-cannot-open-display0-0-message/ Hinzufügen Möchtest du dieses Video später noch einmal ansehen? Wenn du bei YouTube angemeldet bist, kannst du dieses Video zu einer Playlist hinzufügen. Anmelden Teilen Mehr Melden Möchtest du dieses no protocol Video melden? Melde dich an, um unangemessene Inhalte zu melden. Anmelden Transkript Statistik 3.600 Aufrufe 13 Dieses Video gefällt dir? Melde dich bei YouTube an, damit dein Feedback gezählt wird. Anmelden 14 0 Dieses Video gefällt dir nicht? Melde dich bei YouTube an, damit dein Feedback gezählt wird. Anmelden 1 Wird geladen... Wird geladen... Transkript Das interaktive Transkript konnte nicht no protocol specified geladen werden. Wird geladen... Wird geladen... Die Bewertungsfunktion ist nach Ausleihen des Videos verfügbar. Diese Funktion ist zurzeit nicht verfügbar. Bitte versuche es später erneut. Veröffentlicht am 19.11.2014No protocol specified error redhat / fedora Oracle dbca No protocol specified error Xlib No protocol specified error x11 no protocol specified Kategorie Bildung Lizenz Standard-YouTube-Lizenz Mehr anzeigen Weniger anzeigen Wird geladen... Autoplay Wenn Autoplay aktiviert ist, wird die Wiedergabe automatisch mit einem der aktuellen Videovorschläge fortgesetzt. Nächstes Video Kali Linux 2.0 - Install Tor Browser - Dauer: 2:37 Kali Linux Tutorials 6.501 Aufrufe 2:37 Create Oracle 11g Database using DBCA - Dauer: 10:52 Abbasi Asif 24.554 Aufrufe 10:52 Oracle Database 12c: How to create a database using DBCA? - Dauer: 3:03 aclnz 5.741 Aufrufe 3:03 how to solve ORA-12560: TNS:protocol adapter error - Dauer: 2:27 Deepak Soni 110.290 Aufrufe 2:27 SQL tutorial 36: how to create database using database configuration assistant DBCA - Dauer: 12:11 Manish Sharma 29.044 Aufrufe 12:11 How to Fix IO Error in sql oracle - Dauer: 2:34 Adam Tech 26.380 Aufrufe 2:34 Oracle Database Tutorial 70: IO ERRO

display:0.0" message Getting a way around the "No protocol specified, …cannot open display:0.0" message October 30, 2011Linux/Unixcannot open display: :0.0, Linux Tips & Tricks, No protocol specified, xauth cookieArvind Kumar After doing sudo su - (to give myself root privileges) when I tried editing a file using gedit info.txt it would show me the following error message: root@arvind-Inspiron-1440:~# gedit info.txt No protocol specified (gedit:4700): Gtk-WARNING **: cannot open display: :0.0 After doing some search I found the following reason: X authentication is based on cookies -- secret little pieces of random data that only you and the X server know... So, you need to let the other user in on what your cookie is. One way to do this is as follows:
Before you issue the su or sudo (but after having ssh'ed into the remote system if you are using ssh), request the cookie for the current DISPLAY that's connecting to your X server:
As suggested I followed the steps given below and i was able to find a way to get rid of xauth error messages. First of all, to get the current COOKIE information, I do xauth list $DISPLAY: arvind@arvind-Inspiron-1440:~$ xauth list $DISPLAY Which gives me the following value: arvind-Inspiron-1440/unix:0 MIT-MAGIC-COOKIE-1 bfa2e2b478a6ef3c362301170214c04e Now, I promote myself to root by doing sudo su - (and entering the password). It results in switching the current user. Here's the command line with result to give myself the root privileges: arvind@arvind-Inspiron-1440:~$ sudo su -
[sudo] password for arvind:
root@arvind-Inspiron-1440:~# Next, I added xauth add to the value returned by xauth list $DISPLAY (given above) and ran it in the console as: root@arvind-Inspiron-1440:~# xauth add arvind-Inspiron-1440/unix:0 MIT-MAGIC-COOKIE-1 bfa2e2b478a6ef3c362301170214c04e Now I can edit any file within my system using my gedit or jedit editor in console. I guest there must be a permanent solution to it but until I get one it works just fine for me. You may also like: How to increase the number of Courier-IMAP connections on Centos,… jEdit showing Connect to FTP Server window on start error… Creating new virtual host while using Xampp in Ubuntu (Linux) Broken jEdit FTP plugin fix a

 

Related content

dbca error no protocol specified

Dbca Error No Protocol Specified table id toc tbody tr td div id toctitle Contents div ul li a href Oracle home Bin Dbca No Protocol Specified a li li a href No Protocol Specified Cannot Open Display a li li a href No Protocol Specified Ubuntu a li ul td tr tbody table p Specified Error Solved Step by Step Solution Tech Paata SubscribeSubscribedUnsubscribe Loading Loading Working Add to Want to watch this again later Sign in to add this video relatedl to a playlist Sign in Share More Report Need to no protocol specified when running dbca report

dbca error xlib

Dbca Error Xlib table id toc tbody tr td div id toctitle Contents div ul li a href Dbca Command Not Found In Linux a li li a href No Protocol Specified Oracle Install a li li a href How To Open Dbca In Linux a li li a href No Protocol Specified Ubuntu a li ul td tr tbody table p December lijinpjohn Messages Registered December Location India Junior Member I can't start DBCA by entering the command 'dbca' from relatedl bin directory Can I get a help to solve this problem p h id Dbca Command Not Found

document builder error no protocol

Document Builder Error No Protocol table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol In Java a li li a href Java net malformedurlexception No Protocol Jaxb a li li a href Stringbufferinputstream Deprecated a li ul td tr tbody table p here for a quick java net malformedurlexception no protocol xml string overview of the site Help Center Detailed answers p h id Java net malformedurlexception No Protocol In Java p to any questions you might have Meta Discuss the workings and policies of java net malformedurlexception no

dom4j no protocol error

Dom j No Protocol Error table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol In Java a li li a href Java net malformedurlexception No Protocol Jaxb a li li a href Documentbuilder Parse Xml String a li ul td tr tbody table p here for a quick java net malformedurlexception no protocol xml string overview of the site Help Center Detailed answers p h id Java net malformedurlexception No Protocol In Java p to any questions you might have Meta Discuss the workings and policies of java net

error no protocol

Error No Protocol table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol In Java a li li a href Java net malformedurlexception No Protocol Null a li li a href Malformedurlexception Protocol Not Found a li li a href Malformedurlexception Example a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions relatedl you might have Meta Discuss the workings and policies p h id Java net malformedurlexception No Protocol In Java p of this site About

error no protocol xml

Error No Protocol Xml table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol Xml a li li a href Xml Protocol Vs Soap a li li a href Html Protocol a li ul td tr tbody table p here for a quick overview of the no protocol error parsing xml site Help Center Detailed answers to any questions p h id Java net malformedurlexception No Protocol Xml p you might have Meta Discuss the workings and policies of this site About Us java net malformedurlexception no protocol xml version

error while parsing input xml document no protocol

Error While Parsing Input Xml Document No Protocol table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol In Java a li li a href Java net malformedurlexception No Protocol Null a li li a href Jaxb Java net malformedurlexception No Protocol a li li a href Java net malformedurlexception No Protocol Xml Version Encoding Utf- Standalone Yes a li ul td tr tbody table p here for a quick overview of p h id Java net malformedurlexception No Protocol In Java p the site Help Center Detailed answers to

error while parsing xslt file no protocol

Error While Parsing Xslt File No Protocol table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol Sax Parser a li li a href Stringbufferinputstream Deprecated a li li a href Caused By Java net malformedurlexception No Protocol a li li a href Documentbuilder Parse String a li ul td tr tbody table p here for java net malformedurlexception no protocol xml string a quick overview of the site Help Center p h id Java net malformedurlexception No Protocol Sax Parser p Detailed answers to any questions you might have

java xml error no protocol

Java Xml Error No Protocol table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol Sax Parser a li li a href Java net malformedurlexception No Protocol Null a li li a href Java net malformedurlexception No Protocol File a li li a href Stringbufferinputstream Deprecated a li ul td tr tbody table p here for a quick overview p h id Java net malformedurlexception No Protocol Sax Parser p of the site Help Center Detailed answers to any java net malformedurlexception no protocol in java questions you might have

jdom no protocol error

Jdom No Protocol Error table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol Jaxb a li li a href Java net malformedurlexception No Protocol Xml Version Encoding Utf- Standalone Yes a li li a href Documentbuilder Parse Xml String a li ul td tr tbody table p here for a quick java net malformedurlexception no protocol xml string overview of the site Help Center Detailed answers to java net malformedurlexception no protocol sax parser any questions you might have Meta Discuss the workings and policies of java net malformedurlexception

mod proxy 500 internal server error

Mod Proxy Internal Server Error table id toc tbody tr td div id toctitle Contents div ul li a href No Protocol Handler Was Valid For The Url Https a li li a href Mod proxy http a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to relatedl any questions you might have Meta Discuss the if you are using a dso version of mod proxy workings and policies of this site About Us Learn more about Stack no protocol handler was valid for the url websocket Overflow the

mod_proxy internal server error

Mod proxy Internal Server Error table id toc tbody tr td div id toctitle Contents div ul li a href No Protocol Handler Was Valid For The Url Windows a li li a href Https Failed To Enable Ssl Support For a li li a href Mod proxy http a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us relatedl Learn more about Stack Overflow the company Business Learn more about hiring if

no protocol error parsing xml

No Protocol Error Parsing Xml table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol In Java a li li a href Java net malformedurlexception No Protocol File a li li a href Documentbuilder Parse Xml String a li ul td tr tbody table p here for a java net malformedurlexception no protocol sax parser quick overview of the site Help Center Detailed p h id Java net malformedurlexception No Protocol In Java p answers to any questions you might have Meta Discuss the workings and java net malformedurlexception no

no protocol error

No Protocol Error table id toc tbody tr td div id toctitle Contents div ul li a href Java No Protocol a li li a href Java Url Malformedurlexception a li li a href Java Net Malformedurlexception Protocol Not Found a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions relatedl you might have Meta Discuss the workings and no protocol error parsing xml policies of this site About Us Learn more about Stack Overflow the company p h id Java No Protocol p Business Learn more

no protocol specified error unable to open display 0.0

No Protocol Specified Error Unable To Open Display p here for a quick overview of the site Help Center relatedl Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix Linux Questions Tags Users Badges Unanswered Ask Question Unix Linux Stack Exchange is a question and answer site for users of Linux FreeBSD and other Un x-like operating systems Join them it only takes a minute Sign up Here's how it works

no protocol error while validating xml

No Protocol Error While Validating Xml table id toc tbody tr td div id toctitle Contents div ul li a href Java net malformedurlexception No Protocol Xml String a li li a href Java net malformedurlexception No Protocol In Java a li li a href Java net malformedurlexception No Protocol Jaxb a li li a href Documentbuilder Parse Xml String a li ul td tr tbody table p here for a quick p h id Java net malformedurlexception No Protocol Xml String p overview of the site Help Center Detailed answers java net malformedurlexception no protocol sax parser to any

no protocol error in java

No Protocol Error In Java table id toc tbody tr td div id toctitle Contents div ul li a href No Protocol Url Java a li li a href Malformed Url Exception Java a li li a href Java net malformedurlexception No Protocol Sax Parser a li ul td tr tbody table p here for a no protocol error parsing xml quick overview of the site Help Center Detailed p h id No Protocol Url Java p answers to any questions you might have Meta Discuss the workings and policies p h id Malformed Url Exception Java p of this

proxypass 500 internal server error

Proxypass Internal Server Error table id toc tbody tr td div id toctitle Contents div ul li a href No Protocol Handler Was Valid For The Url Https a li li a href Mod proxy http a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site relatedl About Us Learn more about Stack Overflow the company Business Learn if you are using a dso version of mod proxy more about hiring developers or posting ads

proxypass internal server error

Proxypass Internal Server Error table id toc tbody tr td div id toctitle Contents div ul li a href If You Are Using A Dso Version Of Mod proxy a li li a href No Protocol Handler Was Valid For The Url Windows a li li a href Mod proxy http a li li a href Sslproxyengine On a li ul td tr tbody table p here for a quick overview of the site Help relatedl Center Detailed answers to any questions you might p h id If You Are Using A Dso Version Of Mod proxy p have Meta