LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   get remote desktop to work on a virtualized Ubuntu 11.04 (https://www.linuxquestions.org/questions/linux-newbie-8/get-remote-desktop-to-work-on-a-virtualized-ubuntu-11-04-a-908979/)

Damnedkrt 10-19-2011 10:06 AM

get remote desktop to work on a virtualized Ubuntu 11.04
 
Hi

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:

Quote:

"
(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:

Quote:

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.

EDIT:
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.

ashish_neekhra 10-21-2011 07:25 AM

You can use two options to take remote SSH to get CLI or VNC to get GUI access.

Damnedkrt 10-21-2011 07:51 AM

Quote:

Originally Posted by ashish_neekhra (Post 4504275)
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"

daviest11 10-25-2011 10:00 AM

Afternoon,

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...

Quote:

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

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

SubSection "Display"
Modes "1024x768"
EndSubSection

EndSection

Section "Monitor"
Identifier "VNC Monitor"
HorizSync 30-70
VertRefresh 50-75
EndSection
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.

Thanks,

Tom


All times are GMT -5. The time now is 10:42 AM.