Author

Topic: how can I start only the terminal on Ubuntu 11? (Read 4739 times)

member
Activity: 84
Merit: 10
when I'm on ssh and start the miner, how can I get the screen again after close and open again?

Use screen:

Code:
sudo apt-get install screen

Start your miners (assuming 2 GPUs) using:

Code:
/usr/bin/screen -dmS gpu0 phoenix.py -q 3 -v -u http://${MINERUSER}:${MINERPASS}@${MINERSERV} -k phatk WORKSIZE=128 VECTORS BFI_INT FASTLOOP=false AGGRESSION=15 DEVICE=0
/usr/bin/screen -dmS gpu1 phoenix.py -q 3 -v -u http://${MINERUSER}:${MINERPASS}@${MINERSERV} -k phatk WORKSIZE=128 VECTORS BFI_INT FASTLOOP=false AGGRESSION=15 DEVICE=1

Obviously, replace the variables with things that work for you.

Connect to a miner GPU0 using:
Code:
screen -r gpu0

To exit a miner screen and leave it running use:  CNTL-A, D


hero member
Activity: 700
Merit: 500
another question...



when I'm on ssh and start the miner, how can I get the screen again after close and open again?


for example:


I open ssh now and run some random miner, and then exits...

later the same day, I want to see how things are going, how can I open again and see the hashes? (echos/prints from the previous session)



Already tried the cat /dev/pts/2 but nothing happens, only black screen

unless you use screen or something, starting a miner then closing that ssh session will end the miner.
sr. member
Activity: 262
Merit: 250
Dubs Get
another question...



when I'm on ssh and start the miner, how can I get the screen again after close and open again?


for example:


I open ssh now and run some random miner, and then exits...

later the same day, I want to see how things are going, how can I open again and see the hashes? (echos/prints from the previous session)



Already tried the cat /dev/pts/2 but nothing happens, only black screen
full member
Activity: 168
Merit: 100
Firstbits: 175wn
Modify the default runlevel in /etc/inittab if you're using init.
If you're using systemd, change the default target link in /etc/systemd/system

Normally, runlevel 1 is single user mode, 3 is full multi-user, and 5 is multi-user with GUI. So you should change 5 to 3.

Ubuntu switched to upstart recently (they used to use inittab). Anyway, their runlevels were always messed up even when they used inittab - 1 was single user mode, 2 and up were multi-user w/ X.

Anyway, this got me thinking that the easiest way to disable X would probably be to modify the kernel options passed by GRUB.

In /etc/default/grub, there's a line like:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
replace it with:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"
and then run:
Code:
sudo update-grub

Then, at any time, you can simply run startx if you'd like to run X.
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
Modify the default runlevel in /etc/inittab if you're using init.
If you're using systemd, change the default target link in /etc/systemd/system

Normally, runlevel 1 is single user mode, 3 is full multi-user, and 5 is multi-user with GUI. So you should change 5 to 3.
full member
Activity: 168
Merit: 100
Firstbits: 175wn
I don't want to uninstall anything...

for ati mining, the xserver need to be running?

Yeah, Nvidia has a set of special scripts that let you run CUDA stuff without the xserver, but for ATI it has to be running. If you just want a more lightweight desktop you could try running LXDE or even just openbox on its own (which is what I do).

If you still want to not start the Xserver at boot, go to /etc/init.d, and move the files "gdm" and "xorg-common" somewhere else. If you do this, you can still start the xserver by running "startx".
sr. member
Activity: 262
Merit: 250
Dubs Get
I don't want to uninstall anything...


for ati mining, the xserver need to be running?
full member
Activity: 168
Merit: 100
Firstbits: 175wn
There are several ways.

If you want, you can just remove the entire xserver (package xserver-xorg).

Another way, if you want to keep X installed, is to go to /etc/init.d, and move the files "gdm" and "xorg-common" somewhere else.

Edit: If you're mining with an ATI card, you need the xserver running to mine. In that case, you might want to simply replace GNOME with a more lightweight alternative.
sr. member
Activity: 262
Merit: 250
Dubs Get
how can I do it with a normal version already installed?
hero member
Activity: 700
Merit: 500
Install the server version.
sr. member
Activity: 262
Merit: 250
Dubs Get
How can I start only the terminal, without the gnome, in Ubuntu 11?


already tried to uninstall gdm but had no success =/
Jump to: