Fedora Linux Support Community & Resources Center
  #1  
Old 28th June 2011, 10:40 AM
Socky Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
linuxchrome
How to change the login screen Fedora 15

Hello,

I've tried to change the log-in screen on Fedora 15 (gnome3) to have a custom background, however none of the guides I've found have worked - I'm now left with a blue background with no image. They all follow the same instructions as this guide. (I did change the address and PID to my own ones, although the PID was always increasing everytime I typed it)

If I type this into the terminal logged in as my user I just get my desktop background changing, although I'm assuming this is correct.

Any ideas what I can do to solve this problem?
Thank you!
Reply With Quote
  #2  
Old 29th June 2011, 01:50 PM
m1boli Offline
Registered User
 
Join Date: Sep 2010
Posts: 13
linuxopera
Re: How to change the login screen Fedora 15

Assuming you are using gdm greeter, try this:

sudo -u gdm dbus-launch gnome-control-center

It will launch the gnome-control-center application, running out of the gdm account.
Nobody ever logs in as 'gdm' personally. But your gdm greeter runs out of this
account and the background image is the account's desktop wallpaper.

Now follow the menus to change the desktop background..

I think it is a good idea to put your background image in /usr/share/backgrounds/
(or /usr/local/share/backgrounds/), where these backgrounds are stored, and
select it from there.
Reply With Quote
  #3  
Old 29th June 2011, 02:22 PM
Socky Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
linuxchrome
Re: How to change the login screen Fedora 15

I can't do that, I get this every time:
Quote:
[tim@tim-asus ~]$ su -
Password:
[root@tim-asus ~]# gdm dbus-launch gnome-control-center

** (gdm-binary:3134): WARNING **: Failed to acquire org.gnome.DisplayManager

** (gdm-binary:3134): WARNING **: Could not acquire name; bailing out
[root@tim-asus ~]# gdm

** (gdm-binary:3139): WARNING **: Failed to acquire org.gnome.DisplayManager

** (gdm-binary:3139): WARNING **: Could not acquire name; bailing out
I've tried searching google for help, but I can't seem to see anything :/

Last edited by Socky; 29th June 2011 at 02:24 PM. Reason: More info
Reply With Quote
  #4  
Old 29th June 2011, 05:10 PM
m1boli Offline
Registered User
 
Join Date: Sep 2010
Posts: 13
linuxfedorafirefox
Re: How to change the login screen Fedora 15

Here is an explanation:

sudo lets you execute a command as if you had logged into a different user account.

The -u option says which account, in this case the account is gdm

dbus-launch is the command that sudo is executing for you in the gdm account

gnome-control-center is a parameter you are giving to dbus-launch, it is another program that will be run (also in the gdm account).

All together, you type ONE command line just like this:
Code:
 sudo -u gdm dbus-launch gnome-control-center
There is another issue: that gnome-control-center might not be able to access your X windows. In that case here is what I suggest:

a) log in as root
b) type xhost + (command xhost, argument +)
c) type the command line from above

Last edited by m1boli; 29th June 2011 at 05:40 PM.
Reply With Quote
  #5  
Old 29th June 2011, 05:28 PM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: How to change the login screen Fedora 15

Quote:
Originally Posted by m1boli View Post
Here is an explanation:

sudo lets you execute a command as if you had logged into a different user account.

The -u option says which account, in this case the account is gdm

dbus-launch is the command that sudo is executing for you in the gdm account

gnome-control-center is a parameter you are giving to dbus-launch, it is another program that will be run (also in the gdm account).

All together, you type ONE command line just like this:
sudo -u gdm dbus-launch gnome-control-center

There is another issue: that gnome-control-center might not be able to access your X windows. In that case here is what I suggest:

a) log in as root
b) type xhost + (command xhost, argument +)
c) type the command line from above
don't get b) it just returns syntax error
Reply With Quote
  #6  
Old 29th June 2011, 05:35 PM
m1boli Offline
Registered User
 
Join Date: Sep 2010
Posts: 13
linuxfedorafirefox
Re: How to change the login screen Fedora 15

Here is an example:

Code:
mglass: ~ # xhost + 
access control disabled, clients can connect from any host
mglass: ~ # sudo -u gdm dbus-launch gnome-control-center

** (gnome-control-center:24803): WARNING **:
...some warnings come out now, but the gnome control center program is running, as if executed from the gdm account.
Reply With Quote
  #7  
Old 29th June 2011, 05:39 PM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: How to change the login screen Fedora 15

Quote:
Originally Posted by m1boli View Post
Assuming you are using gdm greeter, try this:

sudo -u gdm dbus-launch gnome-control-center

It will launch the gnome-control-center application, running out of the gdm account.
Nobody ever logs in as 'gdm' personally. But your gdm greeter runs out of this
account and the background image is the account's desktop wallpaper.

Now follow the menus to change the desktop background..

I think it is a good idea to put your background image in /usr/share/backgrounds/
(or /usr/local/share/backgrounds/), where these backgrounds are stored, and
select it from there.

ok your way does work but you have to do this first:

1. open terminal
2. su -
3. enter your password
4. sudo -u gdm dbus-launch gnome-control-center
5. Click background and select your background

Done
Reply With Quote
  #8  
Old 29th June 2011, 06:17 PM
Socky Offline
Registered User
 
Join Date: Jan 2011
Posts: 11
linuxchrome
Re: How to change the login screen Fedora 15

Quote:
Originally Posted by m1boli View Post
a) log in as root
b) type xhost + (command xhost, argument +)
c) type the command line from above
Awesome, it worked. Thank you very much!

I can't seem to add more files though, as when I do I get an error "Could not read contents of root, permission denied." Although I'm sure I'll find a way around that
Reply With Quote
  #9  
Old 30th June 2011, 03:25 AM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: How to change the login screen Fedora 15

Quote:
Originally Posted by mightymouse2045 View Post
ok your way does work but you have to do this first:

1. open terminal
2. su -
3. enter your password
4. sudo -u gdm dbus-launch gnome-control-center
5. Click background and select your background

Done
Yeah sorry because i had already typed in xhost + as root that is why it worked the correct flow is exactly as you stated man and thanks heaps for this. Just to clarify:

1. open terminal
2. #su -
3. #xhost +
4. #sudo -u gdm dbus-launch gnome-control-center
5. Click background and select your background
6. Logout and see your lovely new login background
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
login window "can i change my login screen in fedora 10 oshan1991 Using Fedora 15 31st October 2009 12:11 PM
Change login screen Fedora 10 renzokukenrd Using Fedora 13 19th October 2009 05:09 PM
Change login screen to KDM! jasperlotus Using Fedora 2 4th November 2006 02:35 AM
Fedora 5 Login Screen change after KDE Update Whitewater Using Fedora 4 28th May 2006 10:50 PM
change login screen LackeyLad Using Fedora 5 9th January 2005 09:47 PM


Current GMT-time: 17:31 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat