Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-19-2011, 11:06 AM   #1
LQ Newbie
Registered: Oct 2011
Posts: 8

Rep: Reputation: Disabled
get remote desktop to work on a virtualized Ubuntu 11.04


I've been tampering with this during the day, and I can't figure out what to do.

Im stuck at where I start the vino-server

(btw, why does " /usr/lib/vino/vino-server" work but not CDing to the vino folder and typing vino-server?)

anyway when I type "/usr/lib/vino/vino-server" I get the following message:

(process:13701): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Cannot open display:
Run 'vino-server --help' to see a full list of available command line options
Prior this I did this:

gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
That I found in a guide somewhere. I did not get any confirmation that the command actually did anything, but I suppose it would if anything went wrong?

So, where do I go from here?

If you are so kind as to reply to this thread, please keep it simple. a few days ago I didn't know how to change directories, little less what ssh was. Come to think of it, I most likely still don't understand what ssh is.

I do realize I need VNC Viewer, which I have installed on my Windows 7 computer.
I don't have a screen attached to my ubuntu machine, and have to use SSH until I get remote desktop working.
Port 5900 has been poperly forwarded in my firewall(ClearOS).

I did some google on the matter, and some places said to run the command "export DISPLAY=:0.0" - however that changed nothing.

Last edited by Damnedkrt; 10-19-2011 at 12:20 PM. Reason: Clarifying
Old 10-21-2011, 08:25 AM   #2
Registered: Nov 2007
Posts: 67

Rep: Reputation: 4
You can use two options to take remote SSH to get CLI or VNC to get GUI access.
Old 10-21-2011, 08:51 AM   #3
LQ Newbie
Registered: Oct 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Originally Posted by ashish_neekhra View Post
You can use two options to take remote SSH to get CLI or VNC to get GUI access.
I know this, as I am already controlling the machine through SSH trying to configure the VNC server on the machine, which is Vino as I've understood it for Ubuntu. I can't however start the VNC server (vino) since i get the error message:

"Cannot open display"
Old 10-25-2011, 11:00 AM   #4
LQ Newbie
Registered: Apr 2002
Location: Bristol
Posts: 4

Rep: Reputation: 0

I've been having similar issues with 11.10. Rather than virtualising, I've been trying to run a new install headless (without monitor / keyboard etc..) - something that I've previously done successfully on earlier versions of Ubuntu.

In order for this to have any chance of working, you're going to need to trick your install into thinking that there is a monitor it can use to start a session. If you look in /var/log/Xorg.0.log, you'll probably find that the X session isn't starting, claiming that it can't find a monitor. One trick which seems to work for others is to force a particular configuration on the system.

create a file /etc/X11/xorg.conf and put the following in it...

Section "Device"
Identifier "VNC Device"
Driver "vesa"

Section "Screen"
Identifier "VNC Screen"
Device "VNC Device"
Monitor "VNC Monitor"

SubSection "Display"
Modes "1024x768"


Section "Monitor"
Identifier "VNC Monitor"
HorizSync 30-70
VertRefresh 50-75
Reboot and recheck the log file to see if the errors are gone. Check to see if vino successfully started with "ps -A | grep vino". If it's there, then try to connect. If it still fails, it's possible taht vino is expecting some kind of user intervention on the server side (along the lines of "someone is trying to connect, is this OK?"), in which case you might need to work out how to change these settings.

let me know how you get on - I'd be interested to know if it works for you.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for remote desktop software that will work with openGL BrianK Linux - Software 2 11-22-2010 09:25 PM
Does Remote Desktop Connection work through Squid? anu_here Linux - Networking 2 10-25-2009 11:49 AM
LXer: The Short Life Expectancy of the Virtualized Desktop LXer Syndicated Linux News 0 09-19-2008 08:40 PM
How to configure the Ubuntu remote desktop function to work as a "normal" VNC server? lawrence_lee_lee Linux - Software 1 09-18-2007 04:42 AM
Remote desktop on ubuntu c-- Ubuntu 2 03-18-2005 03:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration