Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: bomahony on October 08, 2010, 08:40:45 AM

Title: Tinycore & X11 forwarding
Post by: bomahony on October 08, 2010, 08:40:45 AM
Just trying out tinycore for the first time and i like it.

Basically Im looking for a VM that i can forward X applications from various flavours of unix. Normally on these boxes (mainly AIX) i generally run "xhost +(machine)" on my linux desktop,  and then just "export DISLPAY=" on the server.

There is no xhost on tinycore. So i load XOrg. xhost works but the connection is still refused.

Anyone have any ideas or suggestions. I want to keep the process as simple as possible as it will be for end users with no linux experience.

Thx
Title: Re: Tinycore & X11 forwarding
Post by: curaga on October 08, 2010, 09:33:15 AM
You can either transport the .Xauthority key to the app-running-hosts, or you can start the X server on TC such that anyone can connect (add a firewall, or only run in a trusted network).

To let anyone connect, add the -ac option to Xvesa (before the -I option) in .xsession.
Title: Re: Tinycore & X11 forwarding
Post by: bomahony on October 08, 2010, 10:32:21 AM
Added that, restarted X. However im still getting the "Error: Can't open display: 172.16.160.148:0.0"

Tinycore is running as a VM, but is pingable from the network.

Title: Re: Tinycore & X11 forwarding
Post by: curaga on October 08, 2010, 10:33:56 AM
The next thing would be to remove the error redirection from the Xvesa line, and change to the console to see if there's any output from Xvesa.

edit: of course I'm assuming you have already removed "-nolisten tcp"?
Title: Re: Tinycore & X11 forwarding
Post by: bomahony on October 08, 2010, 11:02:08 AM
edit: of course I'm assuming you have already removed "-nolisten tcp"?

No i hadnt. Now i truely feel dumb. All working, thanks.