Page 1 of 2
Qt: Session management error
Posted: 10. Nov 2012, 04:02
by deserter
Hi,
I try to run tor bundle when i read some info about this software randomly, I got this error every time i run it :
Launching Tor Browser Bundle for Linux in /home/leon/apps/tor-browser_zh-CN
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
the tor seems to work well, I have done some google searching, still can't figure it out.
I run salix xfce rc1 with qt installed .
Any idea ?
Re: Qt: Session management error
Posted: 10. Nov 2012, 11:06
by djemos
First remove your tor bundle installation
Download this folder with all files from
tor-browser
open a terminal
cd to tor-browser folder
and type
Code: Select all
fakeroot _language=zh-CN slkbuild -X
to build the i686 package
or
Code: Select all
arch=x86_64 _language=zh-CN fakeroot slkbuild -X
to build the x86_64 package
then as root
installpkg tor-browser-zh-CN-2.2.39.5-i686-1dj.txz
or
installpkg tor-browser-zh-CN-2.2.39.5-x86_64-1dj.txz
Become normal user
and run tor-browser
Write here if you get the same message.
Re: Qt: Session management error
Posted: 13. Nov 2012, 00:07
by deserter
djemos , thanks first !
I do run tor-browser-bundle getting that error mesgs , not just tor . I followed your instruction and output is this : 'No SLKBUILD found in directory, see slkbuild --help' .
Did I miss anything! thanks again !
Re: Qt: Session management error
Posted: 13. Nov 2012, 00:18
by mimosa
deserter, if you downloaded the files inthat directory to a directory on your machine, and ran that command (not as root) from the downloaded directory, it should definitely work. One of the files *is* SLKBUILD.
By the way djemos, how do you do that anyway? If you copy the link and try to use wget it doesn't work ... I spent ages trying to work out how to do this in another situation and ended up giving up and downloading each file individually. Searching did turn up suggestions of some very complex switches to pass to wget, but surely there is a simpler way; and anyway, that approach sems to vary slightly depending on context. That's probably why I couldn't get it to work. I also tried other tools such as curl.
Re: Qt: Session management error
Posted: 13. Nov 2012, 10:59
by djemos
create a folder tor-browser
and run
Code: Select all
wget -r -np -nd http://people.salixos.org/djemos/salix/tor-browser/
remove html files
and create the i686 english language package
or zh-CN i686 package
Code: Select all
_language=zh-CN fakeroot slkbuild -X
for x86_64 english language package
for x86_64 zh-CN language package
Code: Select all
arch=x86_64 _language=zh-CN fakeroot slkbuild -X
Re: Qt: Session management error
Posted: 13. Nov 2012, 23:00
by mimosa
djemos, as well as the index files, that command proceeded to download the whole of your repo. That's exactly the sort of trouble I had before. It did get the right stuff first, but then it must have goneup the tree, dispite -np. Here is the exact command I gave from command history:
Code: Select all
cashew[tor_djemos]$ wget -r -np -nd http://people.salixos.org/djemos/salix/tor-browser
And here's a sample of the files:
Code: Select all
cashew[tor_djemos]$ ls *txz
GeoIP-1.4.8-i486-1dj.txz Mako-0.3.4-i486-2dj.txz MarkupSafe-0.9.3-i486-1dj.txz SDL_Pango-0.1.2-i486-3dj.txz SDL_gfx-2.0.24-i486-1dj.txz tor-browser-en-US-2.2.39.5-i686-1dj.txz
GeoIP-1.4.8-x86_64-1dj.txz Mako-0.3.4-x86_64-2dj.txz MarkupSafe-0.9.3-x86_64-1dj.txz SDL_Pango-0.1.2-x86_64-3dj.txz SDL_gfx-2.0.24-x86_64-1dj.txz tor-browser-en-US-2.2.39.5-x86_64-1dj.txz
cashew[tor_djemos]$
That time I actually stopped it quite quickly, but before it got as far as k3b

Re: Qt: Session management error
Posted: 14. Nov 2012, 02:11
by laprjns
mimosa wrote:djemos, as well as the index files, that command proceeded to download the whole of your repo.
Apparent the trailing "
/" is very important to the -np option. Try:
Code: Select all
wget -r -np -nd http://people.salixos.org/djemos/salix/tor-browser/
Re: Qt: Session management error
Posted: 14. Nov 2012, 07:26
by djemos
Thanks laprjns. I forgot to put "/" on the above command. I edit the above post of me adding the "/"
Re: Qt: Session management error
Posted: 14. Nov 2012, 10:08
by mimosa
Thanks to you both. Tricky stuff! I say there's room in the Linux ecosystem for a command to do the task with more straightforward syntax.
I don't know anything about html, but I imagine the root cause is that a website doesn't distinguish between a link and a subdirectory, so it's difficult to stop any recursive option getting out of control - or wget morphing into a webcrawler.
See this site that aims to plug gaps in the "unix toolspace":
http://joeyh.name/code/moreutils/
Back on topic: good luck with tor.

Re: Qt: Session management error
Posted: 14. Nov 2012, 10:17
by laprjns