LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-28-2014, 07:31 AM   #1
CodyAcer
Member
 
Registered: Aug 2014
Posts: 39

Rep: Reputation: Disabled
startfluxbox doesn't work. but sudo startfluxbox does! but logged in as root


I want to login with my current user profile. But whenever I type startx. It gaves me a Xterminal to start my fluxbox.
Code:
root@Emely:~# startfluxbox
Logging to /home/emely/.fluxbox/log...
Loading...



then it start.! but i logged in as root which is very risky
and then when i try
Code:
root@Emely:~# sudo -su emely startfluxbox
No protocol specified
No protocol specified
Error: Could not connect to XServer
my OS
Code:
OS: LINUX LITE
Version: 1.0.8 i386
is this a Xorg problem??? cause i created Xorg in sudo mode...
 
Old 08-28-2014, 08:32 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,314
Blog Entries: 28

Rep: Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139
What happens when you start fluxbox as user, without the sudo stuff?

I have used Fluxbox on several distros, mostly Slackware and Debian, but also for a time on Ubuntu, before I got fed up with Canonical's antics. When I have it selected as my default window manager in .xinitrc, then login to TTY as user and type "startx," Fluxbox has just worked. I have no experience with Linux Lite, though.

I have a sense that, on some level, you are making this more complicated than it needs to be, but, from the information provided, I can't offer anything more specific.
 
Old 08-28-2014, 09:35 PM   #3
CodyAcer
Member
 
Registered: Aug 2014
Posts: 39

Original Poster
Rep: Reputation: Disabled
it just gave me an empty black screen...!
 
Old 08-29-2014, 07:51 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,314
Blog Entries: 28

Rep: Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139Reputation: 6139
Could you post the contents of your .xinitrc file?

Also, have you successfully another GUI on this machine?

Last edited by frankbell; 08-29-2014 at 07:53 PM.
 
  


Reply

Tags
software


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
Disable root login, but still be able to sudo -s after logged with another user (ssh) ytd Linux - General 12 04-25-2010 11:34 AM
su to root works sudo doesn't magnum81 Linux - Security 4 04-22-2006 08:29 PM
sudo doesn't work oomfoofoo Debian 3 08-13-2005 07:34 AM
root password doesn't work when I use sudo ... bucovaina78 Linux - Security 5 11-10-2004 02:50 PM
sudo doesn't work mla Linux - Software 1 10-01-2003 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:38 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