- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- howto connect from linux server to other linux mac...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2004 10:31 AM
тАО03-26-2004 10:31 AM
howto connect from a linux server to the other linux machine using X windows ?
I use in both cases SuSE 8.2
kind regards
chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2004 10:37 AM
тАО03-26-2004 10:37 AM
SolutionYou're running an X Server (the gui bit with the mouse) on one machine (MachineA for example), and you want to run an application on another machine (MachineB) with the gui stuff on MachineA ?
If so, then you need to do something similar to the following:
xhost +MachineB
telnet MachineB
(log in)
export DISPLAY=MachineA:0
(run application)
If you're using SSH between machines, it's even easier:
ssh MachineB
(log in)
(run application)
SSH automatically does most of the fiddly bits for you (setting DISPLAY etc.). It also has the added advantage of encrypting the display information.
If this isn't what you meant, then please give a bit more details.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2004 09:05 PM
тАО03-27-2004 09:05 PM
Re: howto connect from linux server to other linux machine using X windows ?
if you want to get the full X window environnement including desktop, you can open your X session on the other machine.
- On the X connection server allow XDMCP
- On the client, launch X like this :
/usr/bin/X11/X -query your_X_connection_server
You can put this line in your /etc/inittab at run level 5
Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2004 11:16 PM
тАО03-27-2004 11:16 PM
Re: howto connect from linux server to other linux machine using X windows ?
shouldn't it be
on MaschineB
xhost +MachineA
on MaschineA
telnet MachineB
(log in)
export DISPLAY=MachineA:0
(run application)
?
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 09:46 AM
тАО03-28-2004 09:46 AM
Re: howto connect from linux server to other linux machine using X windows ?
Long term use of xhost+ is a significant security hazard unless you are behind a firewall.
I've been successul using Linux to X window HP-UX boxes by openning up port 7000 on the iptables firewall internal network only.
I'm not sure what the proper port number is foir Linux but the rest of the instructions I agree with. xhost+ is to big a security hazard for me. I've been burned and a user getting control of your box that way can gain root priviledged if root is the X user.
I don't mean this as a critcism. I'm just concerned about xhost+
SEP
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 09:53 AM
тАО03-28-2004 09:53 AM
Re: howto connect from linux server to other linux machine using X windows ?
are you afraid of any form of xhosts + even when used with specific hosts?
just curious,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 10:52 AM
тАО03-28-2004 10:52 AM
Re: howto connect from linux server to other linux machine using X windows ?
It says "Allow remote machine
Using SSH is the preferable way to do all of this in any case, as not only is the information encrypted, it also runs all of the X-Auth securely.
From memory, the 'xhost +
Now, as for the ports, by default X under Linux is on the 6000 + display (so for :0, it's 6000, for :1, it's 6001 etc. etc.). SSH usually binds it's self to :10 onwards.
If combining xhost and firewalling, you should be reasonably safe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2004 12:44 PM
тАО03-28-2004 12:44 PM
Re: howto connect from linux server to other linux machine using X windows ?
We are prohibited from using it at our shop except for short diagnostic purposes even though there has never been a breach of our firewall. To be perfectly honest I have no idea what the vulnerability is or how to exploit it.
It the command is run with an X session logged in as root, root priveledges are supposedly easy to get.
Sources: Jewish Federation Security Audit, July 2000. HP-UX Practical Network Security July 2001.
The manual for the HP class is at work, if I have time I'll add quotes on Monday.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 03:58 AM
тАО03-30-2004 03:58 AM
Re: howto connect from linux server to other linux machine using X windows ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2004 07:45 AM
тАО03-30-2004 07:45 AM
Re: howto connect from linux server to other linux machine using X windows ?
I must admit, I was wrong.
Stuart is right. I thought, it would work like Tru64 but apparently it does not. :-(
thanks,
Michael
-9 points please :-)