WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine  (Read 2773 times)

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
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?
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #1 on: March 05, 2012, 04:42:44 PM »
Is Xlibs.tcz loaded on the remote machine?

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #2 on: March 05, 2012, 05:54:56 PM »
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?
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #3 on: March 06, 2012, 08:30:42 AM »
You may need to use ssh -Y.
The only barriers that can stop you are the ones you create yourself.

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #4 on: March 07, 2012, 08:52:14 AM »
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
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #5 on: March 08, 2012, 08:44:49 AM »
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?
« Last Edit: March 08, 2012, 09:30:25 AM by beerstein »
t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #6 on: March 08, 2012, 10:04:16 AM »
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.
The only barriers that can stop you are the ones you create yourself.

Offline beerstein

  • Hero Member
  • *****
  • Posts: 530
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #7 on: March 13, 2012, 05:45:04 AM »
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?


t(w)o be(ers) or not t(w)o be(ers) that is the question

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: ssh - tcl 3.84 on 2 PCs-try to run rox filer on remote machine
« Reply #8 on: March 13, 2012, 09:58:53 AM »
SSH exports DISPLAY for you. If both X11 options are already set to yes, perhaps you need to give it the path to xauth.
The only barriers that can stop you are the ones you create yourself.