Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: beerstein on March 05, 2012, 04:32:17 PM
-
ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
Hi: I connected 2 PCs with openssl from the repo running. I can connect into the remote
machine by: ssh -X tc@192.168.1.3 and I am able to execute CLI commands and even midnight commander. But when I try to start "rox" on the remote PC I get an error message similar to" GTK warning can not open display"
Is something missing here?
What do I have to to do to start a GUI app on the remote machine such as Firefox?
-
Is Xlibs.tcz loaded on the remote machine?
-
no, it was not loaded - I installed it from the repo (on boot) and tried it
while using the localhost - i did not reboot
# ssh -X tc@localhost
I got the same error message: tc@box:~$ rox
(ROX-Filer:5068): Gtk-WARNING **: cannot open display:
tc@box:~$
maybe I need more?
-
You may need to use ssh -Y.
-
thank you I will try that. From googling the web I learned it might have something to do
with:
a) display variable
b) remote host identification in general
c) public / private key authentication
-
Hi: loaded Xlibs.tcz and used the -Y option I am getting different errors when I try to start rox-filer and leafpad. I tested using localhost.
When I am connected to a remote Suse 10.3 machine I can start GUI apps on the remote machine. Even the desktop comes up when I start kde.
Please HELP me
tc@box:~$ ssh -Y tc@localhost
tc@box:~$ rox
(ROX-Filer:13437): Gtk-WARNING **: cannot open display:
tc@box:~$ leafpad
leafpad: Cannot open display:
tc@box:~$
PS: I am getting a different error message when I try to start firefox at the remote PC."Error: no display specified" Do I need to install a GUI or GTK2.tcz?
-
The dropbear client does not support X, and I think you need to enable X forwarding support in the opensshd server config if you use that.
-
Hi: Thank you for this. I changed the sshd_config file:
And set:
ForwardAgent yes
default is: ForwardAgent no
still get the same error. There might be other options I need to change:
ForwardX11 yes
ForwardX11Trusted yes
on the web I found the following quote " need to run export DISPLAY=:0 (or whatever the remote display is"
But how do I find out what the number of the remote display is?
May be, that I also need to set the resolution for the remote display?
-
SSH exports DISPLAY for you. If both X11 options are already set to yes, perhaps you need to give it the path to xauth.