
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed. My question: Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this? Thanks for your hints. Klaus

Mandag 13 juni 2005 13:18 skrev Klaus-F. Kaal: WAIT WAIT WAIT !! Hi, - if root login to KDE is the only reason, then - by all means - let this list have a go at what could be wrong. - besides, I NEVER EVER log in to KDE as root. Why would I do such a thing? - I firmly believe that there is a VERY SMALL line in some config file that is the cause of this. Google some more, re-install is for MS-Windows users, not Linux people :-) Best regards, Verner
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed.
My question:
Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this?
Thanks for your hints.
Klaus
-- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Open Source Academy www.os-academy.dk Denmark +45 56964223 +45 2014 5551 ------------------------------

Thanks Verner for your kind reply. I need to log in as root, as I have to do some configuration jobs. When I would do this from a non-priveleged user, I wolud need to permanently login to yast which is anoying. On the other hand, I just need to install an application where I need the X-Graphics and root rights. All that could be elegant, if I could log in as root. And I want to have it working ;-) Windows vs. Linux: I understand and agree that, if I would be a Linux guru, I would smile and fix my problem. But I am not. And I have talked to some people, who were helpful but could not give me another hint how to fix this. Now, there are two ways: 1. keep on trying and trying and trying... 2. make a clear cut and admit that my problem could be coming from my several-times-update of the differen Suse-versions. I honestly googled quite a bit. And it took me tons of time. But I other things to do as well. That are reasons to re-install Suse, aren't they? Keep smiling Klaus Verner Kjærsgaard schrieb:
Mandag 13 juni 2005 13:18 skrev Klaus-F. Kaal:
WAIT WAIT WAIT !!
Hi,
- if root login to KDE is the only reason, then - by all means - let this list have a go at what could be wrong. - besides, I NEVER EVER log in to KDE as root. Why would I do such a thing? - I firmly believe that there is a VERY SMALL line in some config file that is the cause of this. Google some more, re-install is for MS-Windows users, not Linux people :-)
Best regards, Verner
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed.
My question:
Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this?
Thanks for your hints.
Klaus
-- *Klaus-F. Kaal* Geschäftsführer *TIMO/logic/ GmbH* Singener Str. 42d D-78256 Steisslingen phone +49 7738 97096 fax +49 7738 97094 web www.timologic.com <http://www.timologic.com/> mail klaus.kaal@timologic.com <mailto:klaus.kaal@timologic.com>

Mandag 13 juni 2005 14:10 skrev Klaus-F. Kaal: Hi, oh, I understand a bit more now. Ok, do this: Log into KDE as an ordinary user. Open a shell. Type xhost + - this will allow graphic applications to access your X-screen when you are working as root. Now go: su and give your root password. Now startup any root-demanding installation programme fx. OpenOffice's ./setup -net. Actually, I think SuSE's got a command called "sux" that does the same thing... When done, exit as root. Regards, Verner
Thanks Verner for your kind reply.
I need to log in as root, as I have to do some configuration jobs. When I would do this from a non-priveleged user, I wolud need to permanently login to yast which is anoying. On the other hand, I just need to install an application where I need the X-Graphics and root rights.
All that could be elegant, if I could log in as root. And I want to have it working ;-)
Windows vs. Linux: I understand and agree that, if I would be a Linux guru, I would smile and fix my problem. But I am not. And I have talked to some people, who were helpful but could not give me another hint how to fix this.
Now, there are two ways: 1. keep on trying and trying and trying... 2. make a clear cut and admit that my problem could be coming from my several-times-update of the differen Suse-versions.
I honestly googled quite a bit. And it took me tons of time. But I other things to do as well.
That are reasons to re-install Suse, aren't they?
Keep smiling Klaus
Verner Kjærsgaard schrieb:
Mandag 13 juni 2005 13:18 skrev Klaus-F. Kaal:
WAIT WAIT WAIT !!
Hi,
- if root login to KDE is the only reason, then - by all means - let this list have a go at what could be wrong. - besides, I NEVER EVER log in to KDE as root. Why would I do such a thing? - I firmly believe that there is a VERY SMALL line in some config file that is the cause of this. Google some more, re-install is for MS-Windows users, not Linux people :-)
Best regards, Verner
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed.
My question:
Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this?
Thanks for your hints.
Klaus
-- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Open Source Academy www.os-academy.dk Denmark +45 56964223 +45 2014 5551 ------------------------------

