SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As a note to those who use the command line to create users:
When using useradd to create users, use the -m (create home directory) option if you want that user to use the desktop, otherwise you will run into the "Could not start kstartupconfig" error being discussed here.
Another way to fix this problem is to create the home directory manually, chown it as mentioned above, then change the user to point to that home directory:
mkdir /home/foo
chmod user:users /home/foo
usermod -d /home/foo user
To make things easier, the home directory should be the user name, but you can make it anything you want this way.
I have a somewhat similar problem I think. After updating lots of stuff through the auto-update thingie in KDE I come to the command line whenever i start or reboot the computer. Being a complete newbie i tried typing: 'kde' <enter> and got these messages:
Quote:
pdyinfo: unable to open display
pdyinfo: unable to open display
/opt/kde3/bin/starthde.therm:line 122[:-gt:unary operator expected]
(same for line 123,126,127,128, and 129)
xset: unable to open display
xset root: starting up...
kde init: aborting -$display is not set
Warning: connect() failed: no such file or directory
tosmserver:cannot connect to x server
ERROR: Couldn't attach to DCOP server!
startkde: shutting down...
Warning: connect() failed: No such file or directory
Error: Can't contact kdeinit!
Starting artsd
kcminit:cannot connect to X server
startkde: Running shutdown scripts
startkde: done.
and then I'm back on the command line. So I tried these commands:
Quote:
Originally Posted by ganeshv
I logged into the shell prompt (using System->Command line) and reset the PATH variable by executing:
export PATH=$PATH:/bin:/usr/bin/
Then I was able to use all the basic commands. So, then I executed:
chown -R username:users /home/username
I logged in as root (su), and deleted the .X0-lock file in /tmp directory. I also updated the PATH for all users in the .bashrc file.
The first command (export..) worked (at least no error message).
The second command I just don't understand. Is username my username? and users? I tried with my username but got the error message: chown: missing operand after <<users/home/myusername>>
Then I just guessed and tried:
Quote:
chown -R myusername: /home/myusername
and that gave me no errormessage, but I still get to the command line, not KDE, after rebooting.
And lastly I couldn't find the -XO-lock file in the tmp directory. I looked in /tmp and no such file was there for me to delete as I could see.
It sounds like you might not be starting in the proper runlevel. To get the X server, you need to be at runlevel 5. When you start up to the command line, either log in as root or type in "su" if you're already logged in, enter the root password, then type in "runlevel", which will return your current runlevel (1-5)
1 is single user command line mode, with no other terminals available, 3 is multi-user command line mode, and 5 is full graphical mode. The X server and KDE are only available in 5.
If runlevel returns anything other than 5, type in "init 5" as root
After typing in init 5, you should either get the KDE login screen, or some error messages saying why it isn't coming up.
oh btw, chown = change ownership, with username being the username you want to own that file, in this case yours. users is the group your username most likely belongs to.
Thanks ZeromusM. I ran runlevel as root and it said N 5 so I guess that means I'm level 5? This time I got both the export and the chown command working, and my runlevel is 5, but I still can't start kde. So I want to find the .XO-lock file in the /tmp directory, to delete it. Where can I find this file? Anyone know? In the /tmp directory there were files like:
Yeah that means you're at runlevel 5. I don't think your problem is what is being talked about here, because when this happens, you will get the graphical login screen, then a popup at login. What you want to do is look for errors in /var/log/Xorg.0.log and dmesg (type "dmesg" to get the output). Also, I assume you typed in "kde" to try to get kde working again - what did the output of that say?
Cut and paste output always helps more than a description of the problem, so the exact wording of any messages you find would be appreciated.
Yes there were some errormessages both in the xorg logfile (no screens found) and kde, and dmesg, but how can I get the output of those files on a floppy so I can copy it on here? I'm using Kubuntu 5.10 live until I get it fixed...
Thanx for the thread. had similar fault, tried everyone suggestions. Realised having /home on FAT32 partition meant problems with write permissions.
So moved /home to a linux file system partition, with symlink to FAT32 partition.
Set FAT32 partition to automount in fstab.
That got rid of one error.
Then logged on as root, created 'users' with their 'home' directories in new /home, on a linux partition.
Moved any data files across to new 'user's' home directories.
got rid of old config files in old FAT32 partition.
Hi, my problem was: I used SMB login and Kerberos. So, the user I logged had the same name @ local as @ the domain, but the domain user could not write into /home/user/.kde
Normal, cause the domain user is considered as another user than the local user, even if it has the same name....
THE SOLUTION: go into user management (I use Suse10.2 so: yast2), configure Expert Options - Authentication and User Data Sources - Samba
As domain Membership click "yes" to "Create Home Directory on Logon"
Hi guys. Here it is March 15, 2008, and it bit me too. OpenSUSE 10.3. No /home/dave. The chown fix worked for me too. BUT BUT.....
If somebody from OpenSUSE is looking in, isn't it time this got corrected? It's been going for almost 3 years now.
This is my first time to try OpenSUSE and its installation, anyway, is pretty impressive. The installation went well and offered me more control over partitioning and setup than any others I've experienced. It even let me set screen resolution at my favorite 2048x1536 during the install. But, even though it said it had set up my wireless, it hadn't ^_^. And this "Can't start kstartupconfig" thing.
Could not start kstartupconfig. Check your installation
while creating the user account use the command as follows
" useradd -m <username>"
-m indicates it to create the home directory for the specified user.
After creating the account ,you should be able to login into the newly created account
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.