Hello and thanks in advance for any help.
Remote X Applications
I would like to run the kmail appliation on the desktop machine from my laptop.
From what I have read in the posts there seems to be two ways to do it.
Over ssh and another way using xhosts and Display settings.
I have managed to get the ssh method working for a test using xcalc but I cannot run Firefox or kmail which are the applications I really want. So I would like to persue the non ssh method. I realise the example below is not very secure but I will tighten it up once I can get it working.
If I run the command "kmail" in an xterm on the desktop machine kmail starts OK. But I cannot seem to get it to diaplay remotely on the laptop.
Two machines -
Desktop 10.1.1.1
FreeBSD 8.1-RELEASE
KDE4 running with 6 desktop windows
X.Org X Server 1.7.5
Laptop 10.1.1.77
FreeBSD 7.3
KDE 4 running with 4 desktop windows
X.Org X Server 1.6.0
On Laptop (10.1.1.77) I issue the command
Very insecure I know.
Check it with
[cmd=]$ xhost[/cmd]
access control disabled, clients can connect from any host
On Desktop I issue the commands:
(using /bin/sh)
Check it with:
I have seen a lot of comments on posts about the nolisten option setting on X but I have not found any way to disable it or confirmed it is an issue with the software versions I am running. It exists in /usr/local/kde4/share/config/kdm/kdmrc
but the file seems to get rewritten each reboot.
Thanks in advance
Remote X Applications
I would like to run the kmail appliation on the desktop machine from my laptop.
From what I have read in the posts there seems to be two ways to do it.
Over ssh and another way using xhosts and Display settings.
I have managed to get the ssh method working for a test using xcalc but I cannot run Firefox or kmail which are the applications I really want. So I would like to persue the non ssh method. I realise the example below is not very secure but I will tighten it up once I can get it working.
If I run the command "kmail" in an xterm on the desktop machine kmail starts OK. But I cannot seem to get it to diaplay remotely on the laptop.
Two machines -
Desktop 10.1.1.1
FreeBSD 8.1-RELEASE
KDE4 running with 6 desktop windows
X.Org X Server 1.7.5
Laptop 10.1.1.77
FreeBSD 7.3
KDE 4 running with 4 desktop windows
X.Org X Server 1.6.0
On Laptop (10.1.1.77) I issue the command
$xhost +
Very insecure I know.
Check it with
[cmd=]$ xhost[/cmd]
access control disabled, clients can connect from any host
On Desktop I issue the commands:
$export DISPLAY=10.1.1.77:0.0
(using /bin/sh)
Check it with:
Code:
$ set | grep DISP
DISPLAY=10.1.1.77:0:0
$ xcalc &
$ Error: Can't open display: 10.1.1.77:0:0
Code:
ps waux | grep X
root 1572 0.4 18.2 392940 376604 ?? S 10:03AM 15:20.44 /usr/local/bin/X -br -quiet -nolisten tcp :0 -auth /0
I have seen a lot of comments on posts about the nolisten option setting on X but I have not found any way to disable it or confirmed it is an issue with the software versions I am running. It exists in /usr/local/kde4/share/config/kdm/kdmrc
Code:
ServerArgsLocal=-nolisten tcp
Thanks in advance