Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: jab on September 05, 2022, 02:06:59 PM
-
Hi Team,
I installed picore 13.1.0 on my old Raspberry today. Previously, I was using Raspian OS lite but its response was not good for me.
When I connect to picore with Mobaxterm, I get following info with start of my session. It was enabled / available with Raspian OS
X11-forwarding : ? (disabled or not supported by server)
I have edited /usr/local/etc/ssh/ssh_config file and uncommented and enabled - ForwardX11 yes.
Saving the file and adding it to /opt/.filetool.lst worked. After reboot, I can see the setting stays enabled
However X11-forwarding still shows as disabled or not supported by server.
I want to connect to picore from my windows machine via Mobaxterm and launch browser via xterm. That way I can bypass restriction on my windows machine and browse youtube , gmail etc websites.
Any one else is doing similar setup / config ?
Please let me know how I can do this. Apologies if this topic is covered some where else.
Regards,
Jab
-
Maybe I’m missing something here, but is x running on your piCore machine?
-
Thanks Juanito for your reply.
I am new to this world so may be I am missing something basic.
I assumed it will be started by default. Any link/wiki for installing configuring Xserver on picore. I followed the GUi / Desktop steps and I assumed it will take care of it
I can see a process for Xorg
tc@box:~$ ps -ef |grep x
38 root [xprtiod]
314 root [ext4-rsv-conver]
1286 root /usr/local/lib/xorg/Xorg -nolisten tcp
1295 root /sbin/udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
-
Maybe you could get something from this old thread:
http://forum.tinycorelinux.net/index.php/topic,16224.0.html
I just searched in the forum for xauth.
You can also install putty and xming on windows machine.
https://laptops.eng.uci.edu/engineering-software/using-linux/how-to-configure-putty-xming-on-your-laptop
-
I gather you want the browser to display on your Windows computer, not the Pi, so you don't need an X server running on PiCore, but you do want one running on Windows (that seems to be what MobaXterm is).
You've got Xorg running on the Pi, but that shouldn't harm anything, it's just not required. If MobaXterm works like OpenSSH then it should automatically export the DISPLAY environment variable so that programs are opened on the Windows computer's X server instead of Xorg on the Pi. Maybe try connecting without Xorg running on the Pi in case something's not working right with how MobaXterm does that.
Also if you have another computer running Linux and Xorg, try using "ssh -X" to do the same thing from that instead of the Windows computer, just to see whether the problem is specific to MobaXterm.
-
It'd be lower overhead to use SSH's proxy instead of tunneling a whole app, assuming you have the permissions to set the proxy on your local Windows browsers.
-
It'd be lower overhead to use SSH's proxy instead of tunneling a whole app, assuming you have the permissions to set the proxy on your local Windows browsers.
That will not work for me. My WIndows laptop is locked via Zscaler. Mail , whatsapp , facebook etc is blocked.
I am surprised how this forum website is allowed 8)
-
I gather you want the browser to display on your Windows computer, not the Pi, so you don't need an X server running on PiCore, but you do want one running on Windows (that seems to be what MobaXterm is).
You've got Xorg running on the Pi, but that shouldn't harm anything, it's just not required. If MobaXterm works like OpenSSH then it should automatically export the DISPLAY environment variable so that programs are opened on the Windows computer's X server instead of Xorg on the Pi. Maybe try connecting without Xorg running on the Pi in case something's not working right with how MobaXterm does that.
Also if you have another computer running Linux and Xorg, try using "ssh -X" to do the same thing from that instead of the Windows computer, just to see whether the problem is specific to MobaXterm.
Thanks CNK for your reply.
Yes, I want browser to display on windows computer. I was able to do it out of the box with Mobaxterm and Raspian OS Lite. But performance was not good, so I wanted to try with picore.
I will try with another linux machine over weekend and will post results here.
Thanks
-
It'd be lower overhead to use SSH's proxy instead of tunneling a whole app, assuming you have the permissions to set the proxy on your local Windows browsers.
Many thanks for your tip Curaga. I spoke too soon.
I tried setting up a tunnel with putty and used that in firefox socks proxy.. and guess what it worked 8)
I was not aware of this option. Again thanks for your help.
It solves my issue to access blocked websites..so I think we can mark tis thread as resolved.
I will continue exploring tinycore and see what else I can do with it.
Thaks a ton guys.. you all are awesome