Starting Krusader with kdesu should give you administration rights though, no need to log in as the actual root user. Reason: mistyped 1 members found this post helpful. The solution: Add to your ~/.bashrc # Fabby: 2014-11-14: http://askubuntu.com/questions/571116/ # to allow forwarding of xauth keys between users when calling su # needs to be the last line export $(dbus-launch) How do I deal with my current employer not respecting my decision to leave? his comment is here
Do we know Ford's old name? Would the members of an online imageboard (or any community) be able to build a post-apocalytic society upon their reputation? Forum New Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders What's New? Frankly I despise the Xorg/KDM/KDE policy to hide, move, rename or obsolete configuration files. http://askubuntu.com/questions/175611/cannot-connect-to-x-server-when-running-app-with-sudo
MathSciNet review alert? Clarke Adv Reply September 22nd, 2008 #7 tarahmarie View Profile View Forum Posts Private Message Dipped in Ubuntu Join Date Sep 2008 Beans 540 DistroKubuntu 12.04 Precise Pangolin Re: Error Step # 1 Get Latest Linux kernel code Step # 2 Extract tar (.tar.bz3) file Step # 3 Configure kernel Step # 4 Compile kernel Step # 5 Install kernel Step xhost considers root as a hostname.
Put these lines in root's .bashrc: if [ "$USER" != "root" ] ; then export XAUTHORITY=`eval echo ~$USER/.Xauthority` fiThat should fix it. joutlancpa Slackware 4 09-08-2011 11:05 AM Cannot connect to Xserver Srikanth VM Slackware 3 10-03-2009 09:33 AM can't connect to Xserver in Ubuntu hari78 Linux - Software 2 07-28-2009 11:55 PM Is mutating static local variables twice in the same expression undefined behavior? Cannot Connect To X Server Mac Googling yields hundreds of solutions telling (a) to switch this off in /etc/X11/xinit/xserverrc, but this file and directory doesn't exist or (b) grep in /etc/ and subfolders for the string nolisten,
Find the "unwrapped size" of a list Why does top 50% need a -50% translate offset? Cannot Connect To X Server Qt Linux User #181509 * It can hardly be a coincidence that no language on this planet has ever come up with the phrase "as pretty as an airport" * -- Douglas Find the "unwrapped size" of a list US Election results 2016: What went wrong with prediction models? http://unix.stackexchange.com/questions/111831/cannot-connect-to-x-server-0-0-as-superuser Is there a way to block a President Elect from entering office?
How is the correct air speed for fuel combustion obtained at the inlet of the combustor? P4v.bin Cannot Connect To X Server Why were pre-election polls and forecast models so wrong about Donald Trump? If su removes XAUTHORITY from the environment, either put it back, or configure su not to do this. Edit [[email protected] lin64]# export $(dbus-launch) No protocol specified any suggestion?
Find the rate of change at a point on a polynomial Is mutating static local variables twice in the same expression undefined behavior? I think you gave this example as how not to set the permissions, right? Cannot Connect To X Server Ssh Don't actually use them myself though, so I'm afraid I can't speak as to features. Ubuntu Cannot Connect To X Server Limit computation technology in a futuristic society In the context of this quote, how many 'chips/sockets' do personal computers contain?
However, there are certain parts of this application which still need admin privileges. this content From a virtual console (pts/0) it is no problem to pop up message boxes. Thanks for any help. 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 No Protocol Specified Cannot Connect To X Server
Thanks for your advice. –X Tian Feb 1 '14 at 2:04 add a comment| up vote 0 down vote XAUTHORITY for me was set as a file that no longer existed: Xterm is able to connect to the Xserver, but Console cannot because it is an external connection. I solved the problem using xvfb-run. weblink That might be an idea.
Test (i.e. $xclock, you can see a clock in your windows screen) or directly test your own GUI applications. Cannot Connect To X Server Localhost asked 4 years ago viewed 64055 times active 2 years ago Linked 4 Can't open Gedit as root 3 Nvidia Driver install 2 Ubuntu 15.04: GUI disappeared after trying to install Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 11 Thread: [SOLVED] Error with X server and bashrc Thread Tools Show Printable Version Subscribe to this
Password Linux - Software This forum is for Software issues. Why does top 50% need a -50% translate offset? Professor Lewin: "Which string will break?" / Me: "That one." / Professor Lewin: "Wrong!" straight lines + point of intersection in TikZ Polyglot Anagrams Cops' Thread Sharepoint 2013: Rest API - Cannot Connect To X Server Centos I made no configuration changes but I have updated my system in that time period.
You may have to register before you can post: click the register link above to proceed. OK! jlinkels jlinkels View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by jlinkels 03-26-2012, 04:10 PM #7 eantoranz Senior Member Registered: Apr check over here The time now is 01:11 AM.