And even smoother: replace this: xhost + su by sux Best, Daniel Verner Kjærsgaard schrieb am 13.06.2005 14:15:
Mandag 13 juni 2005 14:10 skrev Klaus-F. Kaal:
Hi,
oh, I understand a bit more now.
Ok, do this:
Log into KDE as an ordinary user. Open a shell. Type
xhost +
- this will allow graphic applications to access your X-screen when you are working as root.
Now go:
su
and give your root password. Now startup any root-demanding installation programme fx. OpenOffice's ./setup -net. Actually, I think SuSE's got a command called "sux" that does the same thing...
When done, exit as root.
Regards, Verner
Thanks Verner for your kind reply.
I need to log in as root, as I have to do some configuration jobs. When I would do this from a non-priveleged user, I wolud need to permanently login to yast which is anoying. On the other hand, I just need to install an application where I need the X-Graphics and root rights.
All that could be elegant, if I could log in as root. And I want to have it working ;-)
Windows vs. Linux: I understand and agree that, if I would be a Linux guru, I would smile and fix my problem. But I am not. And I have talked to some people, who were helpful but could not give me another hint how to fix this.
Now, there are two ways: 1. keep on trying and trying and trying... 2. make a clear cut and admit that my problem could be coming from my several-times-update of the differen Suse-versions.
I honestly googled quite a bit. And it took me tons of time. But I other things to do as well.
That are reasons to re-install Suse, aren't they?
Keep smiling Klaus
Verner Kjærsgaard schrieb:
Mandag 13 juni 2005 13:18 skrev Klaus-F. Kaal:
WAIT WAIT WAIT !!
Hi,
- if root login to KDE is the only reason, then - by all means - let this list have a go at what could be wrong. - besides, I NEVER EVER log in to KDE as root. Why would I do such a thing? - I firmly believe that there is a VERY SMALL line in some config file that is the cause of this. Google some more, re-install is for MS-Windows users, not Linux people :-)
Best regards, Verner
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed.
My question:
Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this?
Thanks for your hints.
Klaus

Hi Verner,
Log into KDE as an ordinary user. Open a shell. Type xhost + Now go: su
... no, please never do this too, at least not in environments where other people work in the same subnet as you do (that includes home if your internet connection is not going thru a router). Use "sux" instead of "xhost +" and "su". "sux" will do the display trick for you too so that you won't have to set the DISPLAY variable anymore. "xhost +" introduces a security hole. It even says so when you do it! It allows access to Xwindows functionality to ANYONE who knows your IP address or computer's name, not really a good idea, is it? If you insist on the "xhost" method then limit access to localhost at least: "xhost +localhost" or "xhost +127.0.0.1" But a plain "+" character means ANYONE here! And I mean ANYONE. And that's definitely not what you want. Just do a "sux -" and you're on the safe side. -- cul8er Paul paul.foerster@gmx.net

Mandag 13 juni 2005 16:05 skrev Paul Foerster: A reply to Paul Foerster, - yes, you're right about su/xhost and sux. And the security issues involved. I took the liberty to advocate su/host as I was not sure that sux is always present. I just checked my SuSE9.3 - and sux is there and works fine. - If the user is on his very own network behind a firewall, as would normally be the case in adomestic environment, I thought it was ok. Afterall, the "xhost +" goes away after next reboot if you forget to do xhost -. Thank you for your input! Best regards, Verner
Hi Verner,
Log into KDE as an ordinary user. Open a shell. Type xhost + Now go: su
... no, please never do this too, at least not in environments where other people work in the same subnet as you do (that includes home if your internet connection is not going thru a router).
Use "sux" instead of "xhost +" and "su". "sux" will do the display trick for you too so that you won't have to set the DISPLAY variable anymore. "xhost +" introduces a security hole. It even says so when you do it! It allows access to Xwindows functionality to ANYONE who knows your IP address or computer's name, not really a good idea, is it? If you insist on the "xhost" method then limit access to localhost at least: "xhost +localhost" or "xhost +127.0.0.1" But a plain "+" character means ANYONE here! And I mean ANYONE. And that's definitely not what you want.
Just do a "sux -" and you're on the safe side. -- cul8er
Paul paul.foerster@gmx.net
-- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Open Source Academy www.os-academy.dk Denmark +45 56964223 +45 2014 5551 ------------------------------

* Verner Kjærsgaard <vk@os-academy.dk> [06-13-05 09:23]: ...
- If the user is on his very own network behind a firewall, as would normally be the case in adomestic environment, I thought it was ok. Afterall, the "xhost +" goes away after next reboot if you forget to do xhost -.
Reboot ??? You are pre-supposing a *lot*. besides top-posting -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery

Am Montag, 13. Juni 2005 16:05 schrieb Paul Foerster:
... no, please never do this too, at least not in environments where other people work in the same subnet as you do (that includes home if your internet connection is not going thru a router).
I thought that suse always uses "-nolisten tcp" unless the user actively changes this behaviour.

