LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-14-2004, 09:05 PM   #1
jplev22
Member
 
Registered: Dec 2003
Location: New Brunswick, Canada
Distribution: Debian 10 Buster
Posts: 85

Rep: Reputation: 16
Cannot start x as single user


Hi, I had a problem because I could not startx gtk based applications from a shell when I was in x as a single user. The only permanent solution to my problem seemed to make a symbolic link between the .Xauthority in my root folder and the one in the home directory of the user in X. When I restarted X, for some reason it blocks after I see the mouse cursor as an x (im using dropline-gnome). I deleted the .Xauthority file in the my home directory so it would create a new one, but I get the same result. I also tried deleting the .Xauthority file in /root, but same result. Dropline runs fine when I start it as root. I will try with kde but I doubt it would make a difference since the problem is probably in xfree files. The xfree86 log file seems fine to me, there is no errors. I also made a created a new user just to see if it would load but again, I get the same result.
JP

Last edited by jplev22; 02-14-2004 at 09:08 PM.
 
Old 02-14-2004, 09:08 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
You shouldn't run X as singleuser. X is meant to be run at runlevel 5 (sometimes 4).

When running in runlevel 1 (singleuser), lots of services aren't started, and that can cause issues.

Only run as single user (and root) if there is something wrong that you need to fix. Its insecure otherwise.
 
Old 02-14-2004, 10:45 PM   #3
jplev22
Member
 
Registered: Dec 2003
Location: New Brunswick, Canada
Distribution: Debian 10 Buster
Posts: 85

Original Poster
Rep: Reputation: 16
I just fixed it! Actualy, there never was a problem... I ran export DISPLAY=:0 and xhost + local:localhost in order to be able to run x applications as root when I was in a normal session. Do know a permanent fix for that? Anyway I just rebooted and then I started X as a normal user just fine. What it the difference between single and normal user?(a bit knew to the jargon) I run it at runlevel 3, not 1. Sorry for the confusion. If I run X from runlevel 3 is it then considered as runlevel 4?
Thanks anyways
JP
 
  


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
single user mode... navaladi Mandriva 2 12-26-2004 02:41 AM
single user boot... cyberfox1234 Mandriva 13 12-25-2004 09:06 PM
`Shutdown now` goes to single user mode? Paused Start time guardian653 Linux - Security 1 12-11-2003 05:10 PM
single user mode ? wr3ck3d Slackware 5 03-29-2003 09:52 AM
What is single-user mode?? rbanonuevo Linux - Newbie 4 01-28-2002 12:17 PM

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

All times are GMT -5. The time now is 11:52 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
Open Source Consulting | Domain Registration