This behavior went away a soon sshd is configured to use only IPv4, because of an X11 forwarding bug in SSH if IPv6 on the system is disabled. now you can reach logon screen with any vncviewer connecting to the 5901 port 6. Particularly, you should be able to start the synaptic Package Manager and reinstall vino. Made /etc/hosts readable by all, and it worked fine. –Daniel Mar 6 at 2:00 add a comment| up vote 6 down vote I had this problem with my CentOS KVM server, http://bovbjerg.net/open-display/ubuntu-12-04-vino-server-cannot-open-display.php
Install xbase-clients, if it isn't installed already. –Zoredache Jul 13 '11 at 18:22 I installed it but still have the same problem. (See above.) –Daryl Spitzer Jul 13 '11 Xauth was missing on remote. Is there another widget for controlling vino? No keyboard is connected. http://askubuntu.com/questions/590209/start-vino-vnc-server-from-ssh-client
Browse other questions tagged ssh vnc xserver vino or ask your own question. But the gconftool commands also don't seem to cause vino-server to run. MidSpeckApril 16th, 2009, 11:02 PMIt's nice that all the information needed is practically linked to from this thread. Please link for context.
Hot Network Questions How to handle a common misconception when writing a Master's thesis? run command: sudo apt-get install libpam-keyring 3. Please test from a LiveCD or a fresh install and if the problem persists in that environment, file a bug report. Gedit Gtk-warning Cannot Open Display or to specify a port number (5901, 5902, etc.)? 1.
This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Xhost Unable To Open Display Ubuntu export DISPLAY=:0.0 7. Something has gone wrong.” What am I doing wrong with the default CentOS VNC configuration? That is, if I run it over an SSH connection, it does nothing.
drwxrwxrwt 4 root root 80 Jan 13 09:17 .. # As seen above, there are no Unix domain sockets there. http://www.thegeekstuff.com/2010/06/xhost-cannot-open-display So you'll be able to tell that my VNC password above is simply "qwerty". Xhost Unable To Open Display My focus is to write articles that will either teach you or help you resolve a problem. Gtk Warning Cannot Open Display Ubuntu The time now is 08:07 PM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top
I am able to log into it using ssh x.x.x.x (from FC4) or puTTy (from xp) before actually logging into Ubuntu. his comment is here I would appreciate a solution to start a session only when I want to. Not the answer you're looking for? Also I've experienced that SSH -X or -Y and issuing vino-preferences doesnt work. Error Can't Open Display Localhost
Use some other process, say, unity. The full text of the error or warning message cannot be safely formatted in this environment. How did you have your port tunnel (-L) setup? http://bovbjerg.net/open-display/vino-server-cannot-open-display.php The error message suggested that the problem may in fact have more to do with D-Bus than GConf or vino.
morton2002October 13th, 2006, 05:11 PMMany more details are available in the spun-off password thread (http://ubuntuforums.org/showpost.php?p=1613152&postcount=2). Start Vino Server From Ssh But if I ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works. I don't think you should use sudo with vino-preferences, because your vino preferences are per-user.
radiobuzzerJune 15th, 2013, 12:05 PMMy instructions were for connecting to an already running session. How do unlimited vacation days work? I ask, because this documentation: https://help.ubuntu.com/community/VNC/Servers says vino has an "advanced" tab for restricting access to localhost ... Xhost Unable To Open Display Redhat just like the guide said.
dbus-launch fails to start vino-server if the X11 authentication is not done. Given the hints solve the puzzle Build me a brick wall! If you'd like to contribute content, let us know. http://bovbjerg.net/open-display/ubuntu-vino-cannot-open-display.php Errm, I mean...
exit from root shell using exit 6. exit from root shell using exit 6. foxmajikSeptember 24th, 2008, 12:43 PMDocumentation for the vino-server seems hard to come by, indeed. Once this runs, it asks for my password for the account, and then displays this error: vncviewer: unable to open display "" I've installed GNOME display as stated in the guide,
I can run vnc_restart from ssh easily to gain access again. I'm trying to get a GUI display running for it. log out and back 5. This was tested between two Ubuntu 10.10 Maverick hosts.
Now as to your problem, There Are two types of X11 forwarding, secure and privileged, and you probably did not enable ForwardX11Trusted yes. doobiestMarch 3rd, 2010, 10:26 PM#ssh -X destination #vino-preferences *close vino-preferences #ps aux|grep vino (shows the server running now) #vncviewer -via destination localhost (executed locally, not in the ssh session) This redirected 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. DISPLAY was correct.
srf21cSeptember 24th, 2008, 06:18 AMDocumentation for the vino-server seems hard to come by, indeed. doobiestApril 9th, 2010, 04:16 AMThanks thats actually very helpful. Click Here to receive this Complete Guide absolutely free. share|improve this answer edited Jul 13 '11 at 23:04 answered Jul 13 '11 at 18:54 DerfK 55949 That was it.
log out and back 5. share|improve this answer answered Jan 30 '15 at 19:27 hildred 3,71811233 add a comment| up vote 1 down vote I edited vim /etc/hosts added the following lines 127.0.0.1 localhost localhost.localdomain localhost4 Then just set it and export it.