Installing xfce after netinstall

New to Debian (Or Linux in general)? Ask your questions here!

Re: Installing xfce after netinstall

Postby vbrummond » 2011-11-02 20:08

layr wrote:That is available only when you select to allow logging in as root.


I am sorry but.. back up. You disabled root intentionally and then state that the installer does not ask for a root password? Disabling root prompt is only available if you choose to use a more verbose installer as well. You can probably make a root account if you give it a password, but I would make sure before you do I do not have vbox up to test if it breaks anything. :) (I usually have a root account I never disabled it until this install).
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Installing xfce after netinstall

Postby layr » 2011-11-02 20:15

Haha:D I thought the 'login as root' was as for logging from login page only:D
Then again, Ubuntu doesn't even have that option, yet root passwords work?!
(i'm probably mixing something up again). Well, i'll go with the root login option then :)
User avatar
layr
 
Posts: 81
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

Postby vbrummond » 2011-11-02 20:27

Ubuntu actually is set up with no root login, which some people complain about. To be honest I really see no difference and find sudo to be more convenient. (except when I have to echo something into a file, I need to log into a root shell with sudo su)
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Installing xfce after netinstall

Postby layr » 2011-11-03 08:15

Ok, got that working now.
But suspend option is still a no-go :(
User avatar
layr
 
Posts: 81
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

Postby vbrummond » 2011-11-03 08:17

All I know about suspend is your hardware must support it under Linux (never had it work with nvidia cards) and you need pm-utils installed.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Installing xfce after netinstall

Postby layr » 2011-11-03 08:23

vbrummond wrote:All I know about suspend is your hardware must support it under Linux (never had it work with nvidia cards) and you need pm-utils installed.

pm-utils - check
and suspend worked under ubuntu (only hibernation goofed every now-and-then)
I should add that i now started testing on VM. That might be the problem. I'll try it on separate partition and post results.
User avatar
layr
 
Posts: 81
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

Postby vbrummond » 2011-11-03 08:33

If it can work under Linux then it is possible, obviously. A log of a failed suspend would help but I am not sure how to obtain that data unless it is under the back-up dmesg log. (/var/log/dmesg.1?). Also which Ubuntu version worked.. Debian Stable uses 2.6.32, which is the same as Ubuntu Lucid. You can optionally install a newer kernel in Debian that might fix the issue.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Installing xfce after netinstall

Postby Thorny » 2011-11-03 11:23

layr wrote:...
Then again, Ubuntu doesn't even have that option, yet root passwords work?!
(i'm probably mixing something up again).


Yes, you are mixing something up, or rather, misinterpreting. In default Ubuntu, user, root, does not have a password except in cases where a desktop install has been re-configured to have one or in server installs where one is usually desired. The admin user (first one created) can sudo (with the user password) but that is not a user, root, password.

vbrummond wrote:A log of a failed suspend would help but I am not sure how to obtain that data


Try: /var/log/pm-suspend.log, it might have useful information.
User avatar
Thorny
 
Posts: 542
Joined: 2011-02-27 13:40

Re: Installing xfce after netinstall

Postby el_koraco » 2011-11-03 11:49

layr wrote:Ok, got that working now.
But suspend option is still a no-go :(


run

Code: Select all
su -c 'pm-suspend'


and input your root password, or

Code: Select all
sudo pm-suspend

with your user password.
I still don't get which of the admin options you're using.
User avatar
el_koraco
 
Posts: 178
Joined: 2011-10-20 11:49

Re: Installing xfce after netinstall

Postby layr » 2011-11-03 20:31

layr wrote:I should add that i now started testing on VM. Might that might be the problem?

Did you copy that? Added this later. At this second i can't get to wired connection, so i can try installation on partition later.
vbrummond wrote:If it can work under Linux then it is possible, obviously. A log of a failed suspend would help but I am not sure how to obtain that data unless it is under the back-up dmesg log. (/var/log/dmesg.1?). Also which Ubuntu version worked.. Debian Stable uses 2.6.32, which is the same as Ubuntu Lucid. You can optionally install a newer kernel in Debian that might fix the issue.

Worked under Ubuntu 10.10 and 11.04 (haven't tested others). Current kernel is 3.0.0.1
Not sure if this is what you mean, but here they are: dmesg and dmesg.0

el_koraco wrote:run
Code: Select all
su -c 'pm-suspend'

and input your root password, or
Code: Select all
sudo pm-suspend

with your user password.
I still don't get which of the admin options you're using.

Those commands didn't do anything - no error either.
As for the admin options... i'm not sure either to be honest. I just reinstalled again and added my user to the sudoers file.
EDIT: finally managed to generate error by getting suspend button to panel. "Failed to suspend session. No kernel support"
User avatar
layr
 
Posts: 81
Joined: 2011-10-11 15:07

Re: Installing xfce after netinstall

Postby nadir » 2011-11-04 04:59

The best is to get rid of sudo altogether.
The second best would be to understand sudo, and what it might be used for. The Ubuntu way is not what it might be used for.
(That is not against Ubuntu, i don't care how they do it, and it probably is a distro as good or bad as any other. I only say that using sudo that way doesn't make much sense, and leads to trouble too. There must be a reason all other distributions do it different, or not? I doubt that is the source of your actual problem, but i picked the best option, instead of the second best. That means i use su).
The most short way to say how i do things: i use the Debian defaults. I ain't got much problems, though i don't know much.
If you know why you use sudo ignore my post.

"Failed to suspend session. No kernel support"

No clue, i never suspend, but i would simply try a different kernel, say liquorix. The other option is to search the web for that (until someone can tell you, i can't).
If you still do it in VBox go to -> settings -> system -> processor -> and enable PAE at the bottom of it (wild shots in the dark).

btw: at the very top of this thread you ask about xfce/compiz. It works good for me (but so does gnome...). It is worth a try.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: Installing xfce after netinstall

Postby vbrummond » 2011-11-04 09:55

I was not able to find a way to suspend inside virtualbox.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: Installing xfce after netinstall

Postby el_koraco » 2011-11-04 11:12

nadir wrote:The best is to get rid of sudo altogether.


It's a few letters, don't make a big deal out of it.
@layr, it doesn't even make sense to troubleshoot suspending in a VM. Once you put Debian on a partition, we can diagnose the problem (in case it persists).
User avatar
el_koraco
 
Posts: 178
Joined: 2011-10-20 11:49

Re: Installing xfce after netinstall

Postby nadir » 2011-11-04 14:33

no, it is not a few letters.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: Installing xfce after netinstall

Postby ivanovnegro » 2011-11-04 14:46

I am with @el_koraco, I use sudo, do not see any problem with it.
ivanovnegro
 
Posts: 729
Joined: 2011-06-04 20:06
Location: Valencia, Spain

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable