You are not logged in.
Pages: 1
My english is very pool, and I'm an archlinux newbie ,but I want to tell something:
It may be a bug?
Because I had to write something like "pppoe-start" and "startxfce4" every time when I login(I use init 3 in my /etc/inittab),so I try to put them into rc.local,but I don't know how to do,and just simply write them down like below:
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
pppoe-start
startxfce4
When I reboot I found myself login root without password!
When I click "Log Out Dialog" and choose "Shut Down",it can't work,and I had to open terminal emulator then "shutdown -h now".
I "#pppoe-start" and it's the same,so it's because of the "startxfce4"
So,I think it may be a bug.
If you use xfce4,you can try.If it really a bug,let more people know and let archlinux team know.
If you are an chinese,you can see:
https://bbs.archlinux.org/viewtopic.php … 3#p1001933
Offline
I think you should be starting pppoe using the pppd daemon as described here: https://wiki.archlinux.org/index.php/PP … _with_pppd
And you should put the "startxfce4" line in your ~/.xinitrc file, not /etc/rc.local : https://wiki.archlinux.org/index.php/Xf … _boot_time
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Thank you!
But we still can login root without password,and it still unsafe?
Last edited by hi57lyh (2011-10-11 05:32:20)
Offline
That is expected behaviour. "startxfce4" doesn't need you to enter your login details, because it is supposed to be run after you log in (either manually, or by your shell profile, or by the login manager, etc). By adding it to rc.local, you're telling root to launch xfce4 immediately after the bootup process.
Yes, it is unsafe -- in my opinion you should never run a desktop environment as root -- but no, it's not a bug.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank you ,I learn more!
Do right thing by right way.
Offline
Pages: 1