Qt: Session management error

You have a problem with Salix? Post here and we'll do what we can to help.
deserter
Posts: 15
Joined: 2. Nov 2012, 02:44

Qt: Session management error

Post 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 ?
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Qt: Session management error

Post 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

Code: Select all

tor-browser-zh-CN
Write here if you get the same message.
deserter
Posts: 15
Joined: 2. Nov 2012, 02:44

Re: Qt: Session management error

Post 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 !
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Qt: Session management error

Post 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.
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Qt: Session management error

Post by djemos »

create a folder tor-browser

Code: Select all

mkdir tor-browser

Code: Select all

cd tor-browser
and run

Code: Select all

wget -r -np -nd http://people.salixos.org/djemos/salix/tor-browser/
remove html files

Code: Select all

rm index.html*
and create the i686 english language package

Code: Select all

fakeroot slkbuild -X
or zh-CN i686 package

Code: Select all

_language=zh-CN fakeroot  slkbuild -X
for x86_64 english language package

Code: Select all

arch=x86_64 fakeroot slkbuild -X
for x86_64 zh-CN language package

Code: Select all

arch=x86_64 _language=zh-CN fakeroot slkbuild -X
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Qt: Session management error

Post 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 :)
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Qt: Session management error

Post 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/
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Qt: Session management error

Post by djemos »

Thanks laprjns. I forgot to put "/" on the above command. I edit the above post of me adding the "/"
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Qt: Session management error

Post 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. :)
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Qt: Session management error

Post by laprjns »

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
Post Reply