LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices


Reply
  Search this Thread
Old 02-14-2010, 12:06 AM   #1
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian/ubuntu
Posts: 222

Rep: Reputation: 30
can't start x as normal user after reinstall. Deleted dot files and dirs.


Hi,

Hmm..this sub-forum is quite quiet compare to its parent distro sub-forum
Anyway,
I have a problem after reinstall zenwalk 6.2.
I dont format my /home partition when reinstall.
Before reinstall I had deleted all the dot files and dirs in my current
/home/hottdogg directory with assumption they will be created again
as soon as I login for the first time after reinstall.
But apparently not, now I can not login in GUI mode as normal user.
After this incident, I changed the runlevel to 3.
So anyone can help me how can I startx(run GUI) again as an ordinary user?
(I'm in root gui as I'm writing now).
Thanx.
 
Old 02-14-2010, 10:51 AM   #2
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
Well, in the "parent distro" this is what I would do:
1. Log out of root's X
2. From a console log in as your user
3. While logged into a console as your user, run xwmconfig and select a desktop environment
4. Run startx
 
Old 02-15-2010, 07:54 AM   #3
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian/ubuntu
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by DonnieP View Post
Well, in the "parent distro" this is what I would do:
1. Log out of root's X
2. From a console log in as your user
3. While logged into a console as your user, run xwmconfig and select a desktop environment
4. Run startx
Okay..a small progress , I choose xfce but what I get is very basic, unpolished, ugly xfce instead of the default zenwalk xfce.
What dot file that's responsible for xfce config that I can safely copy from root to normal user ?

Last edited by hottdogg; 02-15-2010 at 07:56 AM.
 
Old 02-15-2010, 09:02 AM   #4
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
What xwmconfig did was copy one of the files in /etc/X11/xinit to your user's .xinitrc. If your root user's xfce is like what you want, then you could copy (as root) /root/.xinitrc to /home/yourusername/.xinitrc. Then change the ownership of your user's .xinitrc to your user. Most likely Zenwalk has a stock xinitrc someplace but I'm not familiar with that.
Code:
cp /root/.xinitrc /home/yourusername/
chown yourusername.users /home/yourusername/.xinitrc
Then log out as root, log in as your user and run startx.
 
Old 02-16-2010, 09:09 PM   #5
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian/ubuntu
Posts: 222

Original Poster
Rep: Reputation: 30
copying .xinitrc only still has the same result, ugly xfce, but after trial and error, problem solved.
So i just copied .config directory from root to user and make sure the content is exactly the same as in the original, especially the *.xml file.
Tnx
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X won't start as normal user, only as root. juanjavier_xxx Debian 4 11-04-2007 05:10 AM
Normal user losing all rights on /tmp-dirs ppr:kut Slackware 8 08-29-2006 07:24 AM
Cannot start Drakconf as normal user davcefai Mandriva 4 01-18-2005 11:49 PM
adsl-start by a normal user linksocc Linux - Networking 1 09-27-2003 10:13 PM
normal user can't start tomcat? help!!!! dutao Linux - Software 0 07-24-2003 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration