LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2012, 05:39 PM   #1
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 117

Rep: Reputation: Disabled
startx from root user is working while from sudo user not


I installed backtrack and everything for root user is working fine except...

My problem is,

When i switch on my laptop and login as "root" and type "startx" for starting X server. Everything works fine.

But when i switch on my laptop and login as sudo user "me" and type "startx", screen freezes with small underscore at upperleft corner of screen and nothing happened afterwards. I had to force shutdown via power button.

But but but when i first login and startx with root user and logout and then login as "me" (sudo user) and type "startx", it works!!!

Can someone identify this problem and held me a solution???

Thank you.
 
Old 08-17-2012, 07:45 PM   #2
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
set up your graphical interface one more time, do it this time as regular user instead of doing it as root and issue the startx again, just to see if it works.
 
Old 08-17-2012, 10:31 PM   #3
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 117

Original Poster
Rep: Reputation: Disabled
Thanks for replying,

Yes i tried and it stucks again. I pressed Ctrl+Alt+Fn (n=1,2,3,4,5,6,7,8,9,10,11,12), TAB, reboot, shutdown -P now, and every key after waiting for 10 minutes. Nothing.

Let me tell you, it's not definite that it always works on "root" it hangs once on root also.

Actually i am not using xorg.conf as i used http://www.backtrack-linux.org/forum...ad.php?t=48904 to get my resolution back.

Help!

New news, after updating Backtrack and installing few important applications, it stop starting up for root also, i tried 5 times in a row but failed.

Last edited by unkn(0)wn; 08-17-2012 at 10:44 PM.
 
  


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
After improper shutdown, 1 user can't startx (KDE), sudo, OR su. Root account is ok! ShellyCat Linux - Desktop 2 09-19-2010 04:56 AM
Gconf-editor settings not sticking for root, sudo user, or user when run sandaili Fedora 1 07-19-2008 09:31 AM
user can't startx, only root can lindberg.bill Slackware 4 01-14-2007 05:15 PM
Cannot startx as non-root user paul.nel Linux - General 1 04-07-2005 03:51 PM
SUDO as *non-root* user spratty Linux - Newbie 3 05-19-2004 04:35 AM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration