I have previously been using gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true and false to enable and disable remote desktop capabilities. Problem: vnc-server does not start unless a user has logged in to Ubuntu (which requires keyboard and monitor, at least). Dealing With Dragonslayers Are keywords in resolv.conf case sensitive? Possible repercussions from assault between coworkers outside the office What is the meaning of ''cry oneself"? navigate here
Update your answer to include both and I'll accept it. –Daryl Spitzer Jul 13 '11 at 19:21 1 Interesting. QGIS Print composer scale problems Mimsy were the Borogoves - why is "mimsy" an adjective? You can also simply drop me a line to say hello!. Previous examples of large scale protests after Presidential elections in US?
Vino Server Configuration
mlalkakaJune 4th, 2009, 05:34 PMTurn on Ubuntu's built-in VNC server when all you have is SSH: (may have to have the user logged on to the desktop already, I haven't looked I have access to a sh session thru putty. Was it legal to rant against trick or treating via loudspeaker during halloween? vi /etc/ssh/sshd_config AddressFamily inet service ssh reload share|improve this answer answered Aug 26 '15 at 15:21 Johann Klasek 1012 add a comment| Your Answer draft saved draft discarded Sign up
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 With an X server running, set your display variable to it. I am able to log into it using ssh x.x.x.x (from FC4) or puTTy (from xp) before actually logging into Ubuntu. Gtk Warning Cannot Open Display Ubuntu Closing log file.
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 gdk? up vote 52 down vote favorite 23 After launching the X11 app (XQuartz 2.3.6, xorg-server 1.4.2-apple56) on my Mac (OS X 10.6.8), opening an terminal in X11 and running xhost +, share|improve this answer answered Jun 29 '12 at 20:44 spinup 28426 This worked for me.
For example, launching Oracle Installer on remote server also gives the "cannot open display" error. Vino Preferences Command Line I would appreciate a solution to start a session only when I want to. Thanks, George –George Foster Jul 16 '15 at 14:50 You're welcome. If you can reproduce the crash consistently, please file a report.
Xhost Unable To Open Display Linux
If you clear it and vino is running, vino will be killed. This was also mentioned here http://ubuntuforums.org/showpost.php?p=6412467&postcount=4 You can verify which X server (display) the vino-server is controlling with: cat /proc/`pgrep vino-server`/environ | tr '\0' '\n'|grep DISPLAY If it shows DISPLAY=:0.0 it Vino Server Configuration remotely with ssh -X, it says “libGL error: failed to load driver: r600”1how to display osd_cat on a remote HDMI Screen0Open new graphic terminal via ssh3ssh and sudo but no $DISPLAY Error: Cannot Open Display: Would a symbolic link be enough? –Arrowmaster Mar 25 '11 at 23:16 @Arrowmaster: That's a good suggestion.
Example: Having "5:itai" there will make the server listen on port 590 and connect to itai's desktop. check over here I can run vnc_restart from ssh easily to gain access again. If you ssh in and execute vino-preferences, it's running on the remote machine; only the UI is forwarded to the local X11 server. Debian even does this by default as part of the login process (in /etc/X11/Xsession.d/35x11-common_xhost-local). Error Can't Open Display Localhost
InkyDinkyNovember 13th, 2009, 04:31 PMFor those that stumble upon this thread trying to start vino from the cli via a remote ssh connection look here: http://ubuntuforums.org/showthread.php?t=1017746 at post #7 1.
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,
Limit computation technology in a futuristic society Departing from airport before visa is valid, but arriving when it is Word for a Fact Believed by a Sub-Culture How to handle a
Can a president win the electoral college and lose the popular vote How to reduce the width of the equation in a text paragraph?
But if I ssh -Y into my Ubuntu 11.04 machine, gedit .bashrc works.
How can I open the next/previous file alphabetically?
Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem.
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 Start Vino Server From Ssh This is harder to automate. set 'System->Prefrences->Remote Desktop' ---> when you asked to enter a keyring give an empty password every time you want to connect from a client computer: vncviewer -via remote_host localhost:0 OR vnc
vino-preferences running in this way does not have access to the files/services on the local machine anymore than it would if you were sitting at the remote machines keyboard and running
sudo -s to become root 3. Thanks to srfc21 for pointing that out. Related 8x11 looks ugly while opening a remote window from ssh. The Desktop Sharing Service Is Not Enabled So It Should Not Be Run Install gconf-editor.
start vino-server using /usr/lib/vino/vino-server There may be another way but this saved my bacon after the Karmic upgrade when I needed to get my desktop and vino wasn't started. I approve wholeheartedly. Not the answer you're looking for? weblink check 188.8.131.52.
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 ssh -C -R 6000:127.0.0.1:6000 [email protected] "DISPLAY=:0.0 xterm" share|improve this answer edited Apr 30 '15 at 23:54 HalosGhost 3,05171833 answered Apr 30 '15 at 23:22 jmullee 1012 add a comment| Your Answer try ping'ing it and if you get no reply then I'd try to get it rebooted. –Itai Ganot Jul 17 '15 at 15:25 Restarted it - still no connection. How does Gandalf end up on the roof of Isengard?
I tried to find some useful log entries both on machine where SSH server is running and machine where SSH client is running with find /var/log/ -mmin -5 -type f command, At some point if the vino-server crashes, Crashes are caused by bugs. What is actually does it spawn a vino server on the client machine (if linux i guess) so when you vnc through your ssh tunnel it just loops back to your Having a problem logging in?
Forcing everyone to speak the same language Is there an actual army in 1984? Thanks alot Andrei and sats!!! Possible repercussions from assault between coworkers outside the office How do unlimited vacation days work? I've posted a ticket to the server providers, but I wouldn't bank on it getting sorted today. –George Foster Jul 17 '15 at 15:43 I'm back on the server