Solved

Remote Desktop between two linux clients.

Posted on 2008-10-31
7
397 Views
Last Modified: 2013-12-15
Hi,

I have numerous systems running RHEL 4, however I now have a requirement to be able to remotely log in from one system to another system and get a full X System GUI, similar to the way Remote Desktop Connection works under Windows.

Can this be acheived and can anyone advise how best to do it??
0
Comment
Question by:acel-martin
7 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 22852016
use

ssh -X username@remotesystem

then run the gui application
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 22852013
0
 
LVL 1

Author Comment

by:acel-martin
ID: 22852094
The ssh would work if I only wanted one application, but I want the full logon prompt would the VNC solution give me this?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 29

Expert Comment

by:fosiul01
ID: 22852188
if you want full desktop of another linux pc then you need to instal Vnc server, check those article you should be able to understand
0
 
LVL 14

Expert Comment

by:mikelfritz
ID: 22857910
Use rpm or yum to install vnc-server and then put entries in the /etc/sysconfig/vncservers file.  That will allow you to have vnc server sessions started at boot time.  Typically you would put in a few, like:

VNCSERVERS="1:user0 2:user1 3:user2"

Use a client to connect to port 5901 for user0 desktop, 5902 for user1 desktop and 5902 for user2 desktop.  You need to run vncpasswd as each user to set the password for each vnc user.  

You may also need to edit the xstartup file for each account.  the file is located under the users home directory/.vnc/xstartup

The contents should be something like this:

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &


At that point you can use the vnc client from one machine to the other.
0
 
LVL 1

Accepted Solution

by:
acel-martin earned 0 total points
ID: 23033322
Hi Everyone, after further research on Google I found a piece of software called NX Free.
This provides full remote desktops for multiple users across SSH. :)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question