Help me BORK! my install
Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
Help me BORK! my install
Hello Folks: Zephyr here, refugee from #!, not really-use with it sid still. Got a question if someone can help or just tell me i'm broken or snafued. I got a good install, but on boot up, i am prompted for a user and passwd, so i use "root" & "root" for passwd, then I changed to my own root passwd. then i'm still prompted for another entry. I am relatively new to Linux and although i do have siduction, aptosid, #! and vsido on my pc, not familiar with what i'm encountering. i'm a distro-hopper, but two empty drives. Just want to get to the desktop. Appreciate the help-zephyr
Re: OPENBOX: BORK! Release Notes
Quoting over page break:
Support Section
You should have setup a user instead of logging in with root if you're asking about init-ing X, but assuming you'd like to ignore my advice and roll face-first into running as root, use "startx" to initialize xserver (der desktop!).
At least I take it that this is what you mean by "prompted for another entry". Specifics keep me from giving you a bunch of bullshit useless advice, so if this doesn't help, then please provide useful info like what prompt you're seeing: bash, some sub-prompt during changing passwd, etc.
Also worth mentioning, Bacon normally uses "bbq:bbq" for a live user, if you need that. If you need advice on setting up a new user, there are numerous examples for adduser or useradd on the internet.
First off, support questions goes here:zephyr wrote:Hello Folks: Zephyr here, refugee from #!, not really-use with it sid still. Got a question if someone can help or just tell me i'm broken or snafued. I got a good install, but on boot up, i am prompted for a user and passwd, so i use "root" & "root" for passwd, then I changed to my own root passwd. then i'm still prompted for another entry. I am relatively new to Linux and although i do have siduction, aptosid, #! and visudo on my pc, not familiar with what i'm encountering. i'm a distro-hopper, but two empty drives. Just want to get to the desktop. Appreciate the help-zephyr
Support Section
You should have setup a user instead of logging in with root if you're asking about init-ing X, but assuming you'd like to ignore my advice and roll face-first into running as root, use "startx" to initialize xserver (der desktop!).
At least I take it that this is what you mean by "prompted for another entry". Specifics keep me from giving you a bunch of bullshit useless advice, so if this doesn't help, then please provide useful info like what prompt you're seeing: bash, some sub-prompt during changing passwd, etc.
Also worth mentioning, Bacon normally uses "bbq:bbq" for a live user, if you need that. If you need advice on setting up a new user, there are numerous examples for adduser or useradd on the internet.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: OPENBOX: BORK! Release Notes
Zephry - You might want to make a bit of an introduction thread, also.
If you wish: http://linuxbbq.org/bbs/viewforum.php?f=7
It does ask you to verify password when you change using passwd - but you knew that - right?
If you wish: http://linuxbbq.org/bbs/viewforum.php?f=7
It does ask you to verify password when you change using passwd - but you knew that - right?
Re: OPENBOX: BORK! Release Notes
if you do it like bacon said in the first post here, it should work:
to change the root password. then add your own user.
(i think, or is it just adduser? cant check, not on linux, try it)
now log out of the root user ('exit'), log into your new user. then to start the desktop, indeed as noted above, 'startx'
so, as soon as the thing is installed and you get a command line, doBORK! The name says it all. You are not afraid of sid/experimental? GTK3 is on your blacklist? You don't need no systemd? Your computer is from the last decade, has a RAM size of three digits and a CPU that powers a solar calculator? You give a flying fuck about GPT and UEFI, just want to give your smelly Pentium a new home? You promise not to use btrfs and lvm? To update, upgrade and install packages you use the excellent 'apt' command? You believe in beards, sandals, marijuana and/or clicky keyboards? You like process trees that don't need a scroll wheel to display all their beauty? You know that 'sudo bbqinstall' or 'sudo bbqinstaller' will put the live system onto a prepared partition? You remember that the passwords for the live session are 'bbq' and 'root'? You have heard of the mighty 'adduser' wrapper? You absolutely want to change to root password after installation because 'root' is simply not safe enough?
Code: Select all
passwd root
Code: Select all
adduser zephry
now log out of the root user ('exit'), log into your new user. then to start the desktop, indeed as noted above, 'startx'
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Help me BORK! my install
^ even easier than that, as you say adduser <user> - 'exit' then log in and it goes straight to X.
root doesn't go auto to X. for the extremely useful reason - if you bork you X GFX (as I did ) you can pick up the pieces using root.
root doesn't go auto to X. for the extremely useful reason - if you bork you X GFX (as I did ) you can pick up the pieces using root.
Re: Help me BORK! my install
^ aah, that is on a default bork i suppose? suddenly realize it doesnt do that for me and it probably has something to do with me installing i3 and not setting up some type of autostart. oh well.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.
Re: Help me BORK! my install
I always et a kick out if this. Dude comes here, opens a thread to ask for help, and the entire thread consists of us talking to each other with no sign of the OP again.
Work hard; Complain less
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Help me BORK! my install
^ I know I try to refrain, we really try to help, and yes end up chatting again :)
user comes back a week later: "Oh never mind - I installed OpenSUSE instead, because I like green, and aren't lizards cool?"
user comes back a week later: "Oh never mind - I installed OpenSUSE instead, because I like green, and aren't lizards cool?"
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Help me BORK! my install
yeah - default setting, for a fresh user, is right into OB.rhowaldt wrote:^ aah, that is on a default bork i suppose? suddenly realize it doesnt do that for me and it probably has something to do with me installing i3 and not setting up some type of autostart. oh well.
No idea what you've done... :P
Re: Help me BORK! my install
roald, did you edit (or replace) ~/.bash_profile? That's where X is autostarted.wuxmedia wrote:rhowaldt wrote:yeah - default setting, for a fresh user, is right into OB.
No idea what you've done... :P
Note that the BORK bash_profile only autostarts X on tty1, so if you log in on any other tty, X is not autostarted (this is useful if you mess up your graphics or just want to switch to a console while you are in X).
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Help me BORK! my install
^ And that is why this is a sweet install, the little touches that count, not - what colour shall the GTK highlight be, or what the logo looks like.
I think debian managed a good 6 years without a logo at all...
dammit - .bash_profile, forgot to look in there :(
I think debian managed a good 6 years without a logo at all...
dammit - .bash_profile, forgot to look in there :(
Re: Help me BORK! my install
I'm not sure if you were implying that this is a new feature in BORK, but several bbq spins have this or a similar feature -- Popcorn only autostarts X on tty1, and Cream, Zijwaarts, and Haggis only start the ncurses session chooser on tty1. Both methods allow normal login on any other tty. I'm sure there are other examples, but those are the only ones I have handy to test. And I also understand what you are saying about what we think is important vs. some other distros.wuxmedia wrote:^ And that is why this is a sweet install, the little touches that count
Wow, this has gone way off topic from the OP. Sorry.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Help me BORK! my install
^ I may have noticed it in others, BORK is a new install to me (after Arrogance and only playing with a few spins), so I suppose it seems like a new feature.
The offtopic is another reason we are here isn't it?
The offtopic is another reason we are here isn't it?
Re: Help me BORK! my install
@pids: i havent changed it that i know of. but i dont quite get why it isnt autostarting when bash_profile seems to instruct it to do so...
indeed, dunno what i did :D
Code: Select all
[12:34:59]$ cat .bash_profile
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
. "$HOME/.bashrc"
[[ -z $DISPLAY && $TERM = "linux" && `tty` = "/dev/tty1" ]] && exec startx
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Help me BORK! my install
does your TERM=linux? does your TTY='/dev/tty'
Isn't there a song with those sort of lyrics?
...oh yeah:
https://www.youtube.com/watch?v=60Juje0kK5Q
Isn't there a song with those sort of lyrics?
...oh yeah:
https://www.youtube.com/watch?v=60Juje0kK5Q
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Help me BORK! my install
The normal log in sequence is as follows:
- for root, the password is 'root' and it drops into a normal shell. This is because /root has no .bash_profile or .profile that handles anything like that.
- for normal users, the login is reading .bash_profile, and also .profile anbd .bash_profile, see man bash > Invocation. In past releases, where more than 1 WM was provided (or tmux and framebuffer sessions), we added a session chooser called 'bbqlogin'. This was started instead of startx in ~/.bash_profile. In single-WM releases the session chooser was replaced with startx.
- a fully automatic login without user input can be achieved by editing /etc/inittab (not in systemd!)
rho, you can replace the last line as follows:
and see if it brings you to X. If not, remove ~/.profile and ~/.bash_login, if existing. If still not worky, well - call us :)
Btw, this is only valid if echo $SHELL is /bin/bash, and not some other login shell.
- for root, the password is 'root' and it drops into a normal shell. This is because /root has no .bash_profile or .profile that handles anything like that.
- for normal users, the login is reading .bash_profile, and also .profile anbd .bash_profile, see man bash > Invocation. In past releases, where more than 1 WM was provided (or tmux and framebuffer sessions), we added a session chooser called 'bbqlogin'. This was started instead of startx in ~/.bash_profile. In single-WM releases the session chooser was replaced with startx.
- a fully automatic login without user input can be achieved by editing /etc/inittab (not in systemd!)
rho, you can replace the last line as follows:
Code: Select all
exec startx
Btw, this is only valid if echo $SHELL is /bin/bash, and not some other login shell.
..gnutella..
Re: Help me BORK! my install
thanks guys, will check this once i'm on my laptop again :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.
Re: Help me BORK! my install
so, Wux was right, and Jules gave me the simplest solution. indeed, changing that line in .bash_profile to just "exec startx" without the checks for the environment variables autostarts i3 on login. thanks! is there any relevant explanation as to why this works the way it does? in other words: why do these environment variables matter in openbox but not in i3? or am i misunderstanding what the problem is here?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.
- wuxmedia
- Grasshopper
- Posts: 6454
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: Help me BORK! my install
First time for everything :)rhowboat wrote:so, Wux was right
Perhaps you were starting on a different tty to /dev/tty1 ?
That line is still in my .bash_profile, and i3 is fine.
If only to understand what's happened, perhaps comment out the startx line in the profile, login and then echo those vars - to see what it gives...
Re: Help me BORK! my install
default for me is
Code: Select all
[10:49:31]$ echo $TTY
[10:49:34]$ echo $TERM
rxvt-unicode
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.