On Monday 13 June 2005 13:10, Klaus-F. Kaal wrote:
Thanks Verner for your kind reply.
I need to log in as root, as I have to do some configuration jobs. When I would do this from a non-priveleged user, I wolud need to permanently login to yast which is anoying. On the other hand, I just need to install an application where I need the X-Graphics and root rights.
All that could be elegant, if I could log in as root. And I want to have it working ;-)
You don't have to re-install. In fact, I bet it wouldn't help at all even if you did. Use the command 'sux' to get a root shell with access to the graphical interface in order to do your jobs. Never log into KDE as root. It's a bad thing. You won't find any Linux expert doing it, so why should we? BTW, it sounds as if you have lots of unique data on the disk, and you mention not wanting to make copies of it - don't forget, your disk will surely break one day, and then your data is gone anyway if you don't back it up. If you care about that, make multiple copies of it and store them in various locations! It's a lot of work - but not as much work as trying to re-create your data when you come in in the morning and find the disk is dead. Best Fergus
Windows vs. Linux: I understand and agree that, if I would be a Linux guru, I would smile and fix my problem. But I am not. And I have talked to some people, who were helpful but could not give me another hint how to fix this.
Now, there are two ways: 1. keep on trying and trying and trying... 2. make a clear cut and admit that my problem could be coming from my several-times-update of the differen Suse-versions.
I honestly googled quite a bit. And it took me tons of time. But I other things to do as well.
That are reasons to re-install Suse, aren't they?
Keep smiling Klaus
Verner Kjærsgaard schrieb:
Mandag 13 juni 2005 13:18 skrev Klaus-F. Kaal:
WAIT WAIT WAIT !!
Hi,
- if root login to KDE is the only reason, then - by all means - let this list have a go at what could be wrong. - besides, I NEVER EVER log in to KDE as root. Why would I do such a thing? - I firmly believe that there is a VERY SMALL line in some config file that is the cause of this. Google some more, re-install is for MS-Windows users, not Linux people :-)
Best regards, Verner
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed.
My question:
Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this?
Thanks for your hints.
Klaus
-- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk

On Monday 13 June 2005 06:59, Verner Kjærsgaard wrote:
Mandag 13 juni 2005 13:18 skrev Klaus-F. Kaal:
WAIT WAIT WAIT !!
Hi,
- if root login to KDE is the only reason, then - by all means - let this list have a go at what could be wrong. - besides, I NEVER EVER log in to KDE as root. Why would I do such a thing? - I firmly believe that there is a VERY SMALL line in some config file that is the cause of this. Google some more, re-install is for MS-Windows users, not Linux people :-)
Best regards, Verner
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed.
My question:
Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this?
Thanks for your hints.
Klaus
-- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Open Source Academy www.os-academy.dk Denmark +45 56964223 +45 2014 5551 ------------------------------
In the /etc/opt/kde3/share/config/kdm or maybe it is the /opt/kde3/share/config/kdm directory there is a kdmrc file. In this file there is a section labeled : [X-*-Core]. In this section there is an entry "AllowRootLogin", this is usually set to false. Have you verified that it is changed to true? Another potential problem is file permissions. These are often files in the /tmp directory. A re-install without formatting the drive would leave these files and not solve your problem, so you wouldn't gain anything there. Along those lines, it could possibly be a permissions problem with /root. That would be much more rare, but I would look at all the files in /root for anything funny. -- Kelly L. Fulks Home Account near Huntsville, AL

Am Montag, 13. Juni 2005 13:18 schrieb Klaus-F. Kaal:
As I am having problems, logging in at KDE as root. After having checked - together with helpful people in this mailing list - whatever could be the reason for that, I only see the way to re-install Suse. I have tried to repair the system, tried the update, but it does not change the points, I want to have changed.
You really don't want to login as root in any graphical environment. Advanced unix users never do that, and never need.. As long as - you can login as a user - you can remember the root password all is well. If you really need to run graphical appl., e.g. konqueror within you user KDE session, just Alt-F2 and type: kdesu konqueror A root terminal session is even easier to archive, start your favorite terminal appl. and type su<enter> Both ways leads to a password query for root, and upon successful authentication, you're in..
My question:
Is there a proper way of installing Suse on my computer without formating the harddisk? I have lots of data on it and it would be a huge work to save that all. The only way, Suse offers a new installtion is to re-format the harddisk. Can I avoid this?
I bet, that if you do so, the problem will persist, that's why SuSE formats the partitions in the first place. Pete
participants (9)
-
Daniel Eckl
-
Fergus Wilde
-
Hans-Peter Jansen
-
Kelly Fulks
-
Klaus-F. Kaal
-
Matthias Wieser
-
Patrick Shanahan
-
Paul Foerster
-
Verner Kjærsgaard