You are not logged in.
I have installed packages xorg-server xorg-xinit xorg-server-utils mesa and xf86-video-ati xf86-input-synaptics.
Then i tried to make X start at boot by edditing ~/.bash_profile to look like this:
[[ -f ~/.bashrc ]] && . ~/.bashrc
vt=$(fgconsole 2> /dev/null)
(( vt == 1 )) && exec startx -- vt$vt &> ~/.xlog
unset vtWhen i login in get the following error:
-bash: vt: command not foundI really dont know what is with this error... How can i fix it?
Last edited by 71GA (2012-10-09 19:41:56)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
With all due respect, you've been asking for a ton of help on a range of things, all of which are completely non-standard. I would recommend trying to fix them one at a time, doing all the appropriate research before filling the forum with such questions.
Offline
With all due respect, you've been asking for a ton of help on a range of things, all of which are completely non-standard. I would recommend trying to fix them one at a time, doing all the appropriate research before filling the forum with such questions.
I am asking because i already installed Arch following the same method, but this time i get a weird mistake. This is why i write into a NEWBIE forum.
Last edited by 71GA (2012-10-09 18:09:25)
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
The error was produced because there should be NO whitespace between "2>" and "/dev/null".
Maybe someone could warn new users to be as precise as this... Or maybee write down in Wiki,
that the code should be copied literally with all whitespaces staying the same.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
I just tried this and it worked perfectly for me. I also tried it with a space between 2> and /dev/null, and it still worked.
(edit) Code should always be copied exactly as written. There is no need to state this explicitly here.
Last edited by 2ManyDogs (2012-10-09 18:23:39)
Offline
I just tried this and it worked perfectly for me. I also tried it with a space between 2> and /dev/null, and it still worked.
(edit) Code should always be copied exactly as written. There is no need to state this explicitly here.
Can be done if you install in virtual box, but can't be done if you install on a real machine. In this case i allways have to rewrite the code which takes me a lot of time and i
can produce a mistake. So warning would be ok. I am a teacher and i know, how important is to warn newbies about tricks like this. Too bad you say this is not needed. It is.
I wonder how my students would find an inverse matrix if i wouldn't warn them about applying chekerbord to the reducced matrix before using adjugate formula...
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
What newbies? What are you talking about?
Why do you have to rewrite the code?
Last edited by karol (2012-10-09 18:36:32)
Offline
Can be done if you install in virtual box, but can't be done if you install on a real machine.
I ran it on a real machine. I don't use VMs. I even put several spaces between the 2> and /dev/null, and it still worked. It's quite simple to copy code from the wiki to a file on a real machine. I do it all the time, and it's what I did here.
And I stand by my statement that code should always be copied explicitly from the wiki without modification, unless you are absolutely sure you know what you are doing.
I'm tired of arguing with you and helping you with problems you should be able to solve yourself. Good luck.
Last edited by 2ManyDogs (2012-10-09 18:47:44)
Offline
2ManyDogs wrote:I just tried this and it worked perfectly for me. I also tried it with a space between 2> and /dev/null, and it still worked.
(edit) Code should always be copied exactly as written. There is no need to state this explicitly here.
Can be done if you install in virtual box, but can't be done if you install on a real machine. In this case i allways have to rewrite the code which takes me a lot of time and i
can produce a mistake. So warning would be ok. I am a teacher and i know, how important is to warn newbies about tricks like this. Too bad you say this is not needed. It is.I wonder how my students would find an inverse matrix if i wouldn't warn them about applying chekerbord to the reducced matrix before using adjugate formula...
But the great thing about Arch is that you teach yourself these things. Look, you learned your lesson on your own and it didn't require someone to teach it to you. For example, the problem here seems to be with Bash syntax. We've all taught ourselves Bash here (in fact, my Bash skills greatly improved after moving to Arch, all thanks to my need to fix problems for myself). Of course the forums are here for helping people, even newbies, but the general culture around here is that one tries to fix it oneself first, and clearly explains to everyone else what steps were taken to try to fix the problem before asking for help.
Offline
71GA wrote:Can be done if you install in virtual box, but can't be done if you install on a real machine.
I ran it on a real machine. I don't use VMs. I even put several spaces between the 2> and /dev/null, and it still worked. It's quite simple to copy code from the wiki to a file on a real machine. I do it all the time, and it's what I did here.
And I stand by my statement that code should always be copied explicitly from the wiki without modification, unless you are absolutely sure you know what you are doing.
I'm tired of arguing with you and helping you with problems you should be able to solve yourself. Good luck.
I meant you can't COPY/PASTE the code from Arch forum.
C, ARM, ARM assembly, HTML, CSS, JS, Linux
Offline
I meant you can't COPY/PASTE the code from Arch forum.
Of course you can. For a shared clipboard in VirtualBox, install the Guest Additions.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Can be done if you install in virtual box, but can't be done if you install on a real machine. In this case i allways have to rewrite the code
71GA wrote:I meant you can't COPY/PASTE the code from Arch forum.
Of course you can. For a shared clipboard in VirtualBox, install the Guest Additions.
And I copy/paste code on a real test machine all the time. "It is a poor workman who blames his tools."
Offline