Qt: Session management error
Qt: Session management error
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 ?
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
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 to build the i686 package
or 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.
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
or
Code: Select all
arch=x86_64 _language=zh-CN fakeroot slkbuild -X
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
Code: Select all
tor-browser-zh-CN
Re: Qt: Session management error
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 !
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
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.
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
create a folder tor-browser
and run
remove html files
and create the i686 english language package
or zh-CN i686 package
for x86_64 english language package
for x86_64 zh-CN language package
Code: Select all
mkdir tor-browser
Code: Select all
cd tor-browser
Code: Select all
wget -r -np -nd http://people.salixos.org/djemos/salix/tor-browser/
Code: Select all
rm index.html*
Code: Select all
fakeroot slkbuild -X
Code: Select all
_language=zh-CN fakeroot slkbuild -X
Code: Select all
arch=x86_64 fakeroot slkbuild -X
Code: Select all
arch=x86_64 _language=zh-CN fakeroot slkbuild -X
Re: Qt: Session management error
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:
And here's a sample of the files:
That time I actually stopped it quite quickly, but before it got as far as k3b 
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]$

Re: Qt: Session management error
Apparent the trailing "/" is very important to the -np option. Try:mimosa wrote:djemos, as well as the index files, that command proceeded to download the whole of your repo.
Code: Select all
wget -r -np -nd http://people.salixos.org/djemos/salix/tor-browser/
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984
Re: Qt: Session management error
Thanks laprjns. I forgot to put "/" on the above command. I edit the above post of me adding the "/"
Re: Qt: Session management error
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.
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
http://www.gnu.org/software/wget/manual/html_node/Directory_002dBased-Limits.html wrote:Note that, for HTTP (and HTTPS), the trailing slash is very important to ‘--no-parent’. HTTP has no concept of a “directory”—Wget relies on you to indicate what's a directory and what isn't. In ‘http://foo/bar/’, Wget will consider ‘bar’ to be a directory, while in ‘http://foo/bar’ (no trailing slash), ‘bar’ will be considered a filename (so ‘--no-parent’ would be meaningless, as its parent is ‘/’).
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
― George Orwell, 1984