Home > Cannot Open > Xauthority



Then switch to your root user using 'su' or 'su -'. How is it packed? Browse other questions tagged xorg display or ask your own question. lowercase breadcrumbs First Skills to Learn for Mountaineering Print a letter Fibonacci Determine maximum frequency of input signal to make system LTI What did John Templeton mean when he said that

Some other suggestions lead me to run these commands, but none of these seemed to have any effect. # xhost +localhost # sudo rm ~/.Xauthority /root/.Xauthority I'm usually really reluctant to What if other loged iin people would be able to open windows on your desktop without your allowance? Offline #10 2011-04-06 20:39:15 bernarcher Forum Fellow From: Germany Registered: 2009-02-17 Posts: 2,273 Re: Can't run X applications in root - "cannot open display" You may probably want to try the cjcoats View Public Profile View LQ Blog View Review Entries View HCL Entries Visit cjcoats's homepage! https://bbs.archlinux.org/viewtopic.php?id=116299


Find the function given its Fourier series What is safer to use (in general terms), online banking software using the mobile app or using a browser on a desktop OS? It's for doing things the other way around. –n.m. Can I get a dual entry Schengen visa for tourism purpose for me and my wife? Permissions are most likely problem.

After setting it to true, it works just fine. The nth numerator Print a letter Fibonacci What did John Templeton mean when he said that the four most dangerous words in investing are: ‘this time it’s different'? May 30 '12 at 19:37 Oh I see, so if I SSH'd into the raspberry pi and ran the -Y command from there to my machine that would be Xming In the csh I do a setenv DISPLAY :0.0 and it shows up when i do "env".

What is really curved, spacetime, or simply the coordinate lines? Temporarily allow root access xhost $ xhost + will temporarily allow root, or anyone to connect your X server. Why are password boxes always blanked out when other sensitive data isn't? Offline #2 2011-04-05 15:06:57 SS4 Member From: !Rochford, Essex Registered: 2010-12-05 Posts: 699 Re: Can't run X applications in root - "cannot open display" Use gksu or kdesu as userpacman -S

If I receive written permission to use content from a paper without citing, is it plagiarism? Anyone know what it is? Want to know which application is best for the job? The command su - retains DISPLAY but not XAUTHORITY.

.xauthority Does Not Exist

So if that fails it's probably xauth. If you need to reset your password, click here. Xauthority Try disabling xhost with: xhost + (This is unlikely to work but easier to do than the following which is required if it didn't). X11 Connection Rejected Because Of Wrong Authentication. Unix & Linux Stack Exchange works best with JavaScript enabled current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list.

If you want to do complicated things, read Can I launch a graphical program on another user's desktop as root? Henk van Velden Reply With Quote 23-Jan-2011,07:06 #4 malcolmlewis View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Administrator Join Date Jun 2008 Location Podunk Posts 20,950 Re: This site is not affiliated with Linus Torvalds or The Open Group in any way. Contact Us Email Me : Use this Contact Form to get in touch me with your comments, questions or suggestions about this site. Gtk-warning Cannot Open Display

Just use "ssh -X [email protected]", then type the name of the progam you want to use. Removed /run/systemd/system/run-user-120.mount. that kinda thing), they run fine as a normal user, but whenever i run them with sudo or in a root terminal, I get: No protocol specified(gedit:4769): Gtk-WARNING **: cannot open The time now is 20:54. © 2015 SUSE, All Rights Reserved.

Browse other questions tagged x11 root su or ask your own question. Removed /run/systemd/system/boot.mount. Thank you for the fix, this has been annoying me for a while now!

Answer: You can fix the "cannot open display" error by following the xhost procedure mentioned in this article. 1.

Mysterious creeper-like explosions Is adding the ‘tbl’ prefix to table names really a problem? Guessing game - Is it a 40? Pl. 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

Without opening the PHB, is there a way to know if it's a particular printing? If you still get the "cannot open display" error, set the DISPLAY variable as shown below. $ export DISPLAY='IP:0.0' Note: IP is the local workstation's IP where you want the GUI Starting GParted from the applications menu does nothing at all. First Skills to Learn for Mountaineering Advisor professor asks for my dissertation research source-code How can I declare sovereignty from the American government and start my own micro nation?

Created symlink /run/systemd/system/var-lib-machines.mount → /dev/null. 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 Try again?" I have done xhost+ & also set the DISPLAY env variable. $ echo $DISPLAY Help me how to enable the remote administration for AIX machine.