When a user switches to a different user using the su command, X session cookies are not transferred and thus the user cannot start X applications under the user id to and everything should work. 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. Like su, sux switches to a different user id. have a peek at this web-site
Sounds pretty much the same... –Jeroen Jul 25 at 23:35 thanks. Search this Thread 05-18-2010, 07:19 PM #1 Moiseshb LQ Newbie Registered: May 2010 Distribution: Arch Linux x86_64 Posts: 12 Rep: Can't launch applications as root When I try to sherekhan View Public Profile Find all posts by sherekhan #12 (View Single Post) 26th May 2009 gosha Spam Deminer Join Date: Jun 2008 Location: China Posts: 256 i.e. 'kdesu thunar' allend View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by allend Thread Tools Show Printable Version Email this Page
Answer: You can fix the "cannot open display" error by following the xhost procedure mentioned in this article. 1. How do I fix this? Link Pavi October 17, 2011, 6:03 am Really good information. Did you run $ ssh -Y whatever.com or $ ssh -X whatever.com If you had neither -X nor -Y, X11 forwarding won't work Have you edited the ssh client configuration file
Its only after I do sudo -i that the problem crops up. the server and client share a secret "cookie"(xauth list to see yours)…. DistroXubuntu Re: No protocol specified cannot open display: Closed, necromancy. No Protocol Specified Eclipse Cannot Open Display not sure.
I think you guys have made Arch a great distro and this forum and the wiki are really very helpful. No Protocol Specified Cannot Open Display Ubuntu Browse other questions tagged ssh xorg sshd x11-forwarding or ask your own question. Please visit this page to clear all LQ-related cookies. more info here As a good security practice, when a network service (like X connections via TCP port 6000) is enabled, access to it should be restricted to authorized systems only, e.g.
The application could not make a network connection to the server. No Protocol Specified Xming You may also choose to add it to su, too. At the bottom of mine, I have ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes I expect these changes will have no effect until you log out, but I may be wrong about As a monk, can I use Deflect Missiles to protect my ally?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael FaradayYou assume people are rational and influenced by evidence. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Xhost Unable To Open Display Linux jonaskellens Linux - Software 2 10-31-2008 03:36 PM Program to launch SSH applications ar1 Linux - Software 1 09-27-2006 06:11 PM Can Python code launch applications? Xhost Unable To Open Display Redhat After that, all that is needed is a restart of the gdm process: sudo service gdm restart You can verify the success as: [email protected]:/etc/X11 $ netstat -an | grep -F 6000
zero79 Debian 7 07-11-2005 07:07 PM Applications requiring 'root' to launch.... Check This Out troberts FreeBSD General 2 7th December 2008 02:16 PM Odd font display TerryP Feedback and Suggestions 4 2nd November 2008 11:22 AM Terminal display behavior 18Googol2 FreeBSD General 8 26th September Find a mistake in the following bogus proof Why dd takes too long? kdesu is the same for KDE. No Protocol Specified Linux
Code: sudo nautilus No protocol specified cannot open display: Run 'nautilus --help' to see a full list of available command line options. You must not work with the public much. -- Trilby----How to Ask Questions the Smart Way Offline #10 2012-03-23 06:30:39 rnarch Member Registered: 2012-03-17 Posts: 292 Re: Error while opening gui It can use a number of transport protocols, including Unix sockets and TCP/IP sockets. Source Two-way high power outdoor Wi-Fi What is the significance of the robot in the sand?
troberts FreeBSD Ports and Packages 2 18th September 2008 11:05 AM All times are GMT. Xhost Unable To Open Display Oracle Linux 6 SSH (secure shell) is a de facto standard remote access mechanism that uses cryptographic techniques to secure connections against wiretapping and session hijacking. Find all posts by TerryP #8 (View Single Post) 21st May 2009 BSDfan666 Real Name: N/A, this is the interweb.
If you only change the xserverrc file, X will nevertheless start with "-nolisten TCP". 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 You better exclude firewall from the possible causes first. Xhost Unable To Open Display Centos Results 1 to 7 of 7 Thread: [SOLVED] No protocol specified cannot open display: Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch
Solution for local connections When, as is mostly the case, the X server and the X client application are running on the same system, do not use a hostname in the Check that you are using the right host name and the right display number. In some earlier version (I don't remember how long ago) in described above situation I could open text file in musepad with admin privileges.Is it bug or some security feature? have a peek here I am trying to install gksu but pacman is not working even though browser is.