LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 01:06 AM   #1
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 202

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, 11: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, 08:54 AM   #3
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 202

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 08:56 AM.
 
Old 02-15-2010, 10: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, 10:09 PM   #5
hottdogg
Member
 
Registered: Aug 2004
Location: aisenodni
Distribution: slackware 64bit ,debian 64bit
Posts: 202

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:10 AM
Normal user losing all rights on /tmp-dirs ppr:kut Slackware 8 08-29-2006 08:24 AM
Cannot start Drakconf as normal user davcefai Mandriva 4 01-19-2005 12:49 AM
adsl-start by a normal user linksocc Linux - Networking 1 09-27-2003 11:13 PM
normal user can't start tomcat? help!!!! dutao Linux - Software 0 07-24-2003 09:42 PM


All times are GMT -5. The time now is 12:25 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration