Home > Open Display > Vnc Cannot Open Display

Vnc Cannot Open Display

Contents

Edit #3: Running the command 'init 5' seems to break my server. Page 1 of 2 1 2 > Search this Thread 05-12-2010, 04:03 PM #1 toxine LQ Newbie Registered: May 2010 Posts: 9 Rep: Gtk-WARNING **: cannot open display: Follow us on Google+ Follow us on Twitter Become a fan on Facebook Support Us Support this blog by purchasing one of my ebooks. I approve wholeheartedly. check my blog

newbiesforever View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by newbiesforever 04-07-2012, 04:06 AM #13 anticapitalista Member Registered: May 2005 Location: Greece Since the cookies are generated each time you log in, it's not a problem if you keep stale values in ~/.Xauthority. The full text of the error or warning message cannot be safely formatted in this environment. Wrong way on a bike lane?

Gtk Warning Cannot Open Display Ssh

CentOS Forum FAQ Top TrevorH Forum Moderator Posts: 17097 Joined: 2009/09/24 10:40:56 Location: Brighton, UK Re: Cannot open display - gedit - from SSH login Quote Postby TrevorH » 2015/09/24 23:15:54 Browse other questions tagged ssh x11 sshd or ask your own question. Because other graphical (X11) client could sniff data from the remote machine (make screenshots, do keylogging and other nasty stuff) and it is even possible to alter those data.

when you're logged in remotely (but the number can change depending on how many X connections are active). Last edited by newbiesforever; 04-03-2012 at 10:42 PM. In ~/.profile: case $DISPLAY in :*) export | grep -E '(^| )(DISPLAY|XAUTHORITY)=' >~/.local-display-setup.sh;; esac In the ssh session: . ~/.local-display-setup.sh screen You could detect the values of DISPLAY and XAUTHORITY from Xhost: Unable To Open Display ":0" share|improve this answer edited Feb 20 at 21:34 answered Mar 25 '11 at 22:39 Gilles 377k726901135 2 One way to automate this would be to create a ~/.xprofile which should

Can a president win the electoral college and lose the popular vote Someone peeled an American flag sticker off of my truck. Gtk Warning Cannot Open Display Ubuntu I can't reproduce your problem on 14.04, but this has worked for me in the past when sudo / gksu threw this error. I've been tinkering with a lot of things, but not recently. Why does Cutie act like this and lesser robots listen to it?

How good should one be to participate in PS? Gtk Warning * * Cannot Open Display Git Note: in this case the server is not running a display-manager, it's a 'headless' virtual machine with no graphics card or monitor attached. Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Can an object *immediately* start moving at a high velocity?

Gtk Warning Cannot Open Display Ubuntu

sudo apt-get install xauth solved the issue. LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian [SOLVED] Gtk-WARNING **: cannot open display: :0.0 User Name Remember Me? Gtk Warning Cannot Open Display Ssh I tried "export DISPLAY=:0.0" too, doesn't work either Quote: [email protected]:~$ xhost +localhost localhost being added to access control list X Error of failed request: BadValue (integer parameter out of range for Gtk Warning Cannot Open Display Gedit Unix does not require an export when the variable is written on the same line.

Ask Ubuntu works best with JavaScript enabled current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. click site or just ForwardX11 in /etc/ssh/ssh_config, then run $ ssh [email protected] -Y, to enable trusted X11 forwarding, don't know the exact cause but I'm guessing with -X some features expire after some After some googling, I tried this command: Quote: su - [or sudo] xauth merge [your user account name]/.Xauthority Then I rebooted, logged back into my account, and found that I can Tunneling X11 reduces almost all of X11's vulnerabilities. Gtk Warning Cannot Open Display Raspberry Pi

So some background on how we got here. I then recieved a few errors: Fatal server error: (EE) no screens found(EE) Server terminated with error (1). It allows only connections from your user to the xserver until told otherwise, I think. news It doesn't seem like it should be necessary to tell the OS that localhost and 127.0.0.1 are equivalent, but it works, at least.

toxine View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by toxine 05-12-2010, 06:57 PM #7 fruttenboel Member Registered: Jul 2008 Location: Tilburg Gtk Warning Cannot Open Display Linux 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 Calculating ...5(5+4(4+3(3+2(2+1(1))))) Symmetric group action on Young Tableaux Can you dispel a magic effect you can't perceive?

Same symptom of empty $DISPLAY variable (no help setting/exporting it manually).

Lab colleague uses cracked software. 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 Can an object *immediately* start moving at a high velocity? Gtk Warning * * Cannot Open Display Centos Password Debian This forum is for the discussion of Debian Linux.

The Ubuntu guys must be messing around with defaults again. –Zoredache Jul 13 '11 at 19:50 1 @DerfK, in my system "X11Forwarding yes" was there already still I am getting you can also try this: - X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes more on: X-Forwarding –nbari Jan 15 '14 at 10:27 add a comment| up vote 3 down vote First a Perhaps you were tinkering and tightened security somewhere? –Mark Paskal May 4 '15 at 0:16 Well its happening with all apps, even gedit. More about the author They'd still need to connect to your machine somehow, unless you've enabled X TCP connections (Debian has them off by default).

The time now is 09:44 PM. 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. I'm trying to get a GUI display running on it, I've entered the command after starting the server vncviewer -via [email protected] localhost:1 but it resulted with the same error: vncviewer: unable Any idea how to solve this?[[email protected] ~]$ fbpanel (fbpanel:688): Gtk-WARNING **: cannot open display: [[email protected] ~]$ [[email protected] ~]$ plank [INFO 19:09:21.484514] [AbstractMain:170] Plank version: 0.7.1 [INFO 19:09:21.484627] [AbstractMain:171] Kernel version: 3.17.6-1-ARCH

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 Should I report it? The project, although technically successful, has some real world challenges like the odd fact that finding programs that only use the safe subset is really hard because a lot of the Would a symbolic link be enough? –Arrowmaster Mar 25 '11 at 23:16 @Arrowmaster: That's a good suggestion.

Allow clients to connect from any host using xhost+ Execute the following command to disable the access control, by which you can allow clients to connect from any host. $ xhost hey thanks, im a newbie couldn't understand your post fully but this is what i did lol: went root and created a new vncserver channel (:2), logged off user (:1), and 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 Actually, the resolution of "localhost" wasn't!

Many thanks! The easiest way to check if this is the problem is to use the -y flag with ssh. xorg sudo gtk gksu pkexec share|improve this question edited Apr 27 '15 at 4:55 Mark Paskal 2,19211426 asked Apr 26 '15 at 16:39 d_inevitable 84411131 You do not work 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

Would the members of an online imageboard (or any community) be able to build a post-apocalytic society upon their reputation?