Re: How to open an application in a remote x session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Track wrote:
> On 11/9/06, Manuel Arostegui Ramirez <manuel@xxxxxxxxxxxxxx> wrote:
>> El Jueves, 9 de Noviembre de 2006 13:14, Dan Track escribió:
>> > Hi
>> >
>> > I'd like to open an application on to an X session running remotely, I
>> > don't want to export it anywhere. Can somebody tell me how I can do
>> > that? For example lets say the programs are gedit and firefox.
>> >
>> > Thank in advance
>> > Dan
>>
>> It's quite easy using ssh -X and on /etc/ssh/sshd_config you should
>> add the
>> line: X11Forwarding yes
>>
>> I think i misunderstood you, why you don't want to export that
>> X-Session to
>> your localhost? Do you want to firefox, for instance, to run on the
>> remote
>> X-Session?
>> -- 
>> Manuel Arostegui Ramirez.
> 
> Hi
> 
> Thanks for the reply. Sorry I guess I didn't make myself clear, lets
> say we have teh following:
> 
> host1                                 host2
> 
> I want the user on host2 to ssh to host1, then run say gedit which
> will opne up on the xdisplay the user has running on host1. Do you
> know how to do this?
> 
> Thanks
> Dan
> 
After you ssh to host1, you will need to ether set DISPLAY. Or you
will need to use the -display option when you start the program.

export DISPLAY=:0

or

xterm -display :0 &

This will only work for when you are logged into host1 as the user
that is logged into X on that machine, or if you have disabled X
security on host1. (See the xhost command - it has to be run in X on
host1.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux