Error Unable To Initialize Gtk Is Display Set Properly Chroot
Contents |
#1 2012-01-16 16:52:26 sanjuchopra Member From: Gurgaon,INDIA Registered: 2010-08-01 Posts: 32 [Solved}Error: Unable to initialize gtk, is DISPLAY set properly? i am using aa software that require root access error unable to initialize gtk is display set properly pcsx2 , but when i run it with root access is showsError: Unable error unable to initialize gtk is display set properly logout process completed to initialize gtk, is DISPLAY set properly?I am using kde desktop , but when loginas root in unable to initialize gtk is display set properly mac kde and run that application it works fine.i have googled a lot on this but did not find any solution. Last edited by sanjuchopra (2012-01-19 10:59:39) Offline #2 2012-01-16 18:33:09 unable to initialize gtk is display set properly pgadmin3 olorian Member Registered: 2011-12-16 Posts: 86 Re: [Solved}Error: Unable to initialize gtk, is DISPLAY set properly? You should NEVER login graphically as root. What software do you want to use? Is it REALLY necessary to give it root access=If you want to run it as root, you should do the following in a terminal:$ xhost + enable
Unable To Initialize Gtk Could Not Open Display Virt-manager
X access from terminals$ su login as root# /path/to/programnameOr better yet if you use sudo.Better yet if you start the program withgksu
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support
Error: Unable To Initialize Gtk, Is Display Set Properly Putty
Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media error unable to initialize gtk is display set properly linux Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity (pxevtqueue:pausecorethread) executing... [cancelable] Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Using a chroot Having an Issue With Posting ? Do you https://bbs.archlinux.org/viewtopic.php?id=133667 want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 10 of 10 Thread: Using a chroot Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode November 6th, 2010 #1 emoguitarist06 View Profile View Forum Posts Private Message Visit Homepage Cookies https://ubuntuforums.org/showthread.php?t=1614767 and cream Join Date Apr 2008 Location Arizona Beans 397 DistroUbuntu Using a chroot I'm running Ubuntu 10.10 64bit and I have succesfully installed 10.10 32bit as a chroot using https://help.ubuntu.com/community/BasicChroot I'm able to go into the chroot shell and it works perfectly Now I need to know how to use it lol I want to run PCSX2. I have it downloaded in my personal Downloads folder but how to I access it from a chroot? also will I have to install all the libs required for PCSX2 within the chroot itself? I'm lost any direction whatsoever would help!! Adv Reply November 6th, 2010 #2 HermanAB View Profile View Forum Posts Private Message Visit Homepage make bzImage, not war Join Date Oct 2005 Location Al Ain Beans 8,490 Re: Using a chroot Howdy, Chroot is very last century and a pain in the derrier to use. You should rather use VMware or Virtualbox. Cheers, Herman http://www.aeronetworks.ca Adv Reply November 6th, 2010 #3 emoguitarist06 View Profile View Forum Posts Private Message Visit Homepage Cookies and cream Join Date Apr 2008 Location Arizona Beans 397 DistroUbunt
times are UTC - 4 Forum index »House Training »Beginners Help ( Start Here) chroot error trying to run gnucash from xubuntu http://www.murga-linux.com/puppy/viewtopic.php?t=20504&sid=328b90b087bdfdc5f47baf5a5752f27c partition Moderators:Flash, Ian, JohnMurga View previous topic :: View next http://unix.stackexchange.com/questions/118811/why-cant-i-run-gui-apps-from-root-no-protocol-specified topic Page 1 of 1[1 Post] Author Message warrior Joined: 02 Jul 2007Posts: 9 Posted: Fri 03 Aug 2007, 18:04 Post subject: chroot error trying to run gnucash from xubuntu partition When I use chroot to run either gnucash or xchm from a unable to xubuntu partition, (chroot /mnt/home xchm) I get the following errors (process:4021): Gdk-WARNING **: locale not supported by C library (xchm:4021): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Error: Unable to initialize gtk, is DISPLAY set properly? Is there any way to fix this? Thanks, Ajith Back to top Display posts unable to initialize from previous:All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearSort by:Post TimePost SubjectAuthorAscendingDescending Page 1 of 1[1 Post] View previous topic :: View next topic Forum index »House Training »Beginners Help ( Start Here) Jump to:Select a forum ------------------- Forum index |___House Training ||___Beginners Help ( Start Here) ||___Users ( For the regulars ) |||___Usuarios de habla Hispana |||___Für deutschsprachige Anhänger |||___Pour les francophones || ||___HOWTO ( Solutions ) ||___Bugs ( Submit bugs ) | |___Advanced Topics ||___Additional Software (PETs, n' stuff) |||___Package Collections / Repositories |||___REQUESTS |||___Browsers and Internet |||___Business |||___Compiling |||___Desktop |||___Documents |||___Drivers |||___Educational |||___Engineering/Science/Simulation |||___Eye Candy |||___Filesystem |||___Games |||___Graphics |||___Multimedia |||___Network |||___Security/Privacy |||___System |||___Utilities |||___Virtualization |||___Unsorted || ||___Cutting edge |||___Multi-session live-CD/DVD || ||___Hardware |||___Audio |||___Networking ||||___Dialup ||||___Ethernet ||||___Wireless ||| |||___Printers |||___Video || ||___Puppy Derivatives ||___Puppy Projects ||___Next Puppy Development |||___4.x ||||___Bugs (4.x dev) ||||___Usability Issues (4.x dev) ||| |||___5.x |||___Bugs (5.x dev) |||___Usability Issues (5.x dev) || ||___Localization Project ||___Documentation Project | |___Taking the Puppy out for a walk ||___Announcements ||___Puppy Power ||___Suggestions ||___Misc
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 & 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: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Why can't I run GUI apps from 'root': “No protocol specified”? up vote 12 down vote favorite 9 I installed debian onto my machine last night. Now, I don't understand why I can't run GUI apps from a terminal when running as root. For example: sudo -i glxgears Generates the following output: No protocol specified Error: couldn't open display :0 But when I first open the terminal I can run glxgears from the user account. Its only after I do sudo -i that the problem crops up. This happens for any GUI app that I try to run. I think its probably related to X11, but I'm not sure. debian x11 kde gui share|improve this question asked Mar 9 '14 at 7:31 Octopus 5533820 stackoverflow.com/a/20612084 this worked perfectly for me. –user88494 Oct 20 '14 at 9:42 add a comment| 5 Answers 5 active oldest votes up vote 15 down vote accepted Accessing the X server requires two things: The $DISPLAY variable pointing to the correct display (usually :0) Proper authentication information The authentication information can be explicitly specified via $XAUTHORITY, and defaults to ~/.Xauthority otherwise. If $DISPLAY and $XAUTHORITY is set for your user, sudo will set them for the new shell, too, and everything should work fine