Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 07-19-2007, 08:41 AM   #1
Registered: Aug 2003
Posts: 84

Rep: Reputation: 15
Sharing an X session with VNC

Is there a way I can use VNC so that it uses the same desktop that is normally on DISPLAY:0? VNC in XP shares the desktop. Remote Desktop lets a user have 1 desktop and can share between local and remote displays. But with VNC in Linux, I am stuck running 2 desktops/X servers.

This gets really frustrating when I try to use firefox, but I left firefox open on VNC, and it won't let me open 2 sessions by the same user. In order to open firefox locally, I have to killall firefox-bin.

Or if you are running pidgin on it, you want to see the messages whether you are on VNC or locally. Some clients like Yahoo do not support multiple logins.
Old 07-19-2007, 11:17 AM   #2
Registered: Jun 2005
Location: England
Distribution: Ubuntu, SLES, AIX
Posts: 268

Rep: Reputation: 47
If you want to use VNC with the console session you can use x11vnc.
Old 07-19-2007, 11:46 AM   #3
Senior Member
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,129
Blog Entries: 2

Rep: Reputation: 147Reputation: 147
You need to make a desktop-sharing-invitation and to connect to the 'one and only' desktop from the other machine.
Depending if You capture the mouse or not, You will be able to do or not some stuff...
Or, this didn't work for You?
Old 07-19-2007, 05:58 PM   #4
Registered: Aug 2003
Posts: 84

Original Poster
Rep: Reputation: 15
thanks, that is what I was looking for!
Old 07-20-2007, 07:58 PM   #5
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 568

Rep: Reputation: 38
RealVNC has a module that you include in your xorg start-up that lets you connect to you :0 display.

Old 01-08-2008, 03:37 AM   #6
LQ Newbie
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Originally Posted by MQMan View Post
RealVNC has a module that you include in your xorg start-up that lets you connect to you :0 display.

How can I add this module?
And I must make this change in "/etc/X11/xorg.conf", do I?

I use suse10.30 and realVNC 4.1 free


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
FC5 / Ubuntu home directory sharing without sharing session information cdhgee Fedora 1 07-26-2006 05:47 PM
gnome2 session and VNC metallica1973 Linux - Software 2 07-16-2006 10:50 AM
VNC Session mindjet SUSE / openSUSE 4 02-11-2006 09:49 AM
vnc into session 0 fraz Linux - Networking 5 11-21-2005 07:36 AM
see the vnc session on vnserver cabo Linux - General 5 09-13-2004 04:07 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration