Fedora Linux Support Community & Resources Center
  #1  
Old 11th April 2009, 02:16 PM
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 557
Controlling a running X server remotely

*Solved* I have been reading the following guide on how to use the VNC programs and a GUI to connect to my main machine from my laptop via my LAN and router:

http://fedoraforum.org/forum/showthread.php?t=194101

This allows me to control the server remotely, and run applications on the server remotely, with the GUI output being shown on my laptop, which is really neat

I had Eclipse + PDT running on my server and had to stop it and start a new instance remotely from the laptop via VNC viewer, as Eclipse said the workspace I wanted to use was already in use.

So starting the VNC server on the main machine does not allow me to access the programs that are already running on the main machine under the native X server.

However I can now do PHP debugging remotely using Eclipse + PDT now, and all the PHP source code is on the server machine. That's OK, but I would like to do more than that.

I want to be able to connect to the native X server on my main machine, and control all the applications running on the main machine remotely from my laptop, without having to shut them down and restart them again via a VNC viewer.

Is there some sort of remote control program I can use to allow me to connect to the running X server on my main machine from my laptop, and control those applications remotely please, so the desktop layout on the main machine's screen is mirrored on the laptop screen?

Last edited by CD-RW; 29th April 2009 at 09:17 PM.
Reply With Quote
  #2  
Old 29th April 2009, 09:11 PM
CD-RW Offline
Registered User
 
Join Date: Nov 2006
Posts: 557
Thumbs up solved

What I was trying to find is Desktop Sharing. It's in the kdenetwork package. The documentation is in the KDE help centre. I have it running now. The client program is krdc, and the server program is krfb.

Somehow using the krdc client enables one to connect to a running Xserver, and share the same connection remotely. This is exactly what I was looking for.

From the KDE docs for krdc:

Remote Desktop Connection is a client application that allows you to view or even control the desktop session on another machine that is running a compatible (VNC) server.
You would typically use Remote Desktop Connection with the KDE VNC server, which is Desktop Sharing, since it closely matches the special features of Remote Desktop Connection.


and for krfb:


Desktop Sharing is a server application that allows you to share your current session with a user on another machine, who can use a VNC client to view or even control the desktop.
You would typically use Desktop Sharing with the KDE VNC client, which is Remote Desktop Connection, since it closely matches the special features of Desktop Sharing.
Desktop Sharing doesn't require you to start a new X session - it can share the current session. This makes it very useful when you want someone to help you perform a task.


The documentation is an easy read. The whole thing works out of the box. I have it working on two F8 installations.

It's best to practice with the remote machine and the client machine together in the same room, so you can see what's happening when you first get started.
Reply With Quote
Reply

Tags
remote x server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
running Programs Remotely via ssh (slightly different) Cassanova Using Fedora 4 21st March 2009 01:40 AM
Problems running software! no controlling tty: Operation not permitted ogoy Using Fedora 8 28th January 2007 01:02 AM
Problem with running software remotely sickrupi Using Fedora 0 11th October 2005 08:26 PM


Current GMT-time: 06:39 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat