Code: X.Org X Server 1.5.2 Release Date: 10 October 2008 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.24-19-server i686 Ubuntu Current Operating System: Linux morganmay-laptop 2.6.27-11-generic #1 SMP I had a problem to run any GUI application through gksu or kdesudo as well ( Gtk-WARNING **: cannot open display: ) /as from desktop as from terminal/ I solved it Use the FAQ Luke Top Narain Posts: 4 Joined: 2015/09/24 16:51:59 Re: Cannot open display - gedit - from SSH login Quote Postby Narain » 2015/09/25 08:34:02 Hi Trevor and toracat,Thanks For example, launching Oracle Installer on remote server also gives the "cannot open display" error. http://softwaredevelopercertification.com/open-display/ubuntu-gnome-session-cannot-open-display.php
Find More Posts by acid_kewpie 05-12-2010, 04:38 PM #5 acid_kewpie Moderator Registered: Jun 2001 Location: UK Distribution: Gentoo, RHEL, Fedora, Centos Posts: 43,417 Rep: BTW, vnc is awful in Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. As fruttenboel stated, the problem is that when you're logged in with your user account, the X display is owned by you, so root is not allowed to perform an X davetesc View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by davetesc View Blog Page 1 of 2 1 2 > Thread Tools Show https://bbs.archlinux.org/viewtopic.php?id=73295
Gtk Warning Cannot Open Display Ubuntu
Reply With Quote 25-Aug-2008,07:17 #4 malcolmlewis View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Administrator Join Date Jun 2008 Location Podunk Posts 20,984 Re: Gnome/X startup errors I worried that this would make my user account unable to run any X commands without sudoing (since root now owns X), but apparently not. Follow us on Google+ Follow us on Twitter Become a fan on Facebook Support Us Support this blog by purchasing one of my ebooks. Afterwards no progress.
Can I use GTK themes?2How to set remote computer to allow running Matlab through ssh and x11 forwarding0OS X 10.7 with XQuartz can't X11Forward to remote Ubuntu 10.048X11 forwarding stops working
echo $DISPLAY returns "localhost:10.0".
Using the first Screen section. (**) |-->Screen "Default Screen" (0) (**) | |-->Monitor "Configured Monitor" (**) | |-->Device "Configured Video Device" (==) Automatically adding devices (==) Automatically enabling devices (==) No
gnome-session error: "WARNING" cannot open display" No luck with that, either, I'm afraid.
share|improve this answer edited Feb 28 '12 at 9:11 answered Feb 21 '12 at 8:47 harrymc 191k7168410 4 +1 for the Note that IP = is the local workstation's IP
Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started
There are other reasons for this, but this, especially when asked on a forum is 99% this. 1 members found this post helpful.
You need to make sure the config is defined (eg your resolution), you also need to ensure you seletct the correct monitor and refresh rates size etc. When I run gedit .bashrc (for example), I get: (gedit:9510): Gtk-WARNING **: cannot open display: set | grep DISPLAY returns nothing. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. http://superuser.com/questions/310197/how-do-i-fix-a-cannot-open-display-error-when-opening-an-x-program-after-sshi For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration.
Just to be sure, I restarted the VM (and reconnected through SSH afterward). –Daryl Spitzer Jul 13 '11 at 18:38 3 Maybe try passing the -vv option to ssh when Gtk Warning Cannot Open Display Linux How do I make an alien technology feel alien? Yes I have put the dbus and hal as mentioned. I've been tinkering with a lot of things, but not recently.
Gtk Warning Cannot Open Display Ssh
If I change anything, and then exit, it does the same. http://www.linuxquestions.org/questions/arch-29/can't-run-gnome-855954/ Top Narain Posts: 4 Joined: 2015/09/24 16:51:59 Re: Cannot open display - gedit - from SSH login Quote Postby Narain » 2015/10/01 11:44:08 Hi all,I still have no success on resolving Gtk Warning Cannot Open Display Ubuntu I'll try later to get it working and report back http://sites.google.com/site/recoveryusb/ Offline #13 2009-11-01 18:01:01 herzen Member From: Pennsylvania, US Registered: 2009-10-28 Posts: 38 Re: Gnome-session cannot open display benmorgan wrote:running Xhost: Unable To Open Display ":0" gnome-session error: "WARNING" cannot open display" Try: Code: sudo /etc/init.d/gdm start then type your password( you won't see anything but you are still typing) If that doesn't work type Code: startx
When I try to start gnome-session manually, it returns an error something like "(gnome-session: [a number]) WARNING: cannot open display". Git Gtk Warning * * Cannot Open Display How to reduce the width of the equation in a text paragraph? anticapitalista View Public Profile View LQ Blog View Review Entries View HCL Entries Visit anticapitalista's homepage!
Okay, done; but why do I have to this?
Not the answer you're looking for? When trying to run the "gnome" command after logging in, I get the following message: xdpyinfo: unable to open display "". /usr/bin/gnome: line 22: ( * 10) / : syntax error: Enable X11 forwarding While doing ssh use the option -X to enable X11 forwarding. $ ssh [email protected] -X Enable trusted X11 forwarding, by using the -Y option, $ ssh [email protected] -Y Gtk Warning * * Cannot Open Display Centos By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
Reply With Quote 21-Aug-2008,09:21 #2 malcolmlewis View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Administrator Join Date Jun 2008 Location Podunk Posts 20,984 Re: Gnome/X startup errors When logging in remotely through SSH (ssh -y [email protected]), and typing in gedit, throws the following error:It's supposed to be ssh -Y (or ssh -X). Page 1 of 2 1 2 > Search this Thread 01-12-2011, 07:13 PM #1 sunils1973 Member Registered: Jan 2007 Location: INDIA Distribution: Ubuntu, Debian Posts: 324 Rep: can't Check This Out Link Pavi October 17, 2011, 6:03 am Really good information.
Having a problem logging in? Thank you for the fix, this has been annoying me for a while now! I'd really appreciate any assistance. The time now is 01:13 AM.
google xauth howto comes up with a lot of references Link thib June 25, 2010, 11:53 am Unless the network environment is entirely controlled, xhost is a very bad idea . Are you new to LinuxQuestions.org? Read more about Ramesh Natarajan and the blog. DistroUbuntu Development Release Re: Gnome won't start.
Yes, 'root' is the supreme God of your system and is omni potent. Link Doug Somers March 18, 2015, 4:46 pm Also encountered this error and finally came up with a fix that works for Solaris 10. I am assuming there is a configuration I need to make, but I'm really not sure. If not, running these should have the same results: Code: # /etc/rc.d/dbus start # /etc/rc.d/hal start And then, could you try this: Code: gnome-session &> ~/gnome-session_output.txt And attaching the file ~/gnome-session_output.txt
MTK358 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by MTK358 View Blog 01-17-2011, 11:47 AM #15 sunils1973 Member Registered: Jan 2007 Is it possible to check where an alias was defined? Now, I need to get an actual GUI going, and decided to go with Gnome. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.