SliTaz SliTaz Forum

You are not logged in.

#1 2015-11-13 10:20:23

emninger
Member
Registered: 2015-10-24
Posts: 53

console (CTRL-ALT-F1/F2) not working

I installed and have running privoxy > tor combo. They do what they are presumed to do. But, i note i cannot access anymore the console.

CTRl-ALT-F1 brings me to something which could appear as correct, but i cannot find the login prompt. I see the msg

[c]Welcome to your box[/c]

but i can't put in anything.

CTR-ALT-F2 brings me to the bootstrap msgs of tor. But also with no prompt.

CTRL-ALT-F3-F6 are not active. Is that by default?

CTRL-ALT-F7 works correctly.

Offline

#2 2015-11-14 13:22:21

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: console (CTRL-ALT-F1/F2) not working

To be able to do a closer research, i'd like to understand the startup/boot sequence(s) of Slitaz. As far as i can see: /etc/rcS.conf gives the general setup and passes over to /etc/init.d/ where the daemons and several shell scripts sit. Is that - grosso modo - correct.

In any case, i see, that in the script /etc/init.d/local.sh there is tor with this statement:

[c]tor > /dev/tty2 &[/c]

Now, why tor is directed to a console? In slackware, tor is started from within a terminal (not a console). May be, that's the reason why the console(s tty1 and) tty2 is (are) not accessible anymore?

How could be activated tty3 - tty6?

Offline

#3 2015-11-14 14:01:30

llev
Member
Registered: 2011-12-09
Posts: 568

Re: console (CTRL-ALT-F1/F2) not working

Hi,

rcS.conf is a config file. The bootup script is /etc/init.d/rcS. There you will find the order.

You can easily test your assumption by commenting out the given line (add a hash # as first character of that line).

Other consoles should be ready to use; they are on my PC. You can see this expected behaviour in /etc/inittab (which is a standard Linux file).

Offline

#4 2015-11-15 02:32:14

emninger
Member
Registered: 2015-10-24
Posts: 53

Re: console (CTRL-ALT-F1/F2) not working

Even simpler: i killed tor (by using htop) and, voilà, the consoles are *ALL* there (from 1 thru 6).

Now, i'd suggest, that the wiki, explaining how to install tor should be changed. The wiki says:

[c]# tazpkg get-install tor
# tazpkg get-install privoxy
# echo 'forward-socks4a /        127.0.0.1:9050   .' >> /etc/privoxy/config
# sed -r '/RUN_DAEMONS/s/(" *)$/ privoxy\1/' -i /etc/rcS.conf
# echo 'tor > /dev/tty2 & ' >> /etc/init.d/local.sh[/c]
It's the last line, which obviously creates trouble!

Tor in any case, can be run, also by user. The only point is, i'm not sure if this might create security problems (but i do not think so, because the TorBrowserBundle, shipped by tor, is also a process run and owned by the user - and not root).

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]