LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2004, 07:54 PM   #1
BigT
LQ Newbie
 
Registered: Feb 2004
Location: New Jersey
Distribution: Fedora Core 2
Posts: 5

Rep: Reputation: 0
Question Real Noobie question. Remote XTERM access


I don't usually ask dumb questions but I suspect this is one.

I am testing two Mandrake 9.2 Linux VMs on my windows servers. How do I open an XWindow session on one when I am signed into the other? I need this so several QA users can exercise our new application running on one machine from their Linux sessions once I have them set up. The VNC things seems to require that I sign on start the service and walk away leaving my session signed on. That won't do.
 
Old 02-27-2004, 10:25 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
well how do you want it to run?, do ya want the app to be run on the sever but displayed on a difrent one?, or do you want to run and display the app on the same server?
 
Old 02-28-2004, 10:04 AM   #3
BigT
LQ Newbie
 
Registered: Feb 2004
Location: New Jersey
Distribution: Fedora Core 2
Posts: 5

Original Poster
Rep: Reputation: 0
OK. This app is a GUI interface used to control a background process that we run on the server. So it must run there. We have several people who need to be able to run the application on the server from their respective Linux workstations.
 
Old 02-29-2004, 06:14 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
1. Make sure the SSH daemon on the server (the host running the application you want to run from other locations) is configured to allow X forwarding. This is usually done through the file /etc/ssh/sshd_config. Make sure the "X11Forwarding" line is not commented out (everything after a pound sign - # - is ignored) and that it is set to "yes". This is what it should look like:
Code:
X11Forwarding yes
Restart the SSHD service to make sure the new settings are applied.

2. From the other machine, simply type ssh -X username@hostname to open up an SSH connection to the server. The -X flag indicates you want X forwarded too so you can launch GUI applications. Log in and launch the program like you use to. The graphical window should pop up on your local computer as if you were running the application locally (remember - you're not!). Append an ampersand (the "&" character) to the end of the command line to launch the program to get the prompt back and be able to launch other commands on the remote computer. When done, exit the GUI program and type exit or hit Ctrl+D to log out.


Håkan

Last edited by hw-tph; 02-29-2004 at 06:16 PM.
 
Old 02-29-2004, 09:44 PM   #5
BigT
LQ Newbie
 
Registered: Feb 2004
Location: New Jersey
Distribution: Fedora Core 2
Posts: 5

Original Poster
Rep: Reputation: 0
Ok That works. I From the warning I receive regarding fonts, I assume that we have to install the fonts on the workstation.

Here is a curiosity question. Can this be done at the desktop level? As in show the KDE signon screen from the server on their workstations? I saw this done using xterminals a few years back.
 
Old 03-01-2004, 02:27 AM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Yes, you can run X remotely but it's insecure and often quite slow. I have never set that up myself though, so I can't really comment on it, but you should configure your X login manager (GDM, KDM) on the server to accept incoming XDMP connections. That's a start at least.


Håkan
 
  


Reply


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
*newbie* ftp question involving remote access MooMooMilk Linux - Networking 4 11-19-2005 10:44 PM
Remote access question. (ssh) JohnStormrider Linux - Networking 8 09-20-2005 04:32 PM
vnc or remote access question coal-fire-ice Solaris / OpenSolaris 13 08-13-2005 01:06 PM
pts/0 etc. Remote access question hamish Linux - Networking 0 06-05-2004 02:25 AM
Remote Access Question yktang Linux - Newbie 1 04-03-2004 12:08 AM


All times are GMT -5. The time now is 03:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration