Skip to contentSkip to conversation

connecting to the X-desktop with vnc

DISCUSSION Karthik Vishwanath 2 participants 2 messages Nov 7, 2006

lore
Share & tools
lore
#0 lore raw

I installed the vnc suite of tools (both on the remote server, as well as the local client) where both machines run ubuntu-linux. I started the vncserver on the server using vncserver which gives:

$ vncserver

New 'bombur:1 (karthik)' desktop is bombur:1

Starting applications specified in /home/karthik/.vnc/xstartup Log file is /home/karthik/.vnc/bombur:1.log

I am able to connect from the client side using:

$ vncviewer bombur:1

This however opens up an xterm and is not the desktop that is running on bombur. I want to see the X-desktop that is running on the server. How do I go about doing this?

Both client and server run xorg as the Xserver. Please let me know if more information is needed to help (such as kernels/xorg versions/vnc versions running on client/server).

Thanks in advance,

-K

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 18 lines · On Mon, 6 Nov 2006 21:17:03 -0500 (EST) Karthik Vishwanath…

I installed the vnc suite of tools (both on the remote server, as well as the local client) where both machines run ubuntu-linux. I started the vncserver on the server using vncserver which gives:

$ vncserver

New 'bombur:1 (karthik)' desktop is bombur:1

Starting applications specified in /home/karthik/.vnc/xstartup Log file is /home/karthik/.vnc/bombur:1.log

I am able to connect from the client side using:

$ vncviewer bombur:1

This however opens up an xterm and is not the desktop that is running on bombur. I want to see the X-desktop that is running on the server. How do I go about doing this?

Quoted 9 lines

Both client and server run xorg as the Xserver. Please let me know if more information is needed to help (such as kernels/xorg versions/vnc versions running on client/server).

Thanks in advance,

-K

The vncserver actually starts its own X server, rather than connecting to the already running X server (hence the bombur:1, rather than bombur:0). To connect to the already running X server, you want to use x11vnc instead of vncserver. Most distributions should include it, or you can get its source from <http://www.karlrunge.com/x11vnc/>.

Good luck,
Conway S. Smith