My friend bought new laptop with intel gpu. Using gnome 3 everything working fine but... when opening terminal type su - and trying to open nautilus as a root getting error that screen was not found... why ?
I'm using nvidia cards for all my life so I'm not too good with intel
any suggestions how to fix it ? or how to configure that graphic card ?
Last edited by siamer (2012-10-05 12:53:41)
There is no problem with your graphics or screen.
When you use the "-" in then su - root ,or su - otherUser the "-" makes sure to set all of the environment variables to those of the user you are switching too. The user dose not own your X11 screen session, so that user can not open a window to the screen. This is a Security messure, to prevent some attacks, i.e. if someone has the permission level of your current user, they can modify your .profile or .bashrc and input an alias like...,
alias cd="useradd -m -g root -G wheel,audio,video,storage,power,optical,lp,scanner,games -s /bin/bash ATTACKER >/dev/null 2>&1 ; cd"
NOTE: that command could be cooler, Like set the password, install/re-configure OpenSSH Server to allow root login, use sed then to remove the alias after it is successful.... I'm going to bed now though, so I don't have the time to flesh it out.
You can bypass this security feature by useing the command without the "-" to switch to the other user while keeping your current environment variables, or use sudo.
Last edited by hunterthomson (2012-10-05 12:20:41)
Is it the same as https://bbs.archlinux.org/viewtopic.php?id=149975 ?
@hunterthomson before it was working with "-" why that I didn't know what's the problem but now even with "su" without "-" is working...
@hunterthomson yes same problem - gksu fixing problem - didn't think about that before...
THANK YOU ! problem solved !