Hi: Earlier my question was how to allow other users on the same machine to run X programs. Now I want to know how to allow a user on another machine to display on my machine. In the past I simply did: mymachine> xhost +othermachine mymachine> telnet othermachine othermachine> export DISPLAY=mymachine:0 othermachine> konqueror& Then konqueror from othermachine would appear on mymachine. Now in Suse 9.1 it appears I can't do this. I went to this article, and tried the first suggestion http://portal.suse.com/sdb/en/2003/04/tsaupe_export.html So I did: mymachine> ssh -X othermachine kwrite password: bash: line 1: kwrite: command not found mymachine> Then I found this works: mymachine> ssh -X othermachine password: othermachine> kwrite& Ok, so it works. But I really don't want to have to go through ssh. This is a trusted LAN with only me and my wife. She isn't going to be trying to crack my net when she has my password anyway. I would like to be able to go back to the simpler, less secure way. Is this possible? Thanks. -- _____________________ Christopher R. Carlen crobc@earthlink.net SuSE 9.1 Linux 2.6.5
On Fri, 13 Aug 2004, Chris Carlen wrote:
Hi:
Earlier my question was how to allow other users on the same machine to run X programs.
Now I want to know how to allow a user on another machine to display on my machine.
not sure whether I understand what you are saying. You want to display the X window that runs on another machine to which you telnet to show on your machine, right?
In the past I simply did:
mymachine> xhost +othermachine
mymachine> telnet othermachine
othermachine> export DISPLAY=mymachine:0
othermachine> konqueror&
Then konqueror from othermachine would appear on mymachine.
Now in Suse 9.1 it appears I can't do this.
simply open up port 6000 on your firewall and you should be able to do that.
I went to this article, and tried the first suggestion
http://portal.suse.com/sdb/en/2003/04/tsaupe_export.html
So I did:
mymachine> ssh -X othermachine kwrite password: bash: line 1: kwrite: command not found mymachine>
Then I found this works:
mymachine> ssh -X othermachine password: othermachine> kwrite&
Ok, so it works. But I really don't want to have to go through ssh. This is a trusted LAN with only me and my wife. She isn't going to be trying to crack my net when she has my password anyway.
why not make it a habit to go through ssh?
I would like to be able to go back to the simpler, less secure way. Is this possible?
I actually think it is much simpler than the less secure way. You have to type the xhost and the export DISPLAY command while with ssh -X you don't have to do anything... Best regards, Alex.
-- _____________________ Christopher R. Carlen crobc@earthlink.net SuSE 9.1 Linux 2.6.5
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Chris Carlen wrote:
Hi:
Earlier my question was how to allow other users on the same machine to run X programs.
Now I want to know how to allow a user on another machine to display on my machine.
In the past I simply did:
mymachine> xhost +othermachine
mymachine> telnet othermachine
othermachine> export DISPLAY=mymachine:0
othermachine> konqueror&
Then konqueror from othermachine would appear on mymachine.
Now in Suse 9.1 it appears I can't do this.
I went to this article, and tried the first suggestion
http://portal.suse.com/sdb/en/2003/04/tsaupe_export.html
So I did:
mymachine> ssh -X othermachine kwrite password: bash: line 1: kwrite: command not found mymachine>
Then I found this works:
mymachine> ssh -X othermachine password: othermachine> kwrite&
Ok, so it works. But I really don't want to have to go through ssh. This is a trusted LAN with only me and my wife. She isn't going to be trying to crack my net when she has my password anyway.
I would like to be able to go back to the simpler, less secure way. Is this possible?
Thanks.
I haven't looked at it in detail yet, it may be some security feature, but "export DISPLAY=<remotehost>:0.0" followed by the command used to work. I have DISPLAYMANAGER_REMOTE_ACCESS="yes" and DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes" in /etc/sysconfig/displaymanager. You can of course get a complete remote desktop locally by e.g "X :2 -query <hostname> vt09&" - I do this on a Linux box when I want to do some work on a remote box running Linux or Solaris. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
On Saturday 14 August 2004 01:05, Chris Carlen wrote:
mymachine> ssh -X othermachine kwrite password: bash: line 1: kwrite: command not found mymachine>
Just specify the whole path to the application, then it works. Here's an example that I use everyday: ssh -X leen@10.0.0.1 /opt/kde3/bin/kmail
Then I found this works:
mymachine> ssh -X othermachine password: othermachine> kwrite&
Ok, so it works. But I really don't want to have to go through ssh. This is a trusted LAN with only me and my wife. She isn't going to be trying to crack my net when she has my password anyway.
I would like to be able to go back to the simpler, less secure way. Is this possible?
In addition to what Sid already said: X :1 -once -broadcast # gives chooser (?) (broken in xorg) X :1 -once -indirect 10.0.0.1 # gives chooser (broken in xorg) X :1 -once -query 10.0.0.1 # gives login dialog (e.g. kdm) (seems to work without vtXX, could not find docs on that in xorg) On the server (the pc you want to connect to): Execute 'yast security' * Select Custom Settings, Click Next, Next, Next, * Login Settings: Enable 'Allow Remote Graphical Login' * Click Next, Next, Finish Cheers, Leen
participants (4)
-
Alex Angerhofer
-
Chris Carlen
-
Leendert Meyer
-
Sid Boyce