LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-13-2017, 12:34 PM   #1
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 165

Rep: Reputation: 3
Auto-Login Stopped Working after Modifying xorg.conf


Hello All,

I am running a bunch of CuBox-i Mini-PCs running openSUSE 13.1 (Bottle) (armv7hl). This is also running XFCE Desktop and LightDM as the Display Manager.

These are placed in our branch office locations and they run as a headless linux box. I run x11vnc on each of these PCs to vnc to the box when I need to access it. Or ssh occasinally...

The CuBoxs come with an HDMI port as its only display port, and I guess with that, the default resolution was 1920x1080 (*unless a monitor was plugged in, it would use that monitor's native resolution). But, without a monitor attached, the only way to get it to use any other resolution was to use the fbdev driver and to modify the xorg.conf file to give me some more resolution options, which I can now use just fine while VNC'ed to the PC.

However, ever since I modified the xorg.conf file, when I reboot the device and it comes back up, I'm now presented with a login page, that I had previously disabled by enabling Auto-login through the sysconfig editor, I believe (*which is supposed to take precedence over any other config. So I modified /etc/lightdm/lightdm.conf file as well, after the auto-login stopped working, and I uncommented the following lines and instered my username but nothing changed:
Code:
autologin-user=netAdmin
autologin-user-timeout=0
Is there something I'm missing here? If you need to see my xorg.conf file, I attached it to this post. Before I made these changes with xorg.conf, there was no main xorg.conf file, so I created it, and added the sections for: Monitor, Device (*for the fbdev driver), and a Screen section (*with a "Display" subsection). So not sure why that would cause issues with auto-login.

Lastly, not sure it matters, but when it reboots and goes to the login screen, the resolution is still 1920x1080. It's not until I enter the password and login when the resoltuion changes to 1600x900, which is what I set the PreferredMode to.

If anyone has any thoughts or suggestions, it would be greatly appreciated!

***UPDATE***
I just did "mv xorg.con xorg.conf_BACKUP" to get rid of the xorg file temporarily. Then, I rebooted the PC. Upon reboot my user was logged in automatically. How is it that just having the attached xorg.conf file can cause auto-login to stop working..? Kind of stumped here. If I can't set the fbdev as the driver I cannot change the resolution at all.


Thanks in Advance,
Matt
Attached Files
File Type: txt xorg.conf.txt (2.3 KB, 18 views)

Last edited by mrm5102; 10-13-2017 at 04:52 PM.
 
Old 10-14-2017, 05:43 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
please mark your thread solved.
 
Old 10-16-2017, 10:37 AM   #3
mrm5102
Member
 
Registered: Apr 2011
Location: Philadelphia
Posts: 165

Original Poster
Rep: Reputation: 3
I would but the problem is still occurring...

I'm still trying to figure out why auto-login stops working when there is an /etc/X11/xorg.conf file present?

-Matt
 
  


Reply

Tags
auto-login, lightdm, opensuse, xfce



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb auto mount stopped working nkd Linux - Hardware 4 12-21-2008 12:08 PM
Cannot start X11 after modifying xorg.conf. System stops booting up. glore2002 Slackware 13 09-12-2008 12:42 PM
Modifying xorg.conf to set up monitor to 1280x1024 60hz refresh rate. glore2002 Slackware 10 09-11-2008 05:40 PM
Can't adjust brightness on Acer TM6291 after modifying xorg.conf (12.1) jwpacific Slackware 2 06-06-2008 07:12 PM
Auto Selecting/Switching monitors via xorg.conf suguru Linux - Hardware 0 11-07-2005 01:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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