ssh to that machine and authenticate as x 2. share|improve this answer answered Dec 4 '11 at 21:59 edam 25123 1 localuser server-interpreted addresses are completely secure. Apparently LightDM was not running. My focus is to write articles that will either teach you or help you resolve a problem. weblink
Or use autologin which also has been discussed earlier in this thread. But the gconftool commands also don't seem to cause vino-server to run. Then just set it and export it. I'm sure glad I don't live in a group home.
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 Possible repercussions from assault between coworkers outside the office Symmetric group action on Young Tableaux Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? 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 Is there an actual army in 1984?
Modify "alternative_port" to change the port used. How do I deal with my current employer not respecting my decision to leave? Before I go any further, though, I must state that the script comes with no warranty whatsoever, and I'm not responsible for anything that happens to you, your computer, or your Gtk Warning Cannot Open Display Ubuntu MidSpeckApril 16th, 2009, 11:02 PMIt's nice that all the information needed is practically linked to from this thread.
On the other hand, the use of dbus-launch with gconftool-2 makes vinagre start on the right display, however the changes made in the vino-preferences GUI are not applied to the started Xhost Unable To Open Display Linux I then recieved a few errors: Fatal server error: (EE) no screens found(EE) Server terminated with error (1). Is adding the ‘tbl’ prefix to table names really a problem? theQmasterJune 17th, 2007, 08:01 AMJust realised that my vino server is not starting anymore [email protected]:/tmp$ sudo /usr/lib/vino/vino-server (vino-server:31773): Gtk-WARNING **: cannot open display: Any good tips ?
Did you mean to use the uppercase -C to enable compression? Vino Preferences Command Line check 184.108.40.206. Not the answer you're looking for? 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
Even if I turned off the "You must confirm each access to this machine" in the GUI, this option stayed on for the started vino-server, so I could not connect to asked 1 year ago viewed 2946 times Related 1How can I disconnect clients from a Vino VNC server at will?4How to access a machine through VNC using SSH?0can't start vino VNC Vino Server Configuration also export DISPLAY='IP:0.0′ with local ip, can any one help me to remove this error to run geany #geany Geany: cannot open display Link Peter June 29, 2014, 3:26 am xhost+ Error: Cannot Open Display: 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.
Any ideas how to proceed with troubleshooting? http://bovbjerg.net/open-display/ubuntu-vino-cannot-open-display.php Simply save the script to ~/bin, give the file executable permissions, and run it from the command-line. My ssh command is just ssh [email protected] locate .Xauthority on the host computer doesnt match any files. –justin cress Mar 25 '11 at 21:42 As Faheem suggests, there's a What command did you use to ssh? –Faheem Mitha Mar 25 '11 at 21:35 am I trying to forward X? Error Can't Open Display Localhost
If you're the only person using your desktop machine, it's very likely that the display name is :0. 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 In this case, which host's IP will be considered for opening sites?mine or accessed? http://bovbjerg.net/open-display/ubuntu-12-04-vino-server-cannot-open-display.php I'll post this again, because I think what you posted may be too complicated for some users who don't have the background knowledge in this area.
The full text of the error or warning message cannot be safely formatted in this environment. Start Vino Server From Ssh TIKZ: foreach not compatible with calc-library? asked 1 year ago viewed 6200 times active today Related 0How to get the full GNOME desktop (CENTOS) with VNC?1Vnc Server does not start on Fedora Core 11?0Ubuntu Server running VNC3StartX
I don't think you should use sudo with vino-preferences, because your vino preferences are per-user. Or try laciba's solution. This is harder to automate. The Desktop Sharing Service Is Not Enabled So It Should Not Be Run Thanks alot Andrei and sats!!!
Scheduling a task into a period within a day, depending on whether or not it is a weekend Mimsy were the Borogoves - why is "mimsy" an adjective? frafuMarch 21st, 2007, 10:22 PMTo open the "Login Window" preferences, you have to type into the terminal after opening your ssh -Y connection: sudo gdmsetup To open the "Remote Desktop" preferences, gdk? this content 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. The problem is that I cannot change it via CLI. Copying the cookies Another approach (following a suggestion by Arrowmaster) is to not try to obtain the value of $XAUTHORITY in the ssh session, but instead to make the X session xhost + 5.
Is there a way to uninstall the old version of the vncserver, or should I continue using this one? Share a link to this question via email, Google+, Twitter, or Facebook. start vino-server using /usr/lib/vino/vino-server I would a & actually, so /usr/lib/vino-server & If this happens often you could create a script like I did sudo vi /usr/local/bin/restart_vnc insert these two lines Read Linux: wmctrl cannot open display when session initiated via ssh+screen for some background; also see the related answer As root can I launch a graphical program on another users desktop?.
centos gnome vnc share|improve this question edited Jul 20 '15 at 9:09 asked Jul 2 '15 at 15:13 George Foster 112 migrated from stackoverflow.com Jul 15 '15 at 20:06 This question