Here it is: ln -s /home/otheruser/.Xauthority ~ –Can GeliĆ Feb 3 '15 at 8:58 XAUTHORITY for me was set as a file that no longer existed: –pbhj Jan 11 Cannot open display: Run 'gedit --help' to see a full list of available command line options. UNIX is a registered trademark of The Open Group. How can I claim compensation? navigate here
All rights reserved. If it does, then at least run xhost +localhost, not xhost +! –Gilles Jan 31 '14 at 22:48 Understand, that's a good point. Can you dispel a magic effect you can't perceive? So why would I have to do this now?Sudo was updated recently, and no longer preserves some environment variables like HOME.
If XAUTHORITY is not set in your session and su sets the HOME environment variable to root's home directory, then you need to set XAUTHORITY to /home/msz/.Xauthority where /home/msz is your Mine contains these lines: Code: - +localhost This should help with your security concerns. -skubiszm Reply With Quote 11-16-2004,08:45 PM #10 bwkaz View Profile View Forum Posts Visit Homepage Registered User can not use other than nvidia gfx cards on nforce2 chipset" status:RESOLVED resolution:NEEDINFO severity:major Bug:25528 - "Error with Pwlib 1.5.0" status:RESOLVED resolution:NEEDINFO severity:critical Bug:25705 - "xorg-x11: Color resources ignored by applications"
I'm not sure which is less secure - preserving HOME or running xhost + all the time... random meshnet doesn't cut it? 19:06 PM lovek323 joined the channel 19:06 PM wmertens joined the channel 19:06 PM viric: as in mostly-connected, as opposed to sparsely-connected 19:07 PM viric it straight lines + point of intersection in TikZ why does this error keep popping out? Cannot Connect To X Server Centos X display passwords are called magic cookies.
Offline #8 2010-08-28 11:24:16 PirateJonno Forum Fellow From: New Zealand Registered: 2009-04-13 Posts: 372 Re: [SOLVED] sudo gui apps cannot connect to xserver from terminal app daedalusman wrote:I have never done Cannot Connect To X Server Ssh Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Please bear with my bash code style. http://askubuntu.com/questions/175611/cannot-connect-to-x-server-when-running-app-with-sudo Do we know Ford's old name?
Linux PPC Other UNIX-Based Hardware Trading JustLinux Help File Library Audio Hardware Configuration Hardware Installation Networks Programming Software X Window Events JL Talkback JL Ideas Feedback Forum Suggestions Post Your Forum Cannot Connect To X Server Localhost What do you call the practice of using (overly) complex words specific to a subject? This is a new installation of openSUSE 11.1 Many thanks Paul Reply With Quote 16-Jan-2009,06:01 #2 Axeia View Profile View Forum Posts View Blog Entries View Articles Wise Penguin Join Date Thanks to all, specially @Thor for kind help. –Apurba Aug 17 '12 at 8:03 | show 4 more comments 2 Answers 2 active oldest votes up vote 18 down vote accepted
In other words, xhost +localhost is not completely harmless, but the likelihood of someone using it to do nefarious things is probably low.) Reply With Quote 10-28-2010,10:28 PM #11 Fitnessbuff1975 View http://forums.justlinux.com/showthread.php?134911-SOLVED-Cannot-connect-to-X-Server I am seen in darkness and in light, What am I? Cannot Connect To X Server Linux How can I save a file to a new location from inside Vim? Cannot Connect To X Server Qt The time now is 01:17 AM.
Posting in the Forums implies acceptance of the Terms and Conditions. check over here I used all the default settings. I like the xconfig mk Reply With Quote 11-16-2004,12:10 AM #7 monkeykidney View Profile View Forum Posts Registered User Join Date Sep 2003 Posts 20 I used Code: xhost +x That Does Intel sell CPUs in ribbons? P4v.bin Cannot Connect To X Server
How is Anti Aliasing Implemented in Ray Tracing? How to capture disk usage percentage of a partition as an integer? They have faster nodes than my poor ADSL 19:18 PM phreedom viric: I understand 19:18 PM viric ask them for peering and come in. 19:18 PM :) 19:18 PM phreedom viric: http://rinfix.com/cannot-connect/unetbootin-elf-cannot-connect-to-x-server-0.html Thanks for any help.
btw as others have pointed out xhost + permits any user from any host share|improve this answer edited Jan 31 '14 at 12:56 answered Jan 31 '14 at 12:48 X Tian Ubuntu Cannot Connect To X Server See the sudo wiki page for instructions how to do this. My cat sat on my laptop, now the right side of my keyboard types the wrong characters How to stop NPCs from picking up dropped items I am seen in darkness
so there's no need to keep HOME.Just my 2c ... Also, its not always 0.0, but most of the time it is ) Non-Authorised User trying to run the X Application Solution ( as X owning user, ie: yourself ) xhost I am running just using command super-boot-manager from terminal. –Apurba Aug 16 '12 at 19:36 1 Finally the problem is solved. Cannot Connect To X Server Mac If you want to know more, please be a bit more specific :) 19:39 PM ajhager_ joined the channel 19:39 PM marvin-hh: It's neither anyone ignoring you, nor asking too simple
Results 1 to 6 of 6 Thread: Getting "cannot connect to xserver" with sudo Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch Then I have tried it from terminal, then I got those error massage. –Apurba Aug 15 '12 at 13:21 As in a terminal within the graphical user environment? This site is not affiliated with Linus Torvalds or The Open Group in any way. weblink this command makes it possible to run 32bit soft on 64bit while using your laptop's discrete graphics card.
Not the answer you're looking for? Missing } inserted. \int dx = x + C & Boss sends a birthday message. mk Reply With Quote 11-16-2004,02:42 AM #8 Choozo View Profile View Forum Posts Visit Homepage Registered User Join Date Nov 2000 Location Kongsberg, Norway Posts 3,573 Originally posted by monkeykidney I Newbies Corner Hardware Software Installation Window/Desktop Managers Kernels and Modules Networking Web/Security Mobile Computing Games Programming/Scripts Technical How I Did It!