LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-16-2011, 01:06 PM   #1
BrandonShw
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Rep: Reputation: Disabled
Gnome VNC


I am working in a Fedora 11 virtual on a PC running Windows 7. I can use a VNC client on another machine, or even under Windows on my own machine, to log into the Linux virtual if I go to the Gnome desktop and configure "System->Preferences->Remote Desktop" to allow it. I do not need to explicitly start a VNC server. However, when I do log in with VNC from another machine, I do not get a separate desktop, but only a view to the desktop that someone sitting at the PC sees. Whatever I do through VNC from the remote machine is visible to someone sitting at the PC. I wish to be able to log in remotely and get a separate desktop and start apps that only I see. Can Gnome be adjusted to behave this way, and, if not, what can I install in my Linux virtual to do VNC better or to be able to do a remote login that gets its own desktop?

Thanks in advance for any help you can give me.

Brandon
 
Old 11-16-2011, 06:47 PM   #2
wmack5831
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
This might help:

In your ubuntu system, start another vnc server

vncserver -geometry 1024x768

(note the display number that you are getting).


From your remote system, start the vnc client and connect to the ubuntu server like so

ip_of_ubuntu_system:<display_number_of_server>

ip_of_ubuntu_system:0 (0 as in zero) is probably the desktop of your virtual PC.

On some clients, selecting a server must be done by specifying the server's port address.
For server :1, this would be 5901, for :2 it would be 5902, etc.
 
Old 11-17-2011, 02:34 PM   #3
BrandonShw
LQ Newbie
 
Registered: Jun 2011
Posts: 11

Original Poster
Rep: Reputation: Disabled
I appreciate your input, but typing "which vncserver" in the virtual I happened to have open, Fedora 11, failed to locate that command/executable. The same result for Ubuntu 10.04.
 
Old 11-17-2011, 03:01 PM   #4
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by BrandonShw View Post
...to the Gnome desktop and configure "System->Preferences->Remote Desktop" to allow it. I do not need to explicitly start a VNC server.
Starting a VNC server is what you are doing when you go to System->Preferences->Remote Desktop. Specifically that starts up VNC server called vino (That appears to be the official vino webpage. Seems rather lack lustre somehow.)


You could try using vino with GDM
http://linux.koolsolutions.com/2009/...een-using-vnc/
http://jakeyoon.com/2008/11/19/enabl...gdm-in-ubuntu/
(Put 'gdm vino' in to Google for more like this)
Or you could look at FreeNX.

FreeNX does everything over SSH. As far as I know Vino lacks any encryption except for the initial password exchange.
 
Old 11-17-2011, 03:02 PM   #5
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by BrandonShw View Post
I appreciate your input, but typing "which vncserver" in the virtual I happened to have open, Fedora 11, failed to locate that command/executable. The same result for Ubuntu 10.04.
I forget to say that the vncserver binary is part of the tightvnc package which is probably in the Fedora repos. (Or at least it is on openSUSE, I don't have Fedora or Ubuntu to hand.)
 
Old 11-18-2011, 09:56 AM   #6
wmack5831
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
vnc server - new display vs. access to display :0

It appears that your system comes with a vnc server baked in. However that vnc server is written such that it shares the desktop (display :0).

If you want to have a separate display, you probably need to install a vnc server package (using 'yum' on Fedora, I guess), (on ubuntu there are two choices: tightvncserver or vnc4server. For Fedora I don't know).

I'm using vnc4server on ubuntu and can get multiple new displays by invoking vncserver from the command line.
 
  


Reply



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
vnc and gnome metallica1973 Linux - Software 6 07-07-2006 10:59 PM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
VNC and Gnome Aurga Linux - General 24 11-12-2004 02:16 PM
gnome and vnc android1654 Linux - Software 2 07-03-2003 02:04 AM
GNOME in VNC? gauge73 Linux - Networking 20 06-21-2003 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:10 PM.

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