Display Properties/ Admin Rights?

Asked by Coby Gleason

I am trying to use the s-video out on my laptop (toshiba m105-s3041) I bring up the display properties, but it says that I need admin rights to change all of these settings. The problem is that it does not bring up a password prompt so that I can access this. What I would like to do ultimately is get rid of a lot of the password prompts that ubuntu has. Keep in mind that I am very new to linux and would need step step instructions. I appreciate any help. Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#1

Quoting Coby:
Keep in mind that I am very new to linux and would need step step instructions.

That is the prime reason why you should NOT try to get rid of the password prompts.
The reason why M$ Windows is so easy to break is the mostly flawed security model where the home user stays logged in as an administrator all the time.

Here's some useful reading:
https://help.ubuntu.com/community/RootSudo
http://www.psychocats.net/ubuntu/security

Ideally, you should not need to change any files outside of /home/user/ that often.

To alter the screen resolution, run 'gksu displayconfig-gtk'. This however should also be accessible via the gnome menu under "System > Preferences > Screen Resolution"

Revision history for this message
Coby Gleason (cobygleason) said :
#2

I am not really concerned about security, if having security means that I need a password to change my display properties. Well what I am trying to say is that I do not want security that compromises my ease of use. I do appreciate your help very much. Very fast response might I add. However I am still new to using the terminal, I do not want to change my resolution, i want to extend my desktop to my television through s-video so that I can watch videos on a larger screen. When I go to display properties it says I need a admin rights, but does not give me a prompt to enter my password. I feel this to be entirely unnecessary due to the probability of someone hacking my display properties to be slim to none.

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#3

Coby -

it might sound a bit odd at first, but consider this one:
The greatest threat to the security of your system are not "hackers" but the users themselves, i.e. you.

Once a Linux system is setup it very rarely needs alteration. The user should operate entirely in /home/user/, which he has the rights/permissions to access and write to.

I understand, that, as a home user, you have very little fear of outside threats. There indeed is no need to, especially since you're running linux (no viruses or any other kind of malware).

Being prompted for a password should be seen as a sort of reminder that you are about to change something that can have a serious effect on the stability of your system.

The fact that you are not is odd indeed. You should always be prompted for a password when executing applications listed under "System > Administration" in the gnome menu. Some have an "Unlock" button to bring up a prompt though. Have you seen that?
If you don't want to use a shell interface (the terminal, or Konsole in KDE), gksu displayconfig-gtk can also be executed from the "Run" dialog - press Alt+F2.

By the way, the default timeout for root access is 5 minutes. So once you have been asked for a password in the shell (i.e. executed something with sudo/gksu, you shouldn't be asked for a password again in that period of time).
You can lengthen this timeout by editing '/etc/sudoers', but I'd advise against it for security reasons. You'd be doing this at your own risk.

If you choose to do it, make a backup of the sudoers file first:
sudo cp /etc/sudoers /etc/sudoers.bak
Then, open sudoers with (and only with)
export EDITOR=gedit && sudo -E visudo
Then look for the "Defaults" section and change this
Defaults passwd_timeout=XX
where XX is the timeout in minutes. If "Defaults" doesn't exist, paste the entire line.

In some other distros it is common to log in as root. In Ubuntu the root account has been disabled. Theoretically you can anable it, but I'd STRONGLY advice against it and will not give a tutorial on how to do it. Enabling the root account is entirely against the Ubuntu security model.
You can google for this, but I promise - please don't be offended here - your system won't last a week.

Revision history for this message
Coby Gleason (cobygleason) said :
#4

 Thank you very much, I truly appreciate your great advice and quick response time.

Revision history for this message
Coby Gleason (cobygleason) said :
#5

That at least allowed me to edit the graphics properties but apparently my s-video out doesnt work. I am using an intel 945 graphics card, and the driver should have already have been installed with ubuntu correct? Is there anything I can do to get s-video to work? Any help is appreciated. Keep mind I am extremely new to linux.

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#6

On the graphics issue, please open a terminal from "Applications > Accessories > Terminal" and type

sudo lshw -C display

Hit Enter. Now please copy/paste the output in here to check whether you're drivers are installed.

Further typing

gksu displayconfig-gtk

and hitting Enter. You should get to a new menu. Under the "Graphics Card" tab, click on driver, select "Choose by model" and pick Intel - 945. Under the "Screen" tab, there should be Screen1 and Screen 2.

If not your card or it's driver might not support two screens. This doesn't necessarily mean you can't clone the image.

Navigate to "System > Preferences > Screen Resolution" and on the top tick the box next to "Clone Screen"

Revision history for this message
Coby Gleason (cobygleason) said :
#7

coby@coby-laptop:~$ sudo lshw -C display
[sudo] password for coby:
  *-display:0 UNCLAIMED
       description: VGA compatible controller
       product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 03
       width: 32 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list
       configuration: latency=0
  *-display:1 UNCLAIMED
       description: Display controller
       product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2.1
       bus info: pci@0000:00:02.1
       version: 03
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: latency=0

Revision history for this message
Johannes Pilkahn (j-pilkahn) said :
#8

Coby -

drivers are not installed. If they were, The "UNCLAIMED" should disappear and the last line should be

configuration: driver=intel latency=0

To setup the drivers properly, follow the latter above instructions, in other words:

Open a terminal from "Applications > Accessories > Terminal" and type

gksu displayconfig-gtk

hit Enter.
You should get to a new menu. Under the "Graphics Card" tab, click on driver, select "Choose by model" and pick Intel - 945. Under the "Screen" tab, there should be Screen1 and Screen 2.

If not your card or it's driver might not support two screens. This doesn't necessarily mean you can't clone the image.

Navigate to "System > Preferences > Screen Resolution" and on the top tick the box next to "Clone Screen"

Can you help with this problem?

Provide an answer of your own, or ask Coby Gleason for more information if necessary.

To post a message you must log in.