Cannot connect to X server after resume from suspend

Hello,
i'm a happy user of arch and i3, one and only thing that is not working correctly is that sometimes after resume from sleep (closing the lid, and then opening) I am not able to start any programs. this happens about 50% of the time. when it happens i have to exit i3 and login again, and everything works ok then.
I'd be grateful for any suggestion how can I debug and solve this problem.
y
Last edited by yemu (2014-04-09 08:53:12)

the error was, after running xterm:
No protocol specified
xterm: Xt error: Can't open display: :0.0
after running scrot
No protocol specified
giblib error: Can't open X display. It *is* running, yeah?
after running firefox
(process:2559): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
No protocol specified
No protocol specified
Error: cannot open display: :0.0
but I think I was able to fix the problem.
when I was browsing the internet for solution, I stumbled upon an info about similar problem caused by the hostname set to localhost. I checked my system, and apparently I haven't set my host name during install, and it was still localhost, so I changed it. and after that I tried suspending several times, and the problem never occured. I'll test in upcoming days, and if it works I will change the thread title to [SOLVED].
Last edited by yemu (2014-04-10 07:40:47)

Similar Messages

  • System freeze after resume from suspend

    I am running arch for about 5 month now and I always had freezes after resuming from suspend (to ram - systemctl suspend) every once in a while (like once a week or less). The freezes increased massively over the last month or so and for about 2 weeks now it happens 95% of the times I resume from suspend.
    The monitor turns on and shows things exactly how I left them, but is completely unresponsible EXCEPT for I can switch to another TTY (Ctrl+Shift+F*), however I cannot type or do anything in it...
    It doesnt have anything to do with the X server as it also happens after I suspend from TTY (without any X running).
    I also checked journalctl -b -1 (shows previous boot, since I always have to hard-reset the system) but it doesnt show anything after:
    Mar 13 17:16:54 Ununhaswellium systemd-sleep[3624]: Suspending system...
    (the suspend event before resuming)
    Are there any log files that could give a hint on what exactly goes on after the resume?
    Im running the latest official 3.13.6-1 kernel and updated my BIOS to the latest beta version yesterday - didnt help either...
    Ive read pretty much every thread on the internet by now about freezes after resume from suspend but none really helped
    Last edited by CharlieBra7o (2014-03-15 09:58:51)

    Thank you for the link, unfortunally I don't have a NVIDIA card but use the Intel IGP (HD4600, Haswell) - maybe I should have mentioned that...
    And other than in this bug report I cannot kill X or anything because neither other TTYs work - I cannot input anything (although the hotkeys work weird enough) nor is SSHD running because the system is completely frozen...
    Very funny thing is that for the last 2 days my system didnt freeze once (suspended about 6-7 times during one boot), even though for the 2 weeks prior to that, it froze EVERY SINGLE TIME I resumed from suspend, it didnt work once...

  • Touchpad permanently not working after resuming from suspend

    I lost touchpad and trackpoint functionality after resuming from suspend on my ThinkPad E530 (3259CTO).
    Even after a complete power off (with the battery removed), the touchpad is detected but doesn't send any event, and the trackpoint is not detected.
    In Windows, in the UltraNav control panel, the touchpad is marked as enabled and cannot be disabled, the trackpoint is grayed.
    In Linux, I can see the difference is kernel traces when the driver is loaded.
    Before : psmouse serio1: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x120c00
    Now    : psmouse serio1: synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x0/0x0
    After looking at https://gerrit.chromium.org/gerrit/#/c/31105/ and Synaptics public documentation, I was able to get more information : the device status register (F01_RMI_Data0) is 0x45, which means the touchpad is in flash programming mode since there is a firmware CRC failure.
    It looks like http://code.google.com/p/chromium-os/issues/detail?id=24298, so it's probably not a Lenovo specific problem, but a bug in Synaptics firmware.
    Can Lenovo provide the firmware to flash like http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/X220-Touchpad-jumpy-response-when-used-with-90... which would hopefully make my touchpad working again ?
    The original firmware should work, but an updated one would be better, if it avoids losing the touchpad again later.

     I don't know why, but this made me think of the episode of the simpsons when home tries to get over 300 pounds so he can work from home.  When he tries to dial the phone he hist all the buttons and gets a recording that says "We're sorry, you're fingers are too fat. To obtain a special dialing wand, please mash the keypad now."
    BTW, sorry I can't help... but at least I am entertained easily.

  • No sound in Flash after resuming from suspend

    After I resume from a suspend or sleep there is no sound in Flash and there is no networking.
    The only way is to restart my browser to reestablish the sound.
    Is there a solution for this problem?
    Thanks.

    This does not happen with Firefox in Ubuntu, as an example. So something must be wrong somewhere.
    I can confirm this happens to me in Arch with Firefox 4.0b7 and Chromium 7.0.517.44. I noticed that after resuming from suspend, not only sound (in Flash) is missing, but Flash is behaving weirdly (YouTube video plays much faster) and CPU usage goes crazy without doing any particular action.
    Last edited by Niavlys (2010-12-05 23:34:30)

  • System freeze after resume from suspend to RAM

    Hi,
    since quite a while (probably ever) I am unable to suspend my computer to RAM because everytime it freezes a few seconds after resuming, never to become alive again until a reboot. After some investigation, I managed to get kernel logs by taking a picture of my screen. The logs were not written to disk, hence I didn't see anything before. I had to write these by hand, I hope I didn't insert any mistakes:
    kernel: sas: Enter sas_scsi_recover_host busy: 2 failed: 2
    kernel: sas: trying to find task 0xfff880008b5b680
    kernel: sas: sas_scsi_find_task: aborting task 0xfff880008b5b680
    kernel: sas: sas_scsi_find_task: task 0xfff880008b5b680 is aborted
    kernel: sas: sas_eh_handle_sas_errors: task 0xfff880008b5b680 is aborted
    kernel: sas: trying to find task 0xffff8804606ccb40
    kernel: sas: sas_scsi_find_task: aborting task 0xffff8804606ccb40
    kernel: sas: sas_scsi_find_task: task 0xffff8804606ccb40 is aborted
    kernel: sas: sas_eh_handle_sas_errors: task 0xffff8804606ccb40 is aborted
    kernel: sas: ata7: end_device-0:0: cmd error handler
    kernel: sas: ata8: end_device-0:1: cmd error handler
    kernel: sas: ata7: end_device-0:0: dev error handler
    kernel: ata7.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    kernel: ata7.00: failed command: READ VERIFY SECTOR(S)
    kernel: ata7.00: cmd 40/00:01:00:00:00/00:00:00:00:00/e0 tag 11
    res 40/00:48:a0:79:88/00:00:07:00:00/40 Emask 0x4 (timeout)
    kernel: ata7.00: status { DRDY }
    kernel: ata7: hard resetting link
    kernel: sas: ata8: end_device-0:1: dev error handler
    kernel: ata8.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
    kernel: ata8.00: failed command: READ VERIFY SECTOR(S)
    kernel: ata8.00: cmd 40/00:01:00:00:00/00:00:00:00:00/e0 tag 11
    res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
    kernel: ata8.00: status { DRDY }
    kernel: ata8: hard resetting link
    This issue seems to be related to disk failures like bad sectors but I am quite sure, that my SSDs are in a good shape. I ran some SMART tests, they all turned out to be okay. Suspending from my dual-booted Windows works fine as well (although if the bad sector would be on the linux partition, it would probably not affect Windows).
    Here's my setup:
    $ lsblk -St
    NAME HCTL TYPE VENDOR MODEL REV TRAN NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED RQ-SIZE RA WSAME
    sda 1:0:0:0 disk ATA Corsair Force 3 2 sata sda 0 512 0 512 512 0 cfq 128 128 0B
    sdb 7:0:0:0 disk ST1000DM 003-9YN162 NDP3 usb sdb 0 512 0 512 512 1 cfq 128 128 0B
    sdc 0:0:0:0 disk ATA OCZ-REVODRIVE3 2.25 sas sdc 0 512 0 512 512 0 cfq 128 128 0B
    sdd 0:0:1:0 disk ATA OCZ-REVODRIVE3 2.25 sas sdd 0 512 0 512 512 0 cfq 128 128 0B
    sr0 2:0:0:0 rom TSSTcorp CDDVDW SH-222AL SB00 sata sr0 0 512 0 512 512 1 cfq 128 128 0B
    $ lsblk -f
    NAME FSTYPE LABEL UUID MOUNTPOINT
    sda
    ├─sda1 ntfs Recovery 567437B974379B27
    ├─sda2 vfat DC2D-099E /boot
    ├─sda3
    ├─sda4 ntfs FEBED982BED933BD
    ├─sda5 ext4 arch 41bad924-84a2-4e0a-9cd4-4ea723a2a5a3 /
    └─sda6 swap 793fb3c1-8bec-4023-a7c3-ee94eee2e67a [SWAP]
    sdb
    └─sdb1 ntfs HDDRIVE2GO 2212E50812E4E231
    sdc
    └─sdc1 linux_raid_member home:0 208937dc-2904-e71c-435a-9928671e07a3
    └─md0 ext4 revodrive ffe9d38f-87f2-44e1-ae26-f36c910af3c5 /home
    sdd
    └─sdd1 linux_raid_member home:0 208937dc-2904-e71c-435a-9928671e07a3
    └─md0 ext4 revodrive ffe9d38f-87f2-44e1-ae26-f36c910af3c5 /home
    I am not sure which one of the disks causes the freeze but I assume it's the revodrive because the logs talk about two drives. The Revodrive internally holds two drives, which are set up to operate in a RAID 0. Windows is installed on the Corsair drive, and has no access to the Revodrive. However, I used to run Windows on the Revodrive a few years ago, and it worked just fine.
    Another interesting thing is that when I try to test suspend to RAM, the system does not freeze, nor produce errors. This only happens if none is written to /sys/power/pm_test (which means no automated wake-up, no testing).
    Any ideas on how I could narrow down this issue? Thanks a lot!
    EDIT
    I just checked and confirmed that this issue is originating from the OCZ Revodrive:
    $ dmesg | grep ata7.00 | head
    [ 7.136432] ata7.00: ATA-8: OCZ-REVODRIVE3, 2.25, max UDMA/133
    [ 7.136436] ata7.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32)
    [ 7.146442] ata7.00: configured for UDMA/133
    $ dmesg | grep ata8.00 | head
    [ 7.310018] ata8.00: ATA-8: OCZ-REVODRIVE3, 2.25, max UDMA/133
    [ 7.310023] ata8.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32)
    [ 7.320022] ata8.00: configured for UDMA/133
    Last edited by tuttiarch (2015-01-31 15:54:29)

    Thank you for the link, unfortunally I don't have a NVIDIA card but use the Intel IGP (HD4600, Haswell) - maybe I should have mentioned that...
    And other than in this bug report I cannot kill X or anything because neither other TTYs work - I cannot input anything (although the hotkeys work weird enough) nor is SSHD running because the system is completely frozen...
    Very funny thing is that for the last 2 days my system didnt freeze once (suspended about 6-7 times during one boot), even though for the 2 weeks prior to that, it froze EVERY SINGLE TIME I resumed from suspend, it didnt work once...

  • Dell Inspiron 7537 - Sound only works after resuming from suspend

    Hello,
    So my sound does not work after boot, only once I resume from suspend. So, once I turn on my computer, and I load sound, nothing work (everything is unmuted in Alsa) - then if I suspend my computer and resume - the sound works every time.
    I use Alsa and here is my amixer output (before and after suspend is the same) :
    eric@archlinux ~> amixer
    Simple mixer control 'Master',0
    Capabilities: pvolume pswitch pswitch-joined
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 65536
    Mono:
    Front Left: Playback 5358 [8%] [off]
    Front Right: Playback 5358 [8%] [off]
    Simple mixer control 'Capture',0
    Capabilities: cvolume cswitch cswitch-joined
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 65536
    Front Left: Capture 11003 [17%] [on]
    Front Right: Capture 11003 [17%] [on]
    What gets rebooted when I do a suspend, but not when I reboot? Does not seem to make sense to me.
    Thanks.

    Is there any additional information I can include to help figure this out?

  • Desktop visible after resume (from suspend) and before screen is locke

    My desktop becomes visible for brief period (<1s) when the system resumes from suspended state. My desktop env. is XFCE4, it happens with both xscreensaver and gnome-screensaver (also with slimlock and i3lock), therefore I think it's not locker dependent. It's a major security flaw because sensitive information may be exposed (not just porn). Using both XFCE provided locking facilities (suspend/resume lock options in Power Manager and Session settings), and systemd suspend/resume hooks yields same result. I remember back then when I was using Gnome, I haven't had this issues. Does anyone have any idea how to prevent this desktop expose?

    Have you tried this --> https://wiki.archlinux.org/index.php/Pm … or_suspend ?

  • No sound in flash after resume from suspend (linux debian)

    Using 10.0.r42, iceweael and linux 2.6.32 kernel.
    If I close the lid on my HP laptop which causes it to suspend, and the resume from suspend, other audio playing programs work, but I cant get any sound from iceweasel/flash until I kill all instances of iceweasel and restart the web browser.
    Is this a bug that is tied to flash?

    What a coincidence, mine is also from scratch.
    Good question about how sound is handled. ldd libflashplayer.so doen't give an answer.
    So somehow xulrunner can catch the sound.
    Libxpcom is linked to libasound. components/libmozgnome.so to libesd in my case.
    Maybe you can try fuser /dev/snd/* to identify which process is locking the device.

  • Lync client cannot connect to Exchange Server when accessing from outside (Internet) - please HELP!

    Hello,
    I have full representation of the Lync 2010 from Outside (i.e. Internet), but I still have small issue related to Lync-to-Exchange integration. Clients who is using Lync client from outside (i.e. Internet) cannot see Exchange-related information including
    Call Logs, Voicemail and Calendar information.
    Here is the experience and error messages that anyone will see when connecting to Lync server from Outside:
    And this is the error message that will be displayed on Lync phone edition devices (a.g. Polycom CX-700) when connected from Internet:
    If somebody can suggest what I can try I would appreciate this very much. I do believe that many other people have this issue as well.
    Thanks!

    Hi, we had this issue and I ended up logging a MS support job. Turns out it was the TMG rule/Auth method causing the issue.
    Job details:
    **Symptom:
    Lync Client External User are not able to retrieve the EWS URL
    **Troubleshooting:
    • We found External users are not able to Retrieve the EWS information in the Lync Client .
    • We found the below error in the ETL logs.We found for EWS request we are getting the  401 response
    HTTP/1.1 401 Unauthorized ( The server requires authorization to fulfill the request. Access to the Web server is denied. Contact the server administrator.  )
    • TMG need pass through Authentication
    Public names are  autodiscover.domain.com and Outlook anywhere External FQDN  and paths are /ews/* and /autodiscover/*, OAB/*
    Users is All Users, and Delegation is "No delegation but client may authenticate directly" on the corresponding tabs of the publishing rule.
    This changes is required for Lync Client as Lync Client does not  work well with this BASIC authentication on TMG .
    • After  TMG engineer changed this settings in the TMG users are able to see EWS information.
    RELATED ARTICLES:
    Configure Certificates for Servers
    http://technet.microsoft.com/en-us/library/gg398995.aspx
    Associate a Subnet with a Network Site
    http://technet.microsoft.com/en-us/library/gg412804.aspx
    Deploy Office Web Apps Server
    http://technet.microsoft.com/en-us/library/jj219455.aspx
    Reset-CsPoolRegistrarState
    http://technet.microsoft.com/en-us/library/jj619172.aspx
    Manage Access Edge Configuration for Your Organization
    http://technet.microsoft.com/en-us/library/jj552443.aspx
    http://technet.microsoft.com/en-us/library/gg182549.aspx
    Edge Certificate
    http://technet.microsoft.com/en-us/library/gg398409.aspx
    Edge Deployment
    http://blogs.technet.com/b/nexthop/archive/2012/05/15/lync-server-2010-geographically-dispersed-edge-topology-part-1.aspx
    http://blog.schertz.name/2012/07/lync-edge-server-best-practices/
    http://blog.schertz.name/2012/04/lync-server-2010-deployment-part-4/
    http://technet.microsoft.com/en-us/library/gg425891.aspx
    http://blogs.technet.com/b/nexthop/archive/2010/11/17/microsoft-lync-server-2010-protocol-workloads-poster.aspx
    MRAS
    http://blogs.technet.com/b/dodeitte/archive/2012/06/22/issues-with-mras-and-limited-external-calling.aspx
    http://blogs.technet.com/b/ucedsg/archive/2011/05/09/what-can-you-tell-me-about-lync-security.aspx
    IIS ARR Configuration for  Lync 2013
    http://blogs.technet.com/b/nexthop/archive/2013/02/19/using-iis-arr-as-a-reverse-proxy-for-lync-server-2013.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/15893.iis-arr-url-rewrite-for-lync-2010-reverse-proxy.aspx
    Archiving Options in Lync Server 2013
    http://blogs.technet.com/b/dodeitte/archive/2013/04/24/archiving-options-in-lync-server-2013.aspx
    http://blogs.technet.com/b/dodeitte/archive/2013/06/02/sample-lync-server-archiving-report-available.aspx
    Microsoft Lync Server 2010 Resource Kit
    http://www.microsoft.com/en-us/download/details.aspx?id=22644
    Microsoft Lync Server 2013
    http://technet.microsoft.com/en-us/library/gg398616.aspx
    Microsoft Lync Server 2013 RTM Documentation
    http://blogs.technet.com/b/nexthop/archive/2012/10/24/microsoft-lync-server-2013-preview-rtm-documentation-now-available.aspx
    Release Notes for Lync Server 2013
    http://technet.microsoft.com/en-us/library/jj205120.aspx
    Integrating Exchange 2013 Preview and Lync Server 2013 Preview
    http://blogs.technet.com/b/nexthop/archive/2012/07/23/integrating-exchange-2013-preview-and-lync-server-2013-preview.aspx.
    Migration from Lync Server 2010 to Lync Server 2013
    http://technet.microsoft.com/en-us/library/jj205369.aspx
    Lync Online Resource
    http://www.microsoft.com/en-in/download/details.aspx?id=13602

  • 2012 r2 rds deployment cannot connect to sql server after reboot

    We have a ha connection broker setup with 2 connection brokers and everything was working fine up untill the servers were rebooted for updates. Now users cannot connect to thier collections and I have an error in the event log that the deployment could not
    connect to the sql database.
    at this point I am assume that the issue is related to security. I am able to query the database as admin from the effected servers and other services that use other databases in the same sql instance are no5 having issues.
    I have checked the security group that both cb servers should be in and they are in the group and the group has sysadmin and dbo within sql
    any ideas?
    Please remember to mark my replies as answers if they help

    Hi,
    Thank you for posting in Windows Server Forum.
    Can you please create the database manually with below command and verify.
    PS C:\> Set-RDConnectionBrokerHighAvailability –DatabaseConnectionString
     "DRIVER=SQL Server Native Client 11.0;SERVER=<SQL Server
     Name>;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;
    DATABASE=<DB Name>" -DatabaseFilePath "C:\DbFiles\<DbName>.mdf"
     -ClientAccessName "<DNS RR Name>"
    Grant DBO permissions to the service account on the RDS server and try to run your wizard again.
    More information.
    RD Connection Broker High Availability in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/06/27/rd-connection-broker-high-availability-in-windows-server-2012.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • After upgrading to 5.1 safari cannot connect to any server, after upgrading to 5.1 safari cannot connect to any server

    I have upgraded to safari 5.1 through auto update
    After restart the safari does not connect to any server saying it cannot find them
    other browsers such as Minefield work fine and the internet connection works fine
    The computer is connected via airport to a router, firewall is active.
    Safary 5.06 worked without any glitch
    any ideas?

    I have the same problem but im on Lion, All my web browsers seem to work perfect but not Safari. : (

  • Cannot connect to sql server after re installing IIS 6?

    I re installed IIS 6, after the restart i couldn't connect to sql server engine nor seeing it when using browse for me, i was trying to install team foundation server, at first it could see that i have an sql server running after re installing IIS it can't
    see it also. I'm using windows server 2003 SP2. Also i cannot remotely access it after the re installation  

    Just type the IP or name of the server (localhost) and try to connect.. SSRS 2005 requires IIS but how does it relate to SQL Server connection?
    What error are you getting? Make sure that SQL Server is running up.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Cannot connect to Itunes server after installing Itunes 7.5

    Help! After installing Itunes 7.5 I cannot connect to the Itunes store. I have a active internet connection but the error I get says the Network connection was refused. Anyone have any suggestions???

    I finally uninstalled 7.5 and reinstalled 7.4.3.1. After the first attempt to connect to the iTunes store I got the same error. I tried a 2nd time to connect to the store and this time it connected.
    7.5 is useless.

  • NetworkManager - no wired connection after resume from suspend

    As the title states, I'm having trouble getting a wired connection after suspend on my laptop. For reference, here is my card (using the r8168 driver):
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
    This is relevant journalctl output after wake-up:
    Jul 12 11:54:28 archbox NetworkManager[3825]: <info> (enp2s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
    Jul 12 11:54:28 archbox NetworkManager[3825]: <info> (enp2s0): link connected
    Jul 12 11:54:28 archbox kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
    Jul 12 11:54:28 archbox kernel: r8168: enp2s0: link up
    Jul 12 11:54:24 archbox kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): preparing device
    Jul 12 11:54:24 archbox dbus[286]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
    Jul 12 11:54:24 archbox dbus[286]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Jul 12 11:54:24 archbox kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> NetworkManager state is now DISCONNECTED
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): link disconnected
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> NetworkManager state is now CONNECTED_LOCAL
    Jul 12 11:54:24 archbox NetworkManager[285]: dhcpcd[1758]: enp2s0: deleting route to 192.168.0.0/24
    Jul 12 11:54:24 archbox NetworkManager[285]: dhcpcd[1758]: enp2s0: removing IP address 192.168.0.3/24
    Jul 12 11:54:24 archbox dhcpcd[1758]: enp2s0: deleting route to 192.168.0.0/24
    Jul 12 11:54:24 archbox dhcpcd[1758]: enp2s0: removing IP address 192.168.0.3/24
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> Removing DNS information from /usr/bin/resolvconf
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> startup complete
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): deactivating device (reason 'sleeping') [37]
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
    When I open up the Gnome system menu and try and enable wired connections again this is dumped to the journal
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): deactivating device (reason 'none') [0]
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 3 of 5 (IP Configure Start) complete.
    Jul 12 12:01:39 archbox NetworkManager[3825]: <warn> Activation (enp2s0) failed for connection 'enp2s0'
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): device state change: config -> ip-config (reason 'none') [50 70 0]
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 3 of 5 (IP Configure Start) started...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) complete.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 3 of 5 (IP Configure Start) scheduled.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) successful.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> (enp2s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) starting...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 1 of 5 (Device Prepare) complete.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) scheduled...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> (enp2s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 1 of 5 (Device Prepare) started...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) starting connection 'enp2s0'
    Similarly, running 'sudo systemctl restart NetworkManager' doens't help as I only get a wifi connection. Journal messages are pretty much the same as above. I'm trying to determine if this is a driver issue, but I don't see anything relevant in the journal. I've seen a couple of bugs on the Debian bug tracker https://bugs.debian.org/cgi-bin/bugrepo … bug=743206. That one appears to be solved as " network-manager 0.9.8.8-6".  I currently have 0.9.10.0-1.
    Interestingly, sometimes when I try and restart networkmanager from gnome's menu, I see
    dhcpcd[8545]: dhcpcd already running on pid 8330 (/run/dhcpcd-enp2s0.pid)
    After running 'sudo systemctl stop NetworkManager' followed by 'sudo killall dhcpcd' and 'sudo systemctl start NetworkManager' I get wifi but no wired connection. Anybody have any ideas?
    EDIT: Any suspicions against dhcpcd are unfounded as behavior using dhclient is not much better. After wake-up I apparently do have a wired connection, but pings to 8.8.8.8 and www.google.com both fail. Restart networkmanager using systemctl does not work as with dhcpcd. Stopping networkmanager, killing all dhclient processes and restarting networkmanager do restore my connection to the internet though. Sorry for my scatterbrained attempt at troubleshooting this. My difficulty here is pinpointing an exact sequence of steps that results in consistent behavior. So far, after waking from sleep any of my above attempts at getting a network connection have varying degrees of success and failure.
    Last edited by cris9288 (2014-07-12 19:20:28)

    As the title states, I'm having trouble getting a wired connection after suspend on my laptop. For reference, here is my card (using the r8168 driver):
    02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
    This is relevant journalctl output after wake-up:
    Jul 12 11:54:28 archbox NetworkManager[3825]: <info> (enp2s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
    Jul 12 11:54:28 archbox NetworkManager[3825]: <info> (enp2s0): link connected
    Jul 12 11:54:28 archbox kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
    Jul 12 11:54:28 archbox kernel: r8168: enp2s0: link up
    Jul 12 11:54:24 archbox kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): preparing device
    Jul 12 11:54:24 archbox dbus[286]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
    Jul 12 11:54:24 archbox dbus[286]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Jul 12 11:54:24 archbox kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> NetworkManager state is now DISCONNECTED
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): link disconnected
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> NetworkManager state is now CONNECTED_LOCAL
    Jul 12 11:54:24 archbox NetworkManager[285]: dhcpcd[1758]: enp2s0: deleting route to 192.168.0.0/24
    Jul 12 11:54:24 archbox NetworkManager[285]: dhcpcd[1758]: enp2s0: removing IP address 192.168.0.3/24
    Jul 12 11:54:24 archbox dhcpcd[1758]: enp2s0: deleting route to 192.168.0.0/24
    Jul 12 11:54:24 archbox dhcpcd[1758]: enp2s0: removing IP address 192.168.0.3/24
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> Removing DNS information from /usr/bin/resolvconf
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> startup complete
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): deactivating device (reason 'sleeping') [37]
    Jul 12 11:54:24 archbox NetworkManager[3825]: <info> (enp2s0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
    When I open up the Gnome system menu and try and enable wired connections again this is dumped to the journal
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): deactivating device (reason 'none') [0]
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 3 of 5 (IP Configure Start) complete.
    Jul 12 12:01:39 archbox NetworkManager[3825]: <warn> Activation (enp2s0) failed for connection 'enp2s0'
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
    Jul 12 12:01:39 archbox NetworkManager[3825]: <info> (enp2s0): device state change: config -> ip-config (reason 'none') [50 70 0]
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 3 of 5 (IP Configure Start) started...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) complete.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 3 of 5 (IP Configure Start) scheduled.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) successful.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> (enp2s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) starting...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 1 of 5 (Device Prepare) complete.
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 2 of 5 (Device Configure) scheduled...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> (enp2s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 1 of 5 (Device Prepare) started...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jul 12 12:01:38 archbox NetworkManager[3825]: <info> Activation (enp2s0) starting connection 'enp2s0'
    Similarly, running 'sudo systemctl restart NetworkManager' doens't help as I only get a wifi connection. Journal messages are pretty much the same as above. I'm trying to determine if this is a driver issue, but I don't see anything relevant in the journal. I've seen a couple of bugs on the Debian bug tracker https://bugs.debian.org/cgi-bin/bugrepo … bug=743206. That one appears to be solved as " network-manager 0.9.8.8-6".  I currently have 0.9.10.0-1.
    Interestingly, sometimes when I try and restart networkmanager from gnome's menu, I see
    dhcpcd[8545]: dhcpcd already running on pid 8330 (/run/dhcpcd-enp2s0.pid)
    After running 'sudo systemctl stop NetworkManager' followed by 'sudo killall dhcpcd' and 'sudo systemctl start NetworkManager' I get wifi but no wired connection. Anybody have any ideas?
    EDIT: Any suspicions against dhcpcd are unfounded as behavior using dhclient is not much better. After wake-up I apparently do have a wired connection, but pings to 8.8.8.8 and www.google.com both fail. Restart networkmanager using systemctl does not work as with dhcpcd. Stopping networkmanager, killing all dhclient processes and restarting networkmanager do restore my connection to the internet though. Sorry for my scatterbrained attempt at troubleshooting this. My difficulty here is pinpointing an exact sequence of steps that results in consistent behavior. So far, after waking from sleep any of my above attempts at getting a network connection have varying degrees of success and failure.
    Last edited by cris9288 (2014-07-12 19:20:28)

  • Firefox cannot open/reload any websites after resuming from a system standby. I have to close the current window and start a new session, then it works again

    I am using Firefox v 13.0.1 (Mozilla Firefox for Ubuntu canonical 1.0) on Ubuntu 12.04 LTS. Whenever my system resumes from standby I am not able to open/load any webpages in the Firefox session that was already running before the standby. I don't get any error message, but the page doesn't load at all. If I close the session and start a new one everything works fine.

    Not necessarily: rv:1.9.2.8 indicates a Firefox 3.6.8 version
    *Mozilla/5.0 (X11; Linux i686; rv:1.9.2.8) Gecko/20100722 Firefox/4.0.1
    You can check for a possibly corrupted user agent.
    See:
    *https://support.mozilla.org/kb/Finding+your+Firefox+version
    *https://support.mozilla.org/kb/websites-say-firefox-outdated-or-incompatible
    *http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

Maybe you are looking for

  • Error  in creation of customer master...

    Dear SAP masters, While creating customer master I am getting this error "Field KNVK-NAME1 does not exist in field status tables (TMOD*)".How can I resolve this?

  • AR CUSTOMER INTERFACE.

    Hi Users, I am new to AR customer Interface. I loaded some sample data in the below tables and run the concurrent request customer interface.But no data has been inserted in the base tables. Interface tables I used for conversion are below mentioned.

  • Command L no longer brings you to song currently playing

    I made the mistake of intalling ITunes 11.  Up until now, command L worked in any playlist to bring up the song currently playing.  A very handy tool if you have a lot of music.  Now with iTunes 11 it only works in the main Music list.  Command L doe

  • Headings in Bex Analyzer

    Hello Everyone, Is there anyway to have headings above key figures?       Sales        Income Net Gross Profit   Net Gross Profit I understand how to have Net Sales Gross Sales Profit Sales ..... What I want is to have a Heading above.  Is this possi

  • Tried to update Photoshop CC and Illustrator CC to CC (2014) - Installation failed with the following error message

    Exit Code: 6 Please see specific errors below for troubleshooting. For example, ERROR: -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 2 error(s) ----------- Payload: Microsoft Visual C++ 2012