-   Linux - General (
-   -   Gnome and root AND lpr is crooked (

movitto 09-07-2004 07:53 PM

Gnome and root AND lpr is crooked
Hi all;

This is a two part question, both parts are unrelated:

1. I cant log into Gnome as root. Its that simple. I can log into kde, enlightenment, and all other window managers as root; and I can log into Gnome as any regular user, but when i log in as root (from init 3) the type startx the gnome splash comes up and then freezes, ... no icons load in it or nothing. The only way i can rectify the situation is to press ctrl-alt-f2 then killall X.
As for .xinitrc, i have the same file sitting in each of my users and roots home dirs. Here is the contents of the file:

The /etc/X11/xinit/xinitrc is actually a symbollic link to /etc/X11/xinit/xinitrc.gnome, which contains the following:


# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $


# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap

if [ -f $userresources ]; then
xrdb -merge $userresources

if [ -f $usermodmap ]; then
xmodmap $usermodmap

# This nag screen isn't going to save anybody.

# Start the window manager:
exec gnome-session

The wierd thing is, as i mentioned before, regular users load this file without a hitch, but root cant. Im stumped.

And onto....

2) Im running cups on my maching and all goes smoothly with the lpr command with one exception. When i print anything, either from the command line or from an app, such as mozilla or open office, the text on the page is crooked. When i say crooked, i mean a continous line of text diagnolly toward the top right of the page. Anyways, relevant googles of ' lpr crooked' have turned up dissapointed results. Once again im am at a loss with this one. If you have a solution please go into as much detail as possible, because i know little of cups and lpr.

Been using linux since march and luvin it. Thanks in advance to all that help.

movitto 09-07-2004 09:53 PM


Ive been working on my problems and heres what ive found:

1) Still really stumped about this one. Ive noticed that when i try to log in as root, the quit, i get the following error:
"gnome-smproxy: unable to connect to session manager"

Im not exactly sure what this means, but it seems other people are having similar problems, but usually the other way around, they can log in as root into gnome but not as regular users. Im really really stumped :(

2) There isnt a great difference between the top margin on the left side, and the top on the right.; maybe 1 mm (milimeter) at most. This is enough though for one to notice that something is odd with the paper and text, and since i am going to be printing term papers and such on this, i cant afford the slightest error. BTW I ensured that it was not a problem with the feed on the printer, all paper goes in and comes out parallel to the table the printer sits on.

Thanks all,

r0b0 09-08-2004 03:50 AM

1. Don't log in as root into gnome. Why would you do that?

movitto 09-08-2004 10:36 AM

the reason i would want to log in as root, is if i need to fix something in gnome that needed root permissions to fix. Also I believe by just ignoring the problem, the problem wont go away. True, i dont absolutely need to log into gnome as root but this problem will bug me untill i fix it.

Thanks for the response though

All times are GMT -5. The time now is 11:59 AM.