MottS Posted January 11, 2003 Report Share Posted January 11, 2003 Hi I have 2 computers. 1 dual P200 that shares the net to my main computer. SSHD runs on the dual P200 and I can login to it with my main computer. I can do whatever I want in the console but I cannot start X app like 'drakconf' or 'mozilla'. I have 'X11Forwarding yes' in /etc/ssh/sshd_config I also have 'ForwardX11 yes' in /etc/ssh/ssh_config I also tryed to start the session this way 'ssh -X -l username remotemachine' but that didn't work. Any idea ? MOttS Quote Link to comment Share on other sites More sharing options...
Guest boonders Posted January 12, 2003 Report Share Posted January 12, 2003 what does it say when you try to execute the programs? what error? I'm assuming you have X installed and running on both machines correct? Quote Link to comment Share on other sites More sharing options...
aru Posted January 12, 2003 Report Share Posted January 12, 2003 try: ssh -n host mozilla & and if it stills not working, then check your host's ssh_config has the "ForwardX11" parameter enabled another try is 'xhost +host' Just some thoughts. Quote Link to comment Share on other sites More sharing options...
MottS Posted January 12, 2003 Author Report Share Posted January 12, 2003 what does it say when you try to execute the programs? what error? I'm assuming you have X installed and running on both machines correct? It depend of the app. If I start 'drakconf' I get [gd@localhost gd]$ ssh -X -l gd 192.168.1.1gd@192.168.1.1's password: [gd@localhost gd]$ drakconf Cannot be run in console mode. Compilation failed in require at /usr/lib/libDrakX/my_gtk.pm line 17. BEGIN failed--compilation aborted at /usr/lib/libDrakX/my_gtk.pm line 17. Compilation failed in require at /usr/bin/drakconf line 37. BEGIN failed--compilation aborted at /usr/bin/drakconf line 37. Now if I type 'harddrake2' I get: [root@localhost gd]# harddrake2 Cannot be run in console mode. Compilation failed in require at /usr/lib/libDrakX/harddrake/ui.pm line 8. BEGIN failed--compilation aborted at /usr/lib/libDrakX/harddrake/ui.pm line 8. Compilation failed in require at /usr/sbin/harddrake2 line 5. BEGIN failed--compilation aborted at /usr/sbin/harddrake2 line 5. If I type 'drakfirewall', 'xf86config' and some others, the console app is started. try:ssh -n host mozilla & and if it stills not working, then check your host's ssh_config has the "ForwardX11" parameter enabled another try is 'xhost +host' Just some thoughts. the 'xhost +host' doesn't work either and 'ssh -h host mozilla &' gives nothing.. I'm left if MY local console and mozilla doesn't start. :-( Any idea ? MOttS Quote Link to comment Share on other sites More sharing options...
Glitz Posted January 12, 2003 Report Share Posted January 12, 2003 Just a long shot but you don't have any firewalls that have closed the port for X11 access do you (I don't recall off hand what the port number is)? Glitz. Quote Link to comment Share on other sites More sharing options...
MottS Posted January 12, 2003 Author Report Share Posted January 12, 2003 I use Shorewall as a firewall. I opened ports 6000, 6010 and 7100 (check in /etc/services for info) via the MCC and restarted shorewall and sshd. Still no luck I started to use another tool --> TightVNC. I already know how to use it so it's simple for me. However if someone have another idea I'd like to try it .. Thx MottS